warning zone pour les spike

This commit is contained in:
CoCo_Sol 2023-11-05 00:19:15 +01:00
parent 3dcc91a2df
commit 918142545d
3 changed files with 12 additions and 0 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -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(