Cloud bug

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Cloud bug

Postby Julfo » Mon Sep 07, 2009 9:47 pm

Yeah so..

I was busy making a rectangle travel at the speed of light, but it lagged terribly, SO... I pressed undo a few times until the rectangle was gone, and got this cool glitch:
Image

Anyway, as I was writing this Algodoo crashed. But never mind. It was a fun experience.

Any ideas why it happened?

-Julfo
http://www.imgbin.co.tv - Free image hosting with 10gb storage and 5gb bandwidth.

http://www.bonurl.eu - Free url shortener that produces urls 6 characters shorter than Tinyurl
Julfo
 
Posts: 50
Joined: Mon Aug 31, 2009 5:57 pm

Re: Cloud bug

Postby guyboy » Mon Sep 07, 2009 11:09 pm

Yeah I know what happened. Because of the extreme speeds you got extremely high position values on the X axis.
The values in phun are stored in "float" type variables, which are similar to scientific notation.
A float variable consists of a certain amount of digits, and an exponent exponent.
So when the values got high, the precision got lower because of the limited amount of digits.
So what happened is that the clouds' positions got inaccurate, and so the smallest difference in position was that huge step you see in between the columns.
User avatar
guyboy
 
Posts: 80
Joined: Mon Aug 31, 2009 6:19 pm
Location: Ḻ̘̬͕͍͚̥͈͚͖̝̜̲͕̭̩ͅ


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 4 guests