I am currently working on a Gui for my Platformer but what i have jumps around or is slower than the camera movement.
in my Gui update event have this
public function GUI(x:Number=0, y:Number=0)
{
graphic = new Image(Button);
}
override public function update():void
{
x = FP.camera.x + FP.screen.width/2;
y = FP.camera.y + FP.screen.height/2;
}
any way for it to move more smoothly?