Moving illusion
Hello,
I haven´t much experience with Gamesalad. I´m working on an endless game like Jetpack Joyride, but from top to down.
The difficulty will increase over time by spawning more enemies and getting faster over time.
But because my scrolling background isn´t that fast i wanted to use a very slow speed (about 10).
But how can i increase the speed of my main actor? The main actor should only move at the x-axis and not at the y-axis. There should spawn enemies outside the screen, some of them don't move and some will move. They have to be faster too.
I really don´t know how to set the speed higher while background is still at the same speed...
Hope you can help![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Thanks
I haven´t much experience with Gamesalad. I´m working on an endless game like Jetpack Joyride, but from top to down.
The difficulty will increase over time by spawning more enemies and getting faster over time.
But because my scrolling background isn´t that fast i wanted to use a very slow speed (about 10).
But how can i increase the speed of my main actor? The main actor should only move at the x-axis and not at the y-axis. There should spawn enemies outside the screen, some of them don't move and some will move. They have to be faster too.
I really don´t know how to set the speed higher while background is still at the same speed...
Hope you can help
![:) :)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/smile.png)
Thanks
Comments
You will have to increase speed of all actor and background simultaneously, otherwise it will look very odd.
I changed enemy attribute velocity to 300 + game.score/10
My game was scored in meters traveled, so every 100 meters the enemies speed would increase by 10. So they enemies speed gradually increase as you progress
Just realised your hero will move on x-axis but not y-axis.
In my sidescrolled the actor could only change y-axis and everything moved towards him and got faster over time
@wickedsunny
did you mean with simultaneously that i have to use the exact same speed for actors and background or that i have to increase the speed of the background relative to the actors (example: actor gets 50 faster and background 10)? When i use the same speed the background will repeat way too fast.
whats about the camera function? can i use an very small scrolling area to give the illusion that it is only moving at the x-axis? Or is it possible to use the camera only for one specific layer, so that only the enemies scroll faster but the background is still at the same (or a bit increasing faster) speed?
hope you understand my school english ^^
i think the moving is the biggest problem in my game...
Do you think this is a good solution and will work or look odd too?