O'Reilly logo

HTML5 Game Development HOTSHOT by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hotshot challenges

There is room to improve the game and make the game more enjoyable:

  • We have only two different movement speed levels in this game. If you want more depth in the game, you can add more layers that move at different speed levels.
  • Now we have only two lanes; the player is running either on the left or right lane. That makes the game a little boring. How about making the runway wider with four lanes?
  • Having a game score encourages the player to repeat the game to achieve a better score. It also adds competition between different players. We can create a game score that increases based on the timer, or how many obstacles the player can pass.
  • We have a variable to count how many rounds a user plays in the game. This can also be an indicator ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required