PDA

View Full Version : Problem with the Dragon Eggs -tutorial



MogwaiX
10-01-2008, 10:57 AM
First: Congratulations on a great software. :)

I'm not sure if this is a bug or a problem in the tutorial code, but....

I've done the tutorial in to the point where the eggs are scattered (The heart of the game - Dragon Eggs). Now, every time I collect an egg, the program quits.

It does tell the amount of eggs still in play, and the -poof-, the program quits.
Sooooo, any idea what's the problem?


I'm using a G4 mac.

I just tried the version that is dowloadable on the site. It has the same problem. Hmmmmmm....

I found the "bug". Apparently, if scaling is set to 0.1 and 0.1 or 0.2 and 0.2, the program crashes. 0.3 works fine.

This works fine:

this:GetBrainManager():Add("Scale", "scalex=0.3;scaley=0.3;scale_speed_ms=500;delete_en tity=true");

This does not:

this:GetBrainManager():Add("Scale", "scalex=0.1;scaley=0.1;scale_speed_ms=500;delete_en tity=true");

Seth
10-01-2008, 10:58 PM
Thanks! Will check it out and fix. Weird that this would only be in the Mac build.

Seth
10-02-2008, 01:28 AM
Update: I found the bug, new versions have been released for all platforms. Scale away!