Permalink
Switch branches/tags
Nothing to show
Commits on Mar 1, 2012
Commits on Jun 8, 2011
  1. Got cornering working, but he§s now bouncing on the horizontal straig…

    …hts. Code is very verbose, could be easily simplified
    jagregory committed Jun 8, 2011
  2. Got players to corner around blocks. Need to now make it so they only…

    … do it if they`re over half-way to one side
    jagregory committed Jun 8, 2011
  3. Reduced hit testing even further to only tiles that are touching the …

    …player, or immediately in front of them
    jagregory committed Jun 8, 2011
Commits on Jun 7, 2011
  1. Updated collision detection so it doesn't scan all tiles, instead it …

    …only scans the tiles adjacent to the player (9 max, depending on how the player intersects)
    jagregory committed Jun 7, 2011
Commits on Jun 6, 2011
Commits on Jun 5, 2011
  1. Merge branch 'master' of https://github.com/davidwhitney/KaboomJS int…

    …o davidwhitney-master
    
    Conflicts:
    	public/js/game/kaboom.renderer.js
    	public/levelTest.htm
    committed Jun 5, 2011
  2. Minor perf tweaks to gameloop. Players were being repositioned even i…

    …f they weren't moving.
    jagregory committed Jun 5, 2011
  3. Got collision detection working in the right direction now, just need…

    … to make it less strict.
    jagregory committed Jun 5, 2011
  4. Trying to track down issues with client-side animation/loop - but fir…

    …st need to fix line endings. Yuck.
    committed Jun 5, 2011
  5. Implemented a local loopback socket client, so you don't need a live …

    …node.js server running to debug animation & collisision detection client code
    committed Jun 5, 2011
  6. Merge branch 'master' of github.com:dylanbeattie/KaboomJS

    Conflicts:
    	public/js/game/client.js
    	public/js/game/kaboom.socket.js
    	server.js
    committed Jun 5, 2011
  7. Merge remote-tracking branch 'robhawkes/master'

    Conflicts:
    	public/js/game/client.js
    jagregory committed Jun 5, 2011
  8. Started refactoring hit detection. Made it messier so far. Introduced…

    … Rects and Points, and created a getBounds func on player and tile, then we can do an intersection between the player rect and the surrounding tiles. Works currently, but it's overly strict and counts too many tiles.
    
    Also added hit detection debugging assistants in the form of bounding box and intersection display. In client.js, add showBoundingBoxes: true to the Renderer initialisation opts. Like so:
    
    var renderer = new KaboomRenderer({
      arena: $('#arena'),
      playerLayer: $('#playerLayer'),
      holding: $('#holding'),
      game: game,
      showBoundingBoxes: true
    });
    
    I will clean all this up once I've had some sleep :)
    jagregory committed Jun 5, 2011
Commits on Jun 4, 2011
  1. Merge pull request #31 from stucampbell/master

    Fixed scrolling problem
    jagregory committed Jun 4, 2011
  2. Corrected key handling

    Stuart Campbell committed Jun 4, 2011
  3. Fixed scrolling problem

    Stuart Campbell committed Jun 4, 2011
  4. Merge pull request #29 from mrRiley/master

    Transparent PNG white sprites
    jagregory committed Jun 4, 2011
  5. Merge pull request #30 from palfrey/improved-collision-detection

    Improved collision detection
    jagregory committed Jun 4, 2011