Add basic mechanics, like shooting and some basic textures

This commit is contained in:
csd4ni3l
2025-11-14 20:32:06 +01:00
parent edfe5e7f9d
commit 032f38f4ce
9 changed files with 290 additions and 106 deletions

View File

@@ -5,4 +5,7 @@ _module_dir = os.path.dirname(os.path.abspath(__file__))
_assets_dir = os.path.join(os.path.dirname(_module_dir), 'assets')
button_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture(os.path.join(_assets_dir, 'graphics', 'button.png')))
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture(os.path.join(_assets_dir, 'graphics', 'button_hovered.png')))
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture(os.path.join(_assets_dir, 'graphics', 'button_hovered.png')))
enemy_texture = arcade.load_texture("assets/graphics/enemy.png")
player_texture = arcade.load_texture("assets/graphics/player.png")