Besiege

Besiege

Not enough ratings
Multiplication Core 乘法核心
   
Award
Favorite
Favorited
Unfavorite
Types: Levels
File Size
Posted
Updated
757.027 KB
23 Mar, 2021 @ 8:25am
5 Aug, 2021 @ 2:52am
12 Change Notes ( view )

Subscribe to download
Multiplication Core 乘法核心

In 2 collections by Nice Name
Nice Name Science
116 items
Logic Systems
12 items
Description
Using only one block to run, Multiplication Core is a level logic system that allows you to multiply 2 variables easily, instantaneously, and without any lag.
乘法核心是一個能讓使用者輕鬆操作、不會當機且能瞬間完成計算的變數乘法工具,且只需一個方塊就能運作。

*****DO NOT OPEN THE LOGIC PAGE OF THE CUBE IT WILL DESTROY YOUR GAME*****
*****不 要 打 開 方 塊 的 邏 輯 頁 面 它 會 炸 了 你 的 遊 戲*****

To input the numbers (i ≠0):
若要輸入變數 (i ≠0)
Variable "i = -16383~16383", Multiplication Core
Variable "i = -16383~16383", Multiplication Core
Yes they share a same VarName. The product of the multiplication could not reach over 16,777,215, and it will not output "0" as the multiplication product.
沒錯它們共用一個變數。乘積臨界值為16,777,215,且不會輸出「0」。

Once the 2 variables are inputted, the calculation will automatically start.
兩變數一旦輸入,計算就會直接開始。

To output the answer as variable:
Variable "= =1", Multiplication Core
Without the "=" input, the answer won't be outputted.

The default output variable name is:
預設的乘積輸出變數為:
Variable "o =(product 乘積)"

To keep the answer for further use:
Variable "keep =1", Multiplication Core

To call back the kept answer into calculation:
Variable "return =1", Multiplication Core

Exampls:
On Level Start
 Variable "keep =1", Multiplication Core
 Variable "i =10", Multiplication Core
 Variable "i =20", Multiplication Core
 Variable "= =1", Multiplication Core
 Variable "return =1", Multiplication Core
 Variable "i =30", Multiplication Core

keep: 10 * 20 = 200
output: (return '200') * 30 = 6000

The output is "o = 6000"

How it work? 運作原理
  1. Convert the input variables into binary data.
    將輸入的變數轉為二進位資料。

  2. Use the binary data to multiply the two variables.
    用二進位資料將兩變數相乘。

    (left click and open image in new tab. 右鍵用新分頁開啟圖片)

  3. Convert the binary product into decimal output.
    將二進位的乘積以十進位的格式輸出。

Logic overview is not 100% up to date and is subject to practicality.
邏輯總覽非最新版本,所有邏輯皆以實品為主。

210627 UPDATE
Fixed bugs, added default reset event so user no longer needs to reset the system manually.
修正了一些錯誤,並加了預設重置邏輯來讓玩家無須再手動重置系統。

210629 UPDATE
Updated the logics so that Multiplication Core is now capable of process negative variables. (ex: 99*-99 = -9801)
更新了乘法核心,現在可以處理負數了。(例:99*-99 =-9801)

210630 UPDATE
Updated the logics so that Multiplication Core is now capable of processing larger variables.
更新了乘法核心,現在可以處理更大的變數了。

210709 UPDATE
Removed the need of the starting logic "start +0".
移除了啟動邏輯「start +0」。

210805 UPDATA 更新
Added the "keep" and "return" function.
增添了「keep」和「return」功能。