UPC School Game Development Project
Game Description
Map tiles and character sprites art are from Open Art, both free without copyright. This game has been developed for game developement subject by Carles Margelí and Roger Sanchez in 2017. The game main goal is to reach the end of the levels collecting as many bananas as possible and trying to achieve a high score. In the way, the player will find three diferent types of trolls and some anoying flyes that will try to kill you. The player will have five hearts or health points. Once those hearts are over, the player will die and lose his current puntuation and bananas. Also there is a time conuter in the UI. When pressing escape ingame, the user will go to a pause menu. This is an extra innovation to the game. Killing enemies and picking bananas gives points. Every 100 points the player will recover an extra life. There is a main menu with credits with a link to the repository, and settings with music and FX volume handler. Two diferent levels with increasing dificulty.
Tips
- For the gameplay, a useful key is left shift, wich makes the kinght run.
- Jump above the enemies to kill them.
- Get points to recover hearts.
Team members
The code has been developed by both of the team members, so has the music and audio effect, art research and map and general game design. The base code used is from Game Developement Subject in the UPC.
Our Characters
- The Kinght
- The Trolls
Innovation
- Loading the enemies from Tiled.
- Loading animations from XML.
- In-game pause menu with functional buttons (Resume, Restart, Save, Menu & Exit).
- Sword cursor.
New Features
- After a 100 points, the character gets one extra heart.
- New enemies (Two new trolls).
- Winning scene at the end of level 2.
- Player UI(Hearts, time, pick-ups, points).
- Fullscreen.
- Main menu with buttons (Play, Continue, Settings, Credits, Exit).
- Music and sound effects volume regulation.
- UML for UI.
- Fixed enemies problems (Fly size).
- Link to the repository from ingame.
Features
- Two levels.
- Save and load.
- Moving character with jump and run habilities.
- Parallax effect.
- Music.
- Additional feature is double jump.
- Animations loaded from XML as innovation.
- Full live-die cicle.
- Points and maximum points.
- Walking enemies (Trolls).
- Flying enemies (Flyes).
- Pathfinding (A*) for enemies AI.
- Sound effects.
- FPS handler.
- Pick-ups.
- Despawn of the enemies.
- Enemies can be killed by jumping above them.
Controlls
- “ESC” to exit the game from the menu.
- “ESC” to acces the pause menu from the game.
- “M” to go back to the menu.
- “ASWD” or “LEFT,DOWN,UP,RIGHT” arrows to move the character.
- “SPACE” bar to jump. Press it twice and you’ll get a double jump.
- “LEFT SHIFT” key to sprint.
- “F1” to start from the very first level.
- “F2” to start from the beginning of the current level.
- “F5” to save the current state.
- “F6” to load the previous state.
- “F8” to show colliders and enemie’s path to the player.
- “F9” to acble and disable god mode.
- “F11” to cap FPS to 30.
License
MIT License
Copyright (c) [2017] [Roger Sanchez & Carles Margeli]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.