summaryrefslogtreecommitdiff
path: root/game/states/preload.js
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@entelect.co.za>2014-05-14 12:18:39 +0200
committerJustin Worthe <justin.worthe@entelect.co.za>2014-05-14 12:18:39 +0200
commit98e5b9470fdc102765a289078b3967e3d94fcae0 (patch)
treecd5436269ce5a40486b0b4fc039f62cb49959dcb /game/states/preload.js
parenta5ab29fd2d015f2db65d8062d2bb23222859b6d1 (diff)
Added pill to the world and set object anchors to their center
re #4
Diffstat (limited to 'game/states/preload.js')
-rw-r--r--game/states/preload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/states/preload.js b/game/states/preload.js
index 7154c8f..906be3f 100644
--- a/game/states/preload.js
+++ b/game/states/preload.js
@@ -14,6 +14,7 @@ Preload.prototype = {
this.load.setPreloadSprite(this.asset);
this.load.image('wall', 'assets/images/wall.svg');
this.load.image('player-a', 'assets/images/player-a.svg');
+ this.load.image('pill', 'assets/images/pill.svg');
},
create: function() {
this.asset.cropEnabled = false;