Commits

Author Commit Message Labels Comments Date
Pedro Ferreira
- use html for the main menu (instead of drawing in the canvas) - mines go away after some time
Pedro Ferreira
- fix bullets not being aligned (rotated) when fired - fix rockets not well centered (body/shape)
Pedro Ferreira
- remove bullets when out of bounds
Pedro Ferreira
- add physics body to EnemyKamikaze and use box2d to control its behaviour (with linear velocity), following the ship
Pedro Ferreira
- fix number of bullets left not showing
Pedro Ferreira
- fix not being able to shoot in all directions (was hitting the main ship)
Pedro Ferreira
- remove old code related to collision detection
Pedro Ferreira
- use box2d for the collision detection: - between the main ship and an enemy - main ship and an enemy bullet - an enemy and an ally bullet - rename .damageTaken() to .tookDamage() of EnemyShip (to be similar to the rest) - add a property to the weapons, to tell how much damage they give
Pedro Ferreira
- fire the bullets with impulses on the body (instead of having to move them 'manually') - reduce sniper bullets width
Pedro Ferreira
- fix not being able to click in the canvas (z-index) - add physics body to bullets (laser)
Pedro Ferreira
- fix rotation of the main ship
Pedro Ferreira
- add functions to get the x and y position from an Enemy - add function to rotate an Enemy - fix enemies not reappearing in the other side of the window (as they pass the limits of the window) - add physics body to EnemyRocks and EnemyRotateAround
Pedro Ferreira
- add physics body to EnemyMoveHorizontally - use a .moveTo() function to move an enemy (instead of changing directly the x/y) - rename Ship's .position() to .moveTo()
Pedro Ferreira
- start adding the box2d physics engine - add debug canvas for box2d physics - remove createjs.Container from Ship (don't inherit) - add physics body to Ship
Pedro Ferreira
- simplify load of maps (remove repeated code)
drk
- update to manifest version 2 (chrome app)
Pedro Ferreira
- update libraries (createjs and jquery) - add createjs namespace (now its required)
drk
- add a new level - add message when the game ends
drk
- add a message in the beginning of each level - trying to have it with a transition (tweenjs)
drk
- only add the .tick() of Maps once the levels are all loaded
drk
- have a initGame() function for both game modes (common code) - first level working
drk
- have a separate animation for the MainMenu entries (to be able to bind the onClick event)
drk
- continue working on having two separate modes - have a .tick() for each game mode - fix being able to fire bullets when returning to the MainMenu (calling from the GameMenu) -- had to unbind the .onMouseDown event
drk
- add a BitmapAnimation for the MainMenu - have two modes: endless mode (what we have so far), and the normal mode with levels (still not done)
Pedro Ferreira
- fix GameMenu sometimes not opening correctly - clear which keys are held and restarting or returning from the game menu
Pedro Ferreira
- rename the Bullets class to Weapons - load createjs library from local files (be able to work without net)
Pedro Ferreira
- fix reset of the increase of difficulty when restarting the game - fix weapon2, call .damageTaken() and not .remove() directly
Pedro Ferreira
- add license - add readme
Pedro Ferreira
- new bitmap animation for EnemyMoveHorizontally
Pedro Ferreira
- rocks separate in 3 when take damage
  1. Prev
  2. Next