mirror of
https://github.com/tonytins/dressupzack
synced 2025-06-26 00:24:44 -04:00
Upgrade to Godot 4
This is the start of a major rewrite of the game, using varies add-ons whenever possible instead of reinventing the wheel. Not that it wasn't a good learning experience, but, yeah, glad Godot 4 is finally here.
This commit is contained in:
parent
25257f722d
commit
a1bd301c95
233 changed files with 6786 additions and 3446 deletions
13
addons/SpritesheetGenerator/SpriteSheetGenerator.gd
Normal file
13
addons/SpritesheetGenerator/SpriteSheetGenerator.gd
Normal file
|
@ -0,0 +1,13 @@
|
|||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
func _enter_tree() -> void:
|
||||
add_tool_menu_item("Open Spritesheet Generator", run_generator)
|
||||
get_editor_interface().get_command_palette().add_command("Open Spritesheet Generator", "addons/open_spritesheet_generator", run_generator)
|
||||
|
||||
func _exit_tree() -> void:
|
||||
remove_tool_menu_item("Open Spritesheet Generator")
|
||||
get_editor_interface().get_command_palette().remove_command("addons/open_spritesheet_generator")
|
||||
|
||||
func run_generator():
|
||||
get_editor_interface().play_custom_scene("res://addons/SpritesheetGenerator/SpritesheetGenerator.tscn")
|
Loading…
Add table
Add a link
Reference in a new issue