Empezando con los actores y polimorfismo. Ya pinta la plataforma movil
This commit is contained in:
10
data/actors/moving_platform.ani
Normal file
10
data/actors/moving_platform.ani
Normal file
@@ -0,0 +1,10 @@
|
||||
frames_per_row=1
|
||||
frame_width=16
|
||||
frame_height=8
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
speed=8
|
||||
loop=0
|
||||
frames=0
|
||||
[/animation]
|
||||
BIN
data/actors/moving_platform.png
Normal file
BIN
data/actors/moving_platform.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 151 B |
@@ -11,32 +11,21 @@ room_right=02.map
|
||||
01.tmx
|
||||
[/tilemap]
|
||||
|
||||
[enemy]
|
||||
tileset=walking_eye.png
|
||||
animation=walking_eye.ani
|
||||
[actors]
|
||||
|
||||
[moving platform]
|
||||
tileset=moving_platform.png
|
||||
animation=moving_platform.ani
|
||||
width=16
|
||||
height=16
|
||||
x=11
|
||||
y=17
|
||||
height=8
|
||||
x=9
|
||||
y=11
|
||||
vx=0.3
|
||||
vy=0
|
||||
x1=11
|
||||
y1=17
|
||||
x1=9
|
||||
y1=11
|
||||
x2=15
|
||||
y2=17
|
||||
[/enemy]
|
||||
y2=11
|
||||
[/moving platform]
|
||||
|
||||
[enemy]
|
||||
tileset=flying_eye_horn.png
|
||||
animation=flying_eye_horn.ani
|
||||
width=16
|
||||
height=16
|
||||
x=20
|
||||
y=8
|
||||
vx=0.7
|
||||
vy=0
|
||||
x1=5
|
||||
y1=8
|
||||
x2=33
|
||||
y2=8
|
||||
[/enemy]
|
||||
[/actors]
|
||||
@@ -9,34 +9,4 @@ room_right=0
|
||||
|
||||
[tilemap]
|
||||
02.tmx
|
||||
[/tilemap]
|
||||
|
||||
[enemy]
|
||||
tileset=flying_eye.png
|
||||
animation=flying_eye.ani
|
||||
width=16
|
||||
height=16
|
||||
x=18
|
||||
y=11
|
||||
vx=0
|
||||
vy=0.5
|
||||
x1=18
|
||||
y1=11
|
||||
x2=18
|
||||
y2=17
|
||||
[/enemy]
|
||||
|
||||
[enemy]
|
||||
tileset=flying_eye_horn.png
|
||||
animation=flying_eye_horn.ani
|
||||
width=16
|
||||
height=16
|
||||
x=21
|
||||
y=11
|
||||
vx=0
|
||||
vy=0.7
|
||||
x1=21
|
||||
y1=11
|
||||
x2=21
|
||||
y2=17
|
||||
[/enemy]
|
||||
[/tilemap]
|
||||
Reference in New Issue
Block a user