- Pareix que PER FI la ordenació es 100% correcta! HURRA!!

This commit is contained in:
2023-03-08 20:01:38 +01:00
parent a9cafc7c76
commit 82fc3f3c98
4 changed files with 25 additions and 18 deletions

View File

@@ -16,23 +16,20 @@ void game::init()
game::setUpdateTicks(64);
box = actor::create({16,16,0}, {8,8,4}, {64,0,32,24}, {0,24});
box->flags = FLAG_MOVING;// | FLAG_PUSHABLE;
box->flags = FLAG_MOVING;
box->movement = MOV_Z;
box->mov_push = PUSH_ZP;
actor::setDirty(box, true);
actor::insert(box);
box = actor::create({32,32,16}, {8,8,8}, {32,0,32,32}, {0,32});
box->flags = FLAG_PUSHABLE | FLAG_GRAVITY;
box->movement = MOV_CW;
box->mov_push = PUSH_XN;
actor::setDirty(box, true);
actor::insert(box);
box = actor::create({16,16,8}, {8,8,8}, {0,32,20,32}, {-6,38});
box = actor::create({16,16,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);
actor::insert(box);
actor::reorder();
}