Tracking screen
SLOCM3Z
Member Posts: 797
How do I make a screen move with my character? I want it so that it will follow the player and keep lives on the screen. Demo anyone? Thanks
Comments
Demo as requested:
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Add the behaviour 'control camera' inside your actor that you want the scene to follow and adjust the camera 'tracking height and width' in the scene options. If you set height and width of tracking to 0, it will move instantly with the actor. If its bigger, it will wait till the actor reaches the tracking 'square' before the camera moves.
Create a new layer in the scene options and untick scrollable. Put anything in this layer that you want on the screen forever (health bar/buttons to move/etc.)
Also as a side note i highly recommend using the Mac version of GS.
Thanks guys!
I have Windows 8
Is it true that I can't put games on iPhone if I don't have Mac?
You need a real physical Mac to publish, unfortunately.
That really is the pits
Cause I see thousands of people using iPhones
Just borrow a Mac from someone for like 20 minutes and put your game on a USB, then publish it.
You can also do it online. Theres websites that allow you to use real Macs, through team viewer or something.
http://www.macincloud.com
That's cool. Never thought like that. Haven't really made a game yet though either. But thanks for that idea!
Okay, here is my game(gonna add art). How do I make my character see-able when I get into the upper section? If I change the scene size my character will shrink into a rectangle. How would I make him able to get higher?
Place a Control Camera behaviour on him.
Please don't create multiple threads for the same issue. I've merged your two threads.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks. But they aren't the same thread
I got the camera to follow him but I can't get him into the top part
What are you using to move your character ?
?
I didn't understand that. Please re-say
I am using change attribute linear.Velocity.y
I am using 'accelerate' as gravity. 'Change Attribute : linear.Velocity.y = 400'
Excuse my bad foruming. I'm new
And are you able to say what happen when you hit preview ?
Yah, the game plays and I can jump, but it disappears when I jump over the top line.
You may need make your scene larger, I can't tell by your screen shot. Did you follow the tutorial I posted above? That shows what you need to do...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
here is what happens in game
Here is what happens
You can edit an existing post (for a short time) by clicking on the gear icon at the top-right of that post and choosing Edit.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Okay! Got it to follow player! But it isn't smooth like on @jamie_c's video! I think it might be a glitch