mirror of
https://github.com/csd4ni3l/wizard_vs_irs.git
synced 2026-01-01 04:13:42 +01:00
Make Bullets use textures instead of one circle for all of them, remove some bloat code
This commit is contained in:
@@ -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))]
|
||||
|
||||
@@ -15,4 +15,8 @@ dark_wizard_right_animation = arcade.TextureAnimation([arcade.TextureKeyframe(te
|
||||
dark_wizard_standing_animation = arcade.TextureAnimation([arcade.TextureKeyframe(texture, 300) for texture in dark_wizard_spritesheet[6:8]])
|
||||
dark_wizard_left_animation = arcade.TextureAnimation([arcade.TextureKeyframe(texture, 300) for texture in dark_wizard_spritesheet[9:11]])
|
||||
|
||||
fireball_texture = arcade.make_circle_texture(10, arcade.color.RED)
|
||||
lightning_bolt_texture = arcade.make_circle_texture(20, arcade.color.BLUE)
|
||||
ice_blast_texture = arcade.make_circle_texture(20, arcade.color.ICEBERG)
|
||||
|
||||
irs_agent_texture = arcade.load_texture("assets/graphics/irs_agent.png")
|
||||
Reference in New Issue
Block a user