Games from Nothing: Group Game #2 — Airship

I’m really enjoying coding Inversion because each time I run the code, I feel the difference in play from the tweaking I do. Initially, I had the player (square) move around freely while the enemies (triangles) did the same.


Then I had the enemies chase the player while the mouse was pressed. I thought I’d make barriers, and the objective would be to make enemies run into them and destroy themselves.

sk4 sk3

I changed my mind. The enemies chase the player UNTIL the mouse is pressed, however, while the mouse is pressed, an obstacle rises from the bottom of the screen. Right now, I’m working on collision, as well as different positioning of the growing obstacle, perhaps coming from a different side of the screen. I’m also thinking about adding particles once I’ve coded the collisions.