Feat(Cinematic & Player) - Remove cinematic print statement; add size attribute to projectiles for consistency.

This commit is contained in:
Félix MARQUET
2025-04-11 09:03:37 +02:00
parent bfbe8f92ab
commit 46dc047db3
2 changed files with 5 additions and 1 deletions

View File

@@ -609,6 +609,7 @@ class Player(Entity):
damage=1,
color=(165, 42, 42),
enemy_proj=False,
size=(50, 50),
)
# Add projectile to the sprite group (to be placed in main.py)
pygame.event.post(
@@ -635,6 +636,7 @@ class Player(Entity):
damage=1,
color=(165, 42, 42),
enemy_proj=False,
size=(50, 50),
)
# Add projectile to the sprite group (to be placed in main.py)
pygame.event.post(
@@ -666,6 +668,7 @@ class Player(Entity):
color=(165, 42, 42),
enemy_proj=False,
texturePath="assets/player/Boule de feu.png",
size=(50, 50),
)
# Add projectile to the sprite group (to be placed in main.py)
pygame.event.post(
@@ -698,6 +701,7 @@ class Player(Entity):
color=(165, 42, 42),
enemy_proj=False,
texturePath="assets/player/Boule de feu.png",
size=(50, 50),
)
pygame.event.post(
pygame.event.Event(

View File

@@ -133,4 +133,4 @@ class Cinematic:
]
self._display_cinematic_text(screen, lore_text, level_name)
else:
print(f"No cinematic available for {level_name}.")
pass