Teeworlds Randomness (wtf?)

Share and discuss skins, mapres, artworks and logos.
Im 'corneum
Posts: 1052
Joined: Thu Oct 30, 2014 4:58 pm
Clan: ☭birming

Re: Teeworlds Randomness (wtf?)

Post 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?
reply to this post or your mom will die in her sleep tonight
Chairn
Posts: 400
Joined: Sat Apr 11, 2015 5:05 pm
Player profile: http://ddnet.tw/players/Chairn/
Clan: QuintessenZ

Re: Teeworlds Randomness (wtf?)

Post 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).
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests