Hi i am trying to make a “first-person” Runner game ,But i Don’t know how to get him to run endlessly
So can someone help me out on figuring that out.Thanks.
Bonus Question
U know how Temple Run is supposedly Endless?
It’s not likely You can beat it,Would i have to make a level so Long that it would take someone like 20 hours to beat it
Or is there a way i can make it legit endless?
Well what I do for my runner games and what I think is pretty common is to actually have the player not move at all, and have a spawner that randomly generates obstacles and environments that move. So it appears that the player is moving but in reality everything else is moving. This way you can infinitely spawn and delete stuff.
Yeah ,But there are gonna be allot of corners and jumps and stuff so i Don’t know if that plan will work
I though of a basic system, where if you where to swipe left/right and the your on one of the turning pieces (using oncollision enter and checking it’s tag), the player (or level if your going that way) with turn.
In the 16-bit era of Atari ST, Amiga, SNES and Genesis all** driving games faked the movement through the environment by moving the environment around the player, not the other way around. It was just mathematically and logically easier to do that. I haven’t had occasion to write a temple run style game yet, but I’ve worked on other games that have “infinite environment” and so that would be the way I would approach the solution: the player stands still and the environment moves around them.
Learn to disconnect what you see on screen with what is going on in the game. It is one of the most valuable lessons you will learn as a game programmer when you sit down to technically analyse what someone else has done.
** almost all.