The Dink Network

Today I Messed Around With sp_speed();

August 12th 2013, 08:14 PM
wizardg.gif
For brain 9 sprites:

Anything above speed 83 will crash the game.
At speed 83 the sprite will disappear.
At speed 82 the sprite will make a quick jolt and then change its sequence. The sequence it changes to will play through then stop. Almost as if it had a seq die, leave frame brain.
At speeds 77-81 the sprite will make a quick jolt before stoping.
At speed 76 the sprite will move off screen and never return.
At speed 75 the sprite will be normal, well minus being incredibly fast.

I've set brain 16 and brain 6 sprites at speed 10,000 and they don't crash the game. They don't however feel any faster than how they were at speed 100. Brain 6 doesn't feel any faster than it did at speed 20. I expect brain 16 can't actually move faster than speed 75.

A brain 10 sprite will start running into problems past speed 50.

The Duck and Pig brains seem to follow the same sort of rule brain 16 follows. As in after a certain value the sprite stops getting faster no matter how high the value set is.

Brain 12 and Missile brains follow the same rule brain 6 does.

YAY KNOWLEDGE!
August 13th 2013, 05:18 AM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
That's some interesting data! ... For when I might... Need it? Although the missile speed data is useful.
August 13th 2013, 05:26 AM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Thank you leprochaun, saves me the time messing around with it myself.

I will try out your values and compare the results later.
August 13th 2013, 09:22 PM
knightg.gif
DackFight
Peasant He/Him United States
Making Topics off-track faster then you can say it 
nice to know if I ever want to make very fast sprites, though I don't think there will be many.

Edit: I just messed with a duck brain speed by putting in 1 and a bunch of 0's, it turned to 4294967295 when I looked back and the duck walked backwards off the screen, seth is hiding some information.
August 13th 2013, 09:28 PM
wizardg.gif
4294967295
is the max number any variable can be.
-4294967295 is the lowest.
August 14th 2013, 01:03 AM
knightg.gif
DackFight
Peasant He/Him United States
Making Topics off-track faster then you can say it 
nice to know, but it really doesn't do much else then the duck moonwalking away.