-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Igor Bragaia edited this page Apr 27, 2018
·
5 revisions
Worms-like game developed for the first bimester project of the ITA's object oriented programming course CES-22.
This project depends on:
-
make run: Executes the python script of the game. -
make mypy: Runs the mypy static type checker into the codebase. -
make install: Install thefruitspackages. Normally not necessary.
Also are defined the build, full-build and debug tasks for compiling purposes, but the compiling process is still buggy.
To run the game, simply use make run into the root of the repository, this will execute the
fruits-game.py script with the appropriate flags configured.
- Use the arrow keys to move the selected fruit. A fruit may only be moved in a jumpy mood. Use 'SPACE' to jump.
- Use
TABto switch between fruits of the same team. - Use
Xto equip bomb. Note that you can't move while the bomb is equipped. - Use
Cto exit launching mode. - Click with the mouse as to deploy the bomb in a given direction when in launching mode.
- Use
Qto switch teams. - Use
Wto go to the main menu.
- Fruits, Terrain, Menu Buttons belong to Game Object class which have different components like meshs or colliders. To make a game object drawable, just instantiate this and register such Game Object on the World Object and it will be drawn and updated at each game frame.