Gabriel-Gravin / Teamwork

Platform jump game
MIT License
0 stars 0 forks source link

Overview of platform spawnpoints | Teamwork Game! #9

Open jellinki opened 9 months ago

jellinki commented 9 months ago

The platforms in the beginning of the game used to spawn extremely frequently and all around the screen; if the player abandoned the game for some time, this would result in the screen completely filling up with platforms. I have changed it since; now, there will always be a platform within jump range of the player so that they don't fall, but they also don't spawn too close or too quickly. I used tracking mechanisms so that the platform knows not to spawn too close to the player and I also increased the seconds between each platform spawn so that there aren't too many spawning at a time.