Using the base project provided by Udacity, I added new functionality to create a 2d javascript/html game similar to the classic arcade game "Frogger".
This project resides at: https://github.com/lglaves/arcade-game
03/01/17 5:05pm EST
- Download the zip file to your computer and unzip in any convenient location.
- Open the Project Folder, and run index.html in your web browser of choice.
- This game is only designed to be played on Desktop, Laptop, iPad Pro and iPad (no Mobile yet)
- Move the playing character by pressing the arrow keys on your keyboard Up, Down, Left or Right.
- Pause the game by pressing the space key, but note that this will not pause the countdown timer.
To win Level 1: 400 points wins. You have 60 seconds to complete Level 1. Advance playing character to the water tiles to gain points.
- You have 60 seconds to complete Level 1. 400 points will take you to a Level 2 Game.
- Colliding with a bug causes you to lose 50 points, and be returned to start row.
- Reaching the water gives you an extra 50 points, and returns your character to start row.
- In Level 2 you gain 50 points for catching a gem and 100 points for catching a heart.
- In Level 2 you lose 50 points for bug collisions.
Udacity provided the game loop engine and 2d assets.
Credit for Sounds: www.freesound.org
- Title: Uselogic, Inc. - frogger source code
- Author: Leslie Glaves
- Date: Sept 2016
- Code version: 1.0
- Availability: https://lbethg@bitbucket.org/lbethg/frogger.git
- Window Reload from Server
- Use local storage to persist scores
- Implement a timer
- Random number generator
- Chrome Canary
- Chrome
- Firefox
- Internet Explorer 11 -- no game sounds, only audio loop plays
- Edge -- no player, no game play (maybe debug this another day)
- Safari
- HTML5 Canvas is created in engine.js
- Reference for responsive canvas: Mobiforge