Page 2 of 2

Re: Teeworlds Randomness (wtf?)

Posted: Mon Oct 16, 2017 4:18 pm
by Im 'corneum
deen wrote: Mon Oct 16, 2017 3:38 pmIf I were starting a game like this from scratch, I would use a fixed maximum size for the map and use fixed point numbers with deterministic behaviour everywhere.
i thought you are... was it called hookrace or so?

Re: Teeworlds Randomness (wtf?)

Posted: Mon Oct 16, 2017 9:55 pm
by Chairn
Floating point is deterministic. It just depends on where you are. If your part is around a position like 32,64,128 or any power of 2, then the precision change and the rounding can differ.

What deen is talking about happened in Minecraft, it was called the Far lands. Game was totally broken if you'd go far enough (over 12 millions blocks away from the center).