add controller support

This commit is contained in:
csd4ni3l
2025-06-25 11:40:26 +02:00
parent 7d0d25ddb5
commit 136d982395
8 changed files with 104 additions and 33 deletions

View File

@@ -2,6 +2,7 @@ import arcade.gui, arcade
button_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button.png"))
button_hovered_texture = arcade.gui.NinePatchTexture(64 // 4, 64 // 4, 64 // 4, 64 // 4, arcade.load_texture("assets/graphics/button_hovered.png"))
cursor_texture = arcade.load_texture("assets/graphics/cursor.png")
create_sound = arcade.Sound("assets/sound/create.mp3")
destroy_sound = arcade.Sound("assets/sound/destroy.mp3")