Add a system for changing tools

This commit is contained in:
2023-10-07 18:24:14 -07:00
parent cc26479b38
commit aea7ecc1ae
6 changed files with 120 additions and 2 deletions

13
script/game_data.gd Normal file
View File

@ -0,0 +1,13 @@
extends Node
var tools = {
"none": {
"image": "res://textures/tools/none.svg",
"offset": Vector2(0, 0)
},
"stick": {
"image": "res://textures/tools/stick.svg",
"offset": Vector2(-80, -120)
}
}