Inspiration

Hollywood movies about pirates and shooter games

What it does

A short single-player game where you play as a pirate ship fighting against the royal navy and looking for treasure. To win you must destroy the five enemies and find the treasure in under 30 seconds or you lose. You have 3 health points. Your ship follows your mouse pointer. To stop the ship press the spacebar. To move the ship again, press the spacebar a second time. To shoot from the nose, click the right button on your mouse. To shoot from the sides press "A" and "D". A new map is generated using the binary tree algorithm each time the game is restarted. Good luck!

How we built it

Using the Godot engine and GDScript.

Challenges we ran into

I was new to Godot so I had to figure lots of stuff on the fly. Creating the bots and coding their behavior was the greatest challenge. Another was coding the behavior of the cannonballs shot by the ships as there were three distinct possible actions (hitting the player ship, hitting the enemy ship, hitting the wall of the labyrinth). Another problem was making it so a new random map was always generated each time the game restarted.

Accomplishments that we're proud of

Making the bots and the automatic map generation. Map generation was done using an algorithm derived from the binary tree algorithm.

What we learned

Learned to work with Godot.

What's next for PirateVsRoyalNavy

Making distinct levels of difficulty. Better animation and graphics (for example leaving traces behind each moving ship as if they were moving through water). Making better bots (they sometimes get stuck in the corners instead of relentlessly pursuing the player character).

Built With

  • gdscript
  • godot
Share this project:

Updates