- Molts gràfics més
- [FIX] Els actors amb moviment no es movien.
This commit is contained in:
BIN
data/caixes.gif
BIN
data/caixes.gif
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
data/floor.gif
BIN
data/floor.gif
Binary file not shown.
|
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 467 B |
@@ -37,16 +37,6 @@ actor{
|
||||
size: 8 8 4
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 12 28 4
|
||||
size: 8 8 8
|
||||
flags: PUSHABLE GRAVITY
|
||||
}
|
||||
|
||||
actor{
|
||||
name: PLATFORM04
|
||||
bmp: test.gif
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
width: 2
|
||||
height: 2
|
||||
door-height-xp: 0
|
||||
door-height-yp: 0
|
||||
color: CYAN
|
||||
floor-texture: 0
|
||||
wall-texture: 0
|
||||
door-texture: 0
|
||||
floor-texture: 6
|
||||
wall-texture: 3
|
||||
door-texture: 1
|
||||
under-door-texture: 0
|
||||
exit-xp: 0
|
||||
exit-yp: 3
|
||||
|
||||
actor{
|
||||
name: BOX
|
||||
name: ARMARI01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 64 32 24 32
|
||||
bmp-offset: -8 36
|
||||
@@ -19,7 +21,7 @@ actor{
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX01
|
||||
name: ARMARI02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 32 24 32
|
||||
bmp-offset: -8 36
|
||||
@@ -29,41 +31,69 @@ actor{
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX02
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
name: TAULA01
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 128 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 24 0
|
||||
size: 8 8 8
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: TAULA02
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 32 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 32 0
|
||||
size: 8 8 8
|
||||
orient: YP
|
||||
flags: ORIENTABLE
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX03
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
name: TAULETA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 0 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 34 8
|
||||
size: 8 8 8
|
||||
pos: 24 8 0
|
||||
size: 8 8 5
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX04
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
name: TV
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 32 64 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 38 16
|
||||
size: 8 8 8
|
||||
pos: 24 7 5
|
||||
size: 8 5 8
|
||||
orient: XP
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX05
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
name: NES
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 96 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 8 40 24
|
||||
size: 8 8 8
|
||||
pos: 24 16 0
|
||||
size: 8 8 6
|
||||
flags: PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: ROOMBA
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 160 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 40 32 0
|
||||
size: 8 8 4
|
||||
orient: YP
|
||||
flags: MOVING
|
||||
movement: Y
|
||||
}
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
width: 2
|
||||
height: 1
|
||||
door-height-xn: 4
|
||||
door-height-yp: 0
|
||||
color: BLUE
|
||||
floor-texture: 1
|
||||
wall-texture: 2
|
||||
door-texture: 0
|
||||
under-door-texture: 0
|
||||
under-door-texture: 2
|
||||
exit-xn: 3
|
||||
exit-zp: 0
|
||||
|
||||
actor{
|
||||
name: BOX
|
||||
bmp: caixes.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 32 32 0
|
||||
size: 8 8 8
|
||||
flags: PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
|
||||
33
data/rooms/03.txt
Normal file
33
data/rooms/03.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
width: 1
|
||||
height: 2
|
||||
door-height-xp: 0
|
||||
door-height-yn: 4
|
||||
color: PURPLE
|
||||
floor-texture: 0
|
||||
wall-texture: 0
|
||||
door-texture: 0
|
||||
under-door-texture: 0
|
||||
exit-xp: 2
|
||||
exit-yn: 1
|
||||
|
||||
actor{
|
||||
name: BOX
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 32 32 0
|
||||
size: 8 8 8
|
||||
flags: PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
|
||||
actor{
|
||||
name: BOX01
|
||||
bmp: test.gif
|
||||
bmp-rect: 32 0 32 32
|
||||
bmp-offset: 0 32
|
||||
pos: 28 29 8
|
||||
size: 8 8 8
|
||||
flags: PUSHABLE GRAVITY
|
||||
movement: CW
|
||||
}
|
||||
@@ -162,6 +162,7 @@ namespace actor
|
||||
return t;
|
||||
}
|
||||
}
|
||||
if (t->flags&FLAG_MOVING) t->mov_push = t->orient;
|
||||
return t;
|
||||
}
|
||||
return nullptr;
|
||||
@@ -522,6 +523,7 @@ namespace actor
|
||||
|
||||
void updateMoving(actor_t *act)
|
||||
{
|
||||
if (act->flags&FLAG_MOVING && act->mov_push==0) act->mov_push = act->orient; // Per a activar-lo si no ho està
|
||||
act->push |= act->mov_push;
|
||||
}
|
||||
|
||||
|
||||
18
todo.txt
18
todo.txt
@@ -1,21 +1,23 @@
|
||||
- Gràfics per a la roomba
|
||||
- Més gràfics de caixes
|
||||
- Gràfics de piso, per a quan no hi ha piso
|
||||
x Gràfics per a la roomba
|
||||
- Fer la roomba mes xicoteta
|
||||
x Més gràfics de caixes
|
||||
x Gràfics de piso, per a quan no hi ha piso
|
||||
- Gràfics de barril, en foc
|
||||
- Gràfics de yonki
|
||||
- Gràfics de tele
|
||||
- Gràfics de armari
|
||||
- Gràfics de taula
|
||||
x Gràfics de tele
|
||||
x Gràfics de armari
|
||||
x Gràfics de taula
|
||||
- Grafics de cadires
|
||||
- Gràfics de conveyor belt
|
||||
- Gràfics de consoles i comps
|
||||
x Gràfics de consoles i comps
|
||||
|
||||
- Decidir objectes de habilitats
|
||||
- Motxilla, espardenyes...
|
||||
- Va a haber boosters? (mes rapid, immune, bot mes llarg...) Decidir
|
||||
- Decidir parts de escavadora
|
||||
|
||||
- Implementar eixides per dalt i per baix
|
||||
- Implementar eixides per dalt
|
||||
x Implementar eixides per baix
|
||||
- Implementar pickar objectes
|
||||
- Implementar inventari
|
||||
|
||||
|
||||
Reference in New Issue
Block a user