Permalink
Commits on Jul 7, 2012
  1. Make canvas and background image fit the viewport as reported by wind…

    dmose committed Jul 7, 2012
    …ow.innerHeight/Width
  2. Fix webapp manifest to point to the gh-pages path for this game, not …

    dmose committed Jul 7, 2012
    …the template default
Commits on Jul 6, 2012
  1. Merge pull request #17 from dperit/twitter-collision-fix

    dperit committed Jul 6, 2012
    Twitter collision fix
    r=dmose
  2. Merge pull request #15 from dperit/heroAndMonsterOffsetFix

    dmose committed Jul 6, 2012
    Made the monster and hero draw centered around their positions, r=dmose
  3. Merge pull request #14 from dperit/twitter-goblins

    dmose committed Jul 6, 2012
    Goblin images pulled from Twitter, r=paired by dperit/dmose.
  4. Merge remote-tracking branch 'upstream/develop' into betterReset

    dperit committed Jul 6, 2012
    Conflicts:
    	www/js/app.js
  5. Stopped the player's position from resetting when the kill a monster,…

    dperit committed Jul 6, 2012
    … prevented the monster from spawning within a minimum distance of the player
  6. The game now will randomly select one of a set of twitter avatar imag…

    dperit committed Jul 6, 2012
    …es to use as the monster (defaulting to the goblin if the images aren't loaded yet or can't be loaded)
    
    Renamed monsterImage to goblinImage
  7. Merge pull request #13 from dperit/loadableImage

    dmose committed Jul 6, 2012
    Made a LoadableImage class in prep for a bunch of twitter images. r=paired with me
  8. Made a LoadableImage class that encapsulates the ready on load functi…

    dperit committed Jul 6, 2012
    …onality of images in preparation for having lots of images in the new twitter world,
    
    updated existing code to use new image syntax
  9. Merge pull request #12 from alankligman/enemy-bullets

    modeswitch committed Jul 6, 2012
    make enemy move and shoot randomly
  10. Made JSON request to twitter work properly, replace monster image wit…

    dperit committed Jul 6, 2012
    …h the first image url returned from twitter
  11. Merge pull request #11 from alankligman/collision-detection

    dmose committed Jul 6, 2012
    Bullet collision detection; thanks to ack for the patch. r=dmose, conditional on a subsequent patch that calculates the x and y of the AABBs rather than hardcoding them.
  12. Merge pull request #10 from alankligman/collision-detection

    modeswitch committed Jul 6, 2012
    Added function to test for collisions.
  13. Merge pull request #9 from dperit/bulletOffsetFix

    modeswitch committed Jul 6, 2012
    Offset the location where the bullet is drawn so that the center of the ...
  14. Merge pull request #8 from dperit/moveSpeedFix

    modeswitch committed Jul 6, 2012
    Prevented the player from moving faster on a diagonal than they can othe...
  15. Offset the location where the bullet is drawn so that the center of t…

    dperit committed Jul 6, 2012
    …he bullet hits the aim point rather than the top left corner
  16. Merge pull request #7 from dmose/bullets2

    modeswitch committed Jul 6, 2012
    Bullets2
  17. Load and draw the bullet image; hoist the font setting for the score …

    dmose committed Jul 6, 2012
    …into reset from the render loop for perf
  18. Load and draw the bullet image; hoist the font setting for the score …

    dmose committed Jul 6, 2012
    …into reset from the render loop for perf