finepointcgi / FinepointCGI-Suggestions

MIT License
4 stars 0 forks source link

2D Endless runner (like the DIno game) (C# / GDScript) #36

Open eweninja opened 1 year ago

eweninja commented 1 year ago

This suggestion can be a small series for recreating game like chrome://dino - endless runner with simple controls (e.x. dodge and jump) and with random generated obstacles.

If suggestion will better fit in standalone video, then it can cover just random gen aspect and spawning->moving->freeing obstacles. If it'll better fit as a series then:

  1. Showcase: showing end result with topics which are going to be covered.
  2. Scene setup: simple ground sprite, simple two obstacles (for example box and bird), start button.
  3. Player setup: sprite, jumping
  4. All about obstacles: creating instances, adding movement, as a starting point it can be simple spawning one obstacle every timer.timeout singal.
  5. Features: we have player, simple obstacles and start button, so now we can detect collisions and make some logic for game over/restart/score.
  6. Random generations of obstacles: Let's now add some replayability and randomness to game. We can add something like increasing obstacles speed multiplier, taking random element from array of obstacles, setting random timer values, etc.

As of number of needed assets is minimal you can just grab for example:

And we can have simple and fun example of Halloween game for the future. 😉

You can also export HTML version and host it on your website, because it should be small.