- Portes almost completades

This commit is contained in:
2023-06-03 11:12:37 +02:00
parent ac824e9588
commit 5ee23cb000
4 changed files with 55 additions and 35 deletions

View File

@@ -16,9 +16,9 @@ void game::init()
draw::loadPalette("test.gif");
game::setUpdateTicks(64);
room::load(2,0);
room::load(3,3);
box = actor::create({16,16,0}, {8,8,4}, {64,0,32,24}, {0,24});
box = actor::create({16,32,0}, {8,8,4}, {64,0,32,24}, {0,24});
box->flags = FLAG_MOVING;
box->movement = MOV_Z;
box->mov_push = PUSH_ZP;
@@ -30,7 +30,7 @@ void game::init()
box->mov_push = PUSH_XN;
actor::setDirty(box, true);
box = actor::create({16,16,8}, {8,8,12}, {0,32,20,32}, {-6,38});
box = actor::create({16,32,8}, {8,8,12}, {0,32,20,32}, {-6,38});
box->flags = FLAG_HERO | FLAG_PUSHABLE | FLAG_GRAVITY | FLAG_ORIENTABLE | FLAG_ANIMATED;
actor::setDirty(box, true);