Skip to content

2D Platformer that utilizes genetic algorithms, inverse kinematics, A* and flexible level design with splines and tiles.

Notifications You must be signed in to change notification settings

JurisMajors/The-Ghost-Of-The-Ninja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game logo

Watch the trailer here: https://youtu.be/y6DaoWH9sGQ

======

In the provided zip you will find two jar files, one for windows and one for linux, and a src directory. The src directory contains all our resources. To run the game type java -jar platformer_linux.jar (if you are running linux).

Game controls

You can move the the player left and right with the a and the d key respectively. Press space to jump, and press enter to attack in the direction you are currently facing. Holding shift while walking causes you to move slightly.

When walking over a totem you will see a popup with the controls available to spawn the ghosts. The popup looks as follows

ghostcontrols

In short the controls are:

  • C for challanging, costs no score.
  • H for regular help. He simply shows where to go (100 score)
  • G for carry help. He carries you with him (500 score)

For testing purposes, we also added -free flag so that these helpers cost no score.

Starting level

When you spawn in the game you start in a beginner level which has an exit to all the levels in the game. Walk into one of those levels to start playing.

AI Training

We have added a live training feature to our program. You can see live training of an AI with or without GUI. To enable this feature, you must use the -train flag. If you choose the -nogui flag, no rendering will happend and it will apply multi-threading.

If you use the -trainhelp flag, then you can see all possible parameter changes that you can make for training (mutation, population etc.)

Other

For seeing other options (not including AI params) that you have, use the -help flag.

Enjoy !!!!

About

2D Platformer that utilizes genetic algorithms, inverse kinematics, A* and flexible level design with splines and tiles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published