Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 264 bytes modified
parent
e39f0b6d18
commit
723c7d7ec7
|
@ -949,26 +949,25 @@ GameLib.Event.Subscribe(
|
|||
|
||||
this.initializeGrid();
|
||||
|
||||
this.snake = [
|
||||
this.createGameObject(
|
||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
||||
{
|
||||
x : 4,
|
||||
y : 4
|
||||
},
|
||||
GameLib.CustomCode.ORIENTATION_UP
|
||||
),
|
||||
this.createGameObject(
|
||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
||||
{
|
||||
x : 4,
|
||||
y : 3
|
||||
},
|
||||
GameLib.CustomCode.ORIENTATION_UP
|
||||
)
|
||||
];
|
||||
this.createGameObject(
|
||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
||||
{
|
||||
x : 4,
|
||||
y : 4
|
||||
},
|
||||
GameLib.CustomCode.ORIENTATION_UP
|
||||
);
|
||||
|
||||
this.createGameObject(
|
||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||
GameLib.CustomCode.BODY_TYPE_BREAD_TAIL,
|
||||
{
|
||||
x : 4,
|
||||
y : 3
|
||||
},
|
||||
GameLib.CustomCode.ORIENTATION_UP
|
||||
);
|
||||
|
||||
|
||||
//this.visualizeGrid();
|
||||
|
|
Loading…
Reference in New Issue