Close #7 and Close #6 : Player can now steal from AI and it increases their score

This commit is contained in:
2014-06-29 12:13:02 -07:00
parent a7eb935f54
commit d23d9969f7
4 changed files with 45 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ function setSpriteMovement(spr, velocity)
velocity = ( typeof velocity == undefined ? velocity : [SPEED_WALKING,
SPEED_RUNNING] );
spr.body.setSize(16, 16, 8, 16);
//spr.body.setSize(16, 16, 8, 16);
if ( hasState(spr, STATE_RUNNING) ) {
if ( velocity !== false )