Step 4

Enemy Wall Collision

Next let’s add the following code to destroy our enemies when they touch the edge of the screen.

The dark blue/gray block can be found in Scene.

Enemy Player Collision

Lastly, let’s add code for the enemy to collide with the player.

After this, your core game is complete! What are some others things you can think of adding to further improve this game?