Add virtual cursor for controller support

This commit is contained in:
csd4ni3l
2025-06-24 21:41:21 +02:00
parent 1672f35211
commit ffcf12552a
5 changed files with 63 additions and 7 deletions

View File

@@ -2,3 +2,4 @@ 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")