Réglage de l'animation de fade

This commit is contained in:
Tipragot 2023-10-29 23:49:14 +01:00
parent fe11d7e032
commit 57e29e0c51
3 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,5 @@
{ {
"end_image": "animation/0030.png", "end_image": "dark_desktop.png",
"offset": { "offset": {
"x": 0, "x": 0,
"y": 0 "y": 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

View file

@ -113,6 +113,13 @@ def __initialize_world(world: World):
world[State] = State.MOVING world[State] = State.MOVING
world[AttackTimer] = AttackTimer(0.0) world[AttackTimer] = AttackTimer(0.0)
world[AttackSpeed] = AttackSpeed(5.0) world[AttackSpeed] = AttackSpeed(5.0)
world.create_entity(
Position(),
Order(0),
Animation("fade_desktop"),
)
names = [ names = [
"Classique", "Classique",
"Menteur", "Menteur",