- Task;
- Brief introduction;
- How to run this application;
- New skills applied from the Module;
- Required features;
- Additional features;
- Images Credits;
- Sounds Credits;
- License.
The student is provided of visual assets and a game loop engine. Using these tools is needed to add a number of entities to the game including the player characters and enemies to recreate the classic arcade game Frogger.
- Practice object-oriented programming.
In this game you have a Player and a few Enemies. The goal of the player is to reach the top, without colliding into any one of the enemies. The player can move left, right, up and down by the arrow keys. The enemies move in varying speeds on their portion of the scene.
Once the player collides with an enemy, the player looses 1 life and moves back to the start square. Once the player reaches the top the game 1 life and 50 points are added. The game is won with 5 visits to the top, if so points are multiplied by lives saved.
To run this app is it possible either:
- Visit this link;
- Download the gitHub folder on the desktop and launch the index.html file.
- Player can not move off screen;
- Enemies cross the screen;
- Enemy-player collision resets the game;
- Modifies to engine.js to render scores, lifes, counter;
- New graphic for player, enemy, score, lives, counter;
- Music effects;
- Bonus points if the game is won;
- A counter to show how many lap to win;
- Bonus life each new lap.
-
Canvas blocks from Udacity;
-
Other images from: http://www.iconarchive.com/
no attribution required, for personal use.
My alterations to files:
- If needed exported to PNG format;
- Rearranged size;
Sound effects from: https://freesound.org
no attribution required, for personal use.
My alterations to files:
- Changed filenames to organize sounds;
- Converted in mp3;
- Cutted out silence from some files.
MIT License
Copyright (c) 2018 Cristiano Zitarosa
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.