Joystick vs Camera problem
MrDoodle
Member Posts: 12
Hi there,
I'm new to gamesalad, but i do like it a lot. I'm trying to make some simple games now, but i'm really stuck on this one.
I made a boat that you can control by a simple joystick. The boat is also the object that uses the "Camara control" behavior. Now is the problem... if the boat moves out of the "start" screen, the joystick doesn't move with it, so it leaves your screen.
I think it's quite important to keep the joystick in the screen haha, so i would like to ask you guys if there is a way to stick it to the camera.
Thanks for your time!
I'm new to gamesalad, but i do like it a lot. I'm trying to make some simple games now, but i'm really stuck on this one.
I made a boat that you can control by a simple joystick. The boat is also the object that uses the "Camara control" behavior. Now is the problem... if the boat moves out of the "start" screen, the joystick doesn't move with it, so it leaves your screen.
I think it's quite important to keep the joystick in the screen haha, so i would like to ask you guys if there is a way to stick it to the camera.
Thanks for your time!
Comments
Here's the link:
http://gamesalad.com/game/play/71697
On the left side, under Scene, is where you can add new layers and set the Scene attributes.
Uncheck 'scrollable'
Then put other stuff, like your player, in a separate layer called 'moving' - have the 'scrollable' box ticked.
Make sure all your hud stuff are in the bottom left screen in your scene (or the one furthest to the left if your scene isn't bigger height wise than 320)
Hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
I didn't know about the layer feature, but i think i'm going to use that quite a lot haha.
Thnx guys!
/high fives FMG
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
http://gamesalad.com/game/play/71697