/HonoursProject

Repo for my honours project.

Primary LanguageGDScript

HonoursProject

Repo for my honours project.

The focus is on how AI is made and used in games and the project is a Godot game which is a top down wave based shooter. It has two modes:

  1. Individual based AI, where each enemy decides on their own goals by themselves and has their own needs and wants.
  2. Squad based AI, where the enemies can join squads of enemies on the fly and the squad then decides on what the group of enemies should do.

License for Godot https://godotengine.org/license

Instructions to Modify and Adapt the Code

You should first install the Godot Engine. This is a free open source engine with a very small footprint. The pen drives supplied have a copy of Godot 3.1 the most recent stable build at this time (29/04/2019). Once the engine is opened you can "Import" the project. Choose the file within this folder called "project.godot" and it will open up the project for you. Allowing you to adjust scenes and look at scripts in the context of the game.

If you want to interact with Godot the official docs do a wonderful job of explaining it https://docs.godotengine.org/en/3.1/index.html. A quick tutorial though is you can play the game within the editor by pressing the full face arrow at the top right of the editor to play the game from the starting scene. The arrow inside the the film clapper board takes you to play the scene. Most scenes created can't be played on there own as they have references to other nodes needed in the main maps. The Map scene and the SquadMap scene are the individual and the squad mode scenes respectively.