I'm doing a vertical scrolling shooter, I'm using the huge layout/ scroll to/ move scroller object with bullet method.
I basically took this from the Space Blaster example. In this very same example the player sticks to the background i.e. if you don't move him, he will move gradually towards the lower end of the screen.
To compensate this and to keep him in place like in every arcade shooter I add a value to the player's Y-position per tick, I use
Player: Set Y to Player.Y - (Scroller.Bullet.Speed / 60)
I had assumed the tick frequency to be 60, which seems to be correct.
Now this whole contraption *sort of* works, but not 100% correctly. I get a periodic micro-jitter of ~1 pixel sometimes, which I assume is a rounding problem somewhere.
So.... how to do this correctly (and keep it relative to the Bullet-speed of the Scroller object which I might need to alter the scrolling speed)?
Others seem to have done it, the Project Blaze Zero shooter looks 100% in sync to me