Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Mar 1, 2012
Commits on Jun 8, 2011
  1. @jagregory

    Got cornering working, but he§s now bouncing on the horizontal straig…

    jagregory authored
    …hts. Code is very verbose, could be easily simplified
  2. @jagregory

    Got players to corner around blocks. Need to now make it so they only…

    jagregory authored
    … do it if they`re over half-way to one side
  3. @jagregory

    Reduced hit testing even further to only tiles that are touching the …

    jagregory authored
    …player, or immediately in front of them
Commits on Jun 7, 2011
  1. @jagregory

    Updated collision detection so it doesn't scan all tiles, instead it …

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

    authored
    …o davidwhitney-master
    
    Conflicts:
    	public/js/game/kaboom.renderer.js
    	public/levelTest.htm
  2. @jagregory
  3. @jagregory
  4. @jagregory
  5. @jagregory
  6. Trying to track down issues with client-side animation/loop - but fir…

    authored
    …st need to fix line endings. Yuck.
  7. Implemented a local loopback socket client, so you don't need a live …

    authored
    …node.js server running to debug animation & collisision detection client code
  8. Merge branch 'master' of github.com:dylanbeattie/KaboomJS

    authored
    Conflicts:
    	public/js/game/client.js
    	public/js/game/kaboom.socket.js
    	server.js
  9. @jagregory

    Merge remote-tracking branch 'robhawkes/master'

    jagregory authored
    Conflicts:
    	public/js/game/client.js
  10. @jagregory

    Started refactoring hit detection. Made it messier so far. Introduced…

    jagregory authored
    … 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 :)
Commits on Jun 4, 2011
  1. @jagregory

    Merge pull request #31 from stucampbell/master

    jagregory authored
    Fixed scrolling problem
  2. @robhawkes
  3. Corrected key handling

    Stuart Campbell authored
  4. @robhawkes
  5. @robhawkes
  6. Fixed scrolling problem

    Stuart Campbell authored
  7. @jagregory

    Merge pull request #29 from mrRiley/master

    jagregory authored
    Transparent PNG white sprites
  8. @jagregory

    Merge pull request #30 from palfrey/improved-collision-detection

    jagregory authored
    Improved collision detection
Something went wrong with that request. Please try again.