I've been trying to figure out how I want to generate my terrain and make my guy run through it, and the first idea I had was the old Starship game method, which would be to have my guy run on the spot and have the terrain just move under him. This didn't work so well because I wouldn't find a good method to move the floor consistently in C2. It started generating gaps between my tiles.
The second way was I had generated a static level, and have my guy run through it, when he reaches the end of the level, it teleports him back to the start and regenerates the level. The problem is, the game is a endless runner / shooter game, and having my platform character actually run, has affected the accuracy of my bullets because they shoot where it was a moment ago, and not relative to his running speed.
How would you solve either of these problems? In theory? or example.
Would be very appreciative of any help!