For the view, you have two ways.
The first would be making the player parent of view.
The second way is having a Draw Event in view with a code like this:
- Code: Select all
view.x=player.x-(???)
replace the (???) by half the X size of your game. Ex: If your game is 480 x320, your X size is 480. 480 / 2 =240 so the code is this:
- Code: Select all
view.x=player.x-240
Then for the the tool bar, just make it child of the view.