From 9e66142af847af2185b1903f20554d77bdfc93d5 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 14 Nov 2022 14:44:37 +0100 Subject: [PATCH] Added a paint plugin. --- game/addons/paint/plugin.cfg | 7 +++++++ game/addons/paint/plugin.gd | 10 ++++++++++ game/project.pandemonium | 4 ++++ 3 files changed, 21 insertions(+) create mode 100644 game/addons/paint/plugin.cfg create mode 100644 game/addons/paint/plugin.gd diff --git a/game/addons/paint/plugin.cfg b/game/addons/paint/plugin.cfg new file mode 100644 index 0000000..31d272a --- /dev/null +++ b/game/addons/paint/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="Paint" +description="" +author="Relintai" +version="" +script="plugin.gd" diff --git a/game/addons/paint/plugin.gd b/game/addons/paint/plugin.gd new file mode 100644 index 0000000..b582dd9 --- /dev/null +++ b/game/addons/paint/plugin.gd @@ -0,0 +1,10 @@ +tool +extends EditorPlugin + + +func _enter_tree() -> void: + pass + + +func _exit_tree() -> void: + pass diff --git a/game/project.pandemonium b/game/project.pandemonium index 8a15fa6..41ef895 100644 --- a/game/project.pandemonium +++ b/game/project.pandemonium @@ -13,6 +13,10 @@ config_version=4 config/name="Pandemonium Paint Experimental" config/icon="res://icon.png" +[editor_plugins] + +enabled=PoolStringArray( "res://addons/paint/plugin.cfg" ) + [physics] common/enable_pause_aware_picking=true