need help with control camera
I'm trying to make a game where the player stays in the middle but can walk.
I also want to scene to be infinite.
so I want to make something where the player stays in the middle but when you press <- you move to the left but also stays in the middle (background moves to ->)
I also want to scene to be infinite.
so I want to make something where the player stays in the middle but when you press <- you move to the left but also stays in the middle (background moves to ->)
Comments
It sound like you are trying to create an endless runner.
There is a demo here you might learn from
http://www.deepblueapps.com/gs-taptap-runner/ although it costs 1,30$
But i think you can swing that
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Move actor
because now the player does move but I want the player to stay in the middle
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
http://www.spelert.nl/denk/Ontsnappen/Fiets-Ontsnapping/
but I still dont know how to keep the player in the middle of the screen.
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Use the arrow keys to move the white block around.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
I have a little camera control tutorial at my site that covers this same subject:
http://www.jamie-cross.net/?portfolio=gamesalad-recipe-005-making-your-platform-game-level-scroll-camera-scrolling
It's in the context of a platform game, but the camera adjustment concepts are the same regardless of game type.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Instead of moving your player, like I did, you'd need to move all your other elements, background, enemies, obstacles, etc. and spawn them as they are too appear on screen. This is how a lot of endless runners work.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮