Particle Problems

BlitzMax Forums/BlitzMax Beginners Area/Particle Problems

Matt,

It's still a good idea to explicitly mark floats in your code as floats to help avoid forehead-smackers:

Global i:float

i#=0.5


is better than

Global i:float

i=0.5


I reiterate this because if 0.5 isn't moving things along but 1.0 is, I'm about 85% certain that the root of the problem is that the 0.5 is being converted to an integer at some point in your calculations, probably by performing arithmetic against an integer.