warning zone pour les spike
This commit is contained in:
parent
3dcc91a2df
commit
918142545d
BIN
assets save/krita/warning_spike.kra
Normal file
BIN
assets save/krita/warning_spike.kra
Normal file
Binary file not shown.
BIN
assets/story/boss_fight/warning_spike.png
Normal file
BIN
assets/story/boss_fight/warning_spike.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -357,6 +357,18 @@ def __create_spike(world: World, time: float):
|
||||||
TODO
|
TODO
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
temp_warning_spike = world.new_entity()
|
||||||
|
temp_warning_spike.set(
|
||||||
|
Sprite(
|
||||||
|
world[Assets].get_texture("warning_spike"),
|
||||||
|
Vec2(world[FightBox].p1[0], world[FightBox].p1[1]),
|
||||||
|
3,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
yield wait(2.0)
|
||||||
|
temp_warning_spike.destroy()
|
||||||
|
|
||||||
top_spike = world.new_entity()
|
top_spike = world.new_entity()
|
||||||
top_spike.set(
|
top_spike.set(
|
||||||
Sprite(
|
Sprite(
|
||||||
|
|
Loading…
Reference in a new issue