any ideas why this isnt working...

BlitzMax Forums/BlitzMax Beginners Area/any ideas why this isnt working...

DREAM(Posted 2008) [#1]


its supposed to make a number of streaks offset between 0and -88000 in the y direction up, kinda lazy way to offset and gradually speed up the numbers of the streaks on screen....it works in blitz3d...

anyway, now all the instances in the Tlist streaks seem to have the same x and y values, even though i am going through them one at a time and updating them, if they go off the bottom of the screen then then get put back up between -10 and -180 and their x get changed to a random position based on screen width.....they are all going to the same x and y from what i can see


plash(Posted 2008) [#2]
Global x:Float, y:Float, sp:Float, f:Int

Needs to be
Field x:Float, y:Float, sp:Float, f:Int



DREAM(Posted 2008) [#3]
i knew it was something simple....thanks....i think that is the trouble when you try and adapt some other piece of code....doh......thanks heaps again...