endless runner platform overlapping with previous platform
Cybertouch
Member, PRO Posts: 31
Hi everyone!
im currently making a new endless runner game. so far i got the background to scroll flawlessly (no pixel gaps)
and now im working with the platforms. i have made them the size of 320x320, so far i have 6 of those, i have changed their motion linear to -10 and make a move rule for the speed, and direction of 180, but they seem to overlap each other badly, so bad that one platform will completly overlap another its as though they dont know what order they are meant to scroll in..... i cant figure out why??
any help would be greatly appreciated.
im trying the method where the platforms move towards the actor so it looks like he or she is running.
im currently making a new endless runner game. so far i got the background to scroll flawlessly (no pixel gaps)
and now im working with the platforms. i have made them the size of 320x320, so far i have 6 of those, i have changed their motion linear to -10 and make a move rule for the speed, and direction of 180, but they seem to overlap each other badly, so bad that one platform will completly overlap another its as though they dont know what order they are meant to scroll in..... i cant figure out why??
any help would be greatly appreciated.
im trying the method where the platforms move towards the actor so it looks like he or she is running.
Comments
http://www.jamie-cross.net/?portfolio=gamesalad-endless-runner-overview
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
the difference with my platform, is that it starts, already on the screen, so my little character has something to run on, im willing to send you my game if its easier??
change attribute self.position.x to 2880
this works!! BUT the platform cuts off before the end of the graphic has scrolled across, but it continues again from the beginning... does this mean that gamesalad wont accept an image this width? (2880) or am i missing something??
ps.. Jamie, youve been so helpful btw!! always love your support. !
For example if you have a platform that is re-spawning itself and that platform is 100 pixels wide. In your spawn behavior you'd need to spawn the next platform 100 pixels to the right from the current platforms location. There would be no gap in this case.
If you wanted a 50 pixel gap between platforms you would spawn the next platform 150 pixels from the current platforms location, and so on.
Hope that makes sense.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Your help is truly appreciated.... I cant thank you enough man!
here is a sneak peak preview piccy of what your helping me with =D
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
btw. your notes and how you named everything was a HUGE help to me, since im a very "laymen's" type of person....
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
It's late here tonight, I'll look at it in the AM tomorrow.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
-Andrew stumbled upon a problem with his space shooter.
Situation is fairly easy to describe;
-Gun-bottom, Moving enemies above.
-Player controls crosshairs to aim and shoot the moving enemies.
-Enemies are set to "Collide" when ALL of this happens -If Collide/overlap with shot, + Collide/overlap with crosshairs. Destroy this Actor
The enemies however does not get destroyed or react what so ever
As always your help is VERY much appreciated.
-It seems Changing size of a character while in gameplay "Breaks" the collision function unless you resize width & height with a timer to get the effect desired...
Well all good and thanks anyway !!
I believe if you are using Interpolate that breaks collisions.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page