Game programming using Javascript, React, Canvas2D and CSS – Part 3 (Final part)

In Part 2 I showed you how to add game objects and draw them to the canvas, how to handle game-state and how to move the player around. In this final part, we will allow the player and invaders to shoot each other, add a simple high-score and a GameOver-screen. Adding bullets To get started, Read more about Game programming using Javascript, React, Canvas2D and CSS – Part 3 (Final part)[…]

Game programming using Javascript, React, Canvas2D and CSS – Part 2

In the last post we set up our react-app, added an InputManager class to handle user input and added a first component to render a title-screen. In this part, we will implement state management to switch from the title screen to the playing-screen, add a player-controlled ship-class and finally some invaders for the player to Read more about Game programming using Javascript, React, Canvas2D and CSS – Part 2[…]