mirror of
https://github.com/BreizhHardware/project_sanic.git
synced 2026-01-18 16:47:25 +01:00
Feat(Cinematic & Player) - Remove cinematic print statement; add size attribute to projectiles for consistency.
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user