#3 : Hunting behavior partially implemented, character wanders around inside a box looking for the player. Needs to stop/turn, and for some reason the state never ends.

This commit is contained in:
2014-06-26 07:54:27 -07:00
parent 26c0ceb1ed
commit b1587926ab
3 changed files with 28 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
var pathfinder = null;
var pathfinder_grid = null;
var game = new Phaser.Game(640, 480, Phaser.AUTO, '');
var game = new Phaser.Game(SCREEN_WIDTH, SCREEN_HEIGHT, Phaser.AUTO, '');
game.state.add('boot', Boot, false);
game.state.add('preloader', Preloader, false);