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.initializeGrid();
|
||||||
|
|
||||||
this.snake = [
|
this.createGameObject(
|
||||||
this.createGameObject(
|
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
||||||
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
{
|
||||||
{
|
x : 4,
|
||||||
x : 4,
|
y : 4
|
||||||
y : 4
|
},
|
||||||
},
|
GameLib.CustomCode.ORIENTATION_UP
|
||||||
GameLib.CustomCode.ORIENTATION_UP
|
);
|
||||||
),
|
|
||||||
this.createGameObject(
|
this.createGameObject(
|
||||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||||
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
|
GameLib.CustomCode.BODY_TYPE_BREAD_TAIL,
|
||||||
{
|
{
|
||||||
x : 4,
|
x : 4,
|
||||||
y : 3
|
y : 3
|
||||||
},
|
},
|
||||||
GameLib.CustomCode.ORIENTATION_UP
|
GameLib.CustomCode.ORIENTATION_UP
|
||||||
)
|
);
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
//this.visualizeGrid();
|
//this.visualizeGrid();
|
||||||
|
|
Loading…
Reference in New Issue