Page 1 of 1

[Beginner] Make Touchbuttons follow the camera

PostPosted: Thu 12 Apr 2018, 14:40
by Ethael
Hi all,
i know this is a simple question, but how do i make touchbuttons follow the view of the camera? I want to create a platformer game for android first. All the resources shall be self made in this game, and i started an empty project.
My problem is, when i'm moving the player with "center camera on object" the touchbuttons aren't moving with the cam. I didn't found the right event for it, would be nice if you can help me ;)
I already used the search function of the forum, but i didn't found the topic.
Greetings
Ethael (Alex)

Re: [Beginner] Make Touchbuttons follow the camera

PostPosted: Thu 12 Apr 2018, 15:05
by Lizard-13
Put the buttons in another layer, for example create a new layer "Buttons", place it above the base layer and add your buttons objects on it :)

Re: [Beginner] Make Touchbuttons follow the camera

PostPosted: Thu 12 Apr 2018, 15:23
by Ethael
Hey thanks ;)
Easy and fast done, now i know a bit more.