Réglage de l'animation de fade
This commit is contained in:
parent
fe11d7e032
commit
57e29e0c51
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"end_image": "animation/0030.png",
|
||||
"end_image": "dark_desktop.png",
|
||||
"offset": {
|
||||
"x": 0,
|
||||
"y": 0
|
||||
|
|
BIN
assets/textures/dark_desktop.png
Normal file
BIN
assets/textures/dark_desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 216 KiB |
|
@ -113,6 +113,13 @@ def __initialize_world(world: World):
|
|||
world[State] = State.MOVING
|
||||
world[AttackTimer] = AttackTimer(0.0)
|
||||
world[AttackSpeed] = AttackSpeed(5.0)
|
||||
|
||||
world.create_entity(
|
||||
Position(),
|
||||
Order(0),
|
||||
Animation("fade_desktop"),
|
||||
)
|
||||
|
||||
names = [
|
||||
"Classique",
|
||||
"Menteur",
|
||||
|
|
Loading…
Reference in a new issue