Sorry for late reply. The infinite platform generation is just an illusion in the game. The player is actually fixed and can only move left or right. The blocks are being spawned and are moving towards the player. There are 5 points for spawning blocks and random function is used to set a point where block is not spawned. I hope that helps in your game.
vader_47
1
Posts
1
Followers
A member registered Mar 02, 2020 · View creator page →