Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
TT Number to Binary FAST
   
奖励
收藏
已收藏
取消收藏
标签: v0.1.30
文件大小
发表于
142.143 KB
2018 年 4 月 28 日 上午 5:17
1 项改动说明 ( 查看 )

订阅以下载
TT Number to Binary FAST

描述
I'm certain this is the FASTEST technique for number to binary in the game!

My MK1 computer used a technique where each modulo result cascaded into the next and each compared the result with a less than gate. So it always took number of bits + 1 ticks to complete.

This method each bit is calculated INDEPENDANTLY, with no cascade. So regardless of the number of bits, this will always take ONLY 3 TICKS to get to the answer!

this makes it possible for players to make up to a number to 24 bit conversion in only 3 ticks, as the number built into the game can handle 24 bits of integer data. (25 bits is possible if using the number sign but will increase ticks to 4 as an ABS gate would be needed)

I hope this knowledge is useful for budding creators out there. Took me far too long to work out the way to streamline this!
1 条留言
АнальныйЧебурген 2 月 6 日 上午 11:21 
Yo, amazing