At the moment, I'd say our game is too easy. As a result, we'll be covering how to make our enemies harder in two ways:
By spawning them more quickly over time
By increasing their velocity over time
We'll also be adding functionality that allows an enemy to end the game if they touch our player directly. You'll learn a bit more about spawn timers and how to affect object properties based on special events.
00:00 Spawn enemies more quickly over time
06:42 Increase grid velocity on bounce
08:31 Kill player on touch
hey, so i keep getting this error
main.js:610 Uncaught TypeError: Cannot read properties of undefined (reading 'x') and it seems to highlight this line as the culprit
invader.position.x - bomb.position.x,
ive tried everything to work it out and i even put in the source code from git hub but still receiving the same error is there anything i can do?