Make Bullets use textures instead of one circle for all of them, remove some bloat code

This commit is contained in:
csd4ni3l
2025-10-10 21:30:49 +02:00
parent 02561e01b6
commit 5798f3ba2a
3 changed files with 13 additions and 31 deletions

View File

@@ -28,10 +28,9 @@ SHOP_ITEMS = []
PLAYER_SPEED = 4
INVENTORY_ITEMS = [
["Fireball", 0.2, 10, 10],
["Lightning Bolt", 0.4, 20, 20],
["Ice Blast", 0.1, 5, 7.5],
["Arcane Beam", 0.2, 20, 15],
["Fireball", 0.2, 10, 10, "fireball_texture"],
["Lightning Bolt", 0.4, 20, 20, "lightning_bolt_texture"],
["Ice Blast", 0.1, 5, 7.5, "ice_blast_texture"],
]
INVENTORY_TRIGGER_KEYS = [getattr(arcade.key, f"KEY_{n+1}") for n in range(len(INVENTORY_ITEMS))]