I am making a scrolling game,but when the sprites start to move too fast gaps forms between them.Any hints? anybody?
when gf clicked go to front go back [4] layers forever if < (x position) = [-462] > set x to [440] end
when gf clicked forever point in direction [-90] move <[0.1] * (m/h)> steps end
Offline
Oh yes i forgot there are two of these sprites one behind the other
Offline
I would like it to go past that speed limit
Offline
Maybe have only one 'main' sprite running the calculations, and define all the other sprites positions in relation to that main sprite.
If the main sprite were called "Sprite 1", then only Sprite 1 would have those scripts you posted, as well as a forever block that sets a variable called 'Sprite 1 X Postion' to, well - you can guess! The other sprites would have codes like: forever - set x to ('Sprite 1 X position' + distance from that sprite to this one).
Offline