You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can position the button in create() of the FlxState. I can move it around in update() via velocity and acceleration.
I can not reposition it in update() by setting x and y anew. While a trace() shows that the variable is set, it does not change the position of button on the state.
I helped myself by "button.reset(newX,button.y);", but this is only valid as long the y variable is in sync with the actual position.
The text was updated successfully, but these errors were encountered:
I can position the button in create() of the FlxState. I can move it around in update() via velocity and acceleration.
I can not reposition it in update() by setting x and y anew. While a trace() shows that the variable is set, it does not change the position of button on the state.
I helped myself by "button.reset(newX,button.y);", but this is only valid as long the y variable is in sync with the actual position.
The text was updated successfully, but these errors were encountered: