diff --git a/export_presets.cfg b/export_presets.cfg index 379a755..1eb5fce 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -5,8 +5,8 @@ platform="Windows Desktop" runnable=true dedicated_server=false custom_features="" -export_filter="scenes" -export_files=PackedStringArray("res://maps/mainMenu.tscn", "res://maps/map1.tscn", "res://maps/mapManager.tscn") +export_filter="resources" +export_files=PackedStringArray("res://maps/mainMenu.tscn", "res://maps/map1.tscn", "res://maps/mapManager.tscn", "res://shaders/shaderMaterial_Outline.tres", "res://shaders/shader_outline3.gdshader", "res://shaders/shader_outline2.gdshader", "res://shaders/shader_outline.gdshader", "res://core/bridgeNode.tscn", "res://core/Cursor.gd", "res://core/Cursor.tscn", "res://core/debugDraw.tscn", "res://core/player.gd", "res://core/player.tscn", "res://core/sceneInstance.gd", "res://core/Sticker.gd", "res://core/Sticker.tscn") include_filter="" exclude_filter="" export_path="builds/stickerClone.exe" @@ -32,7 +32,7 @@ codesign/timestamp_server_url="" codesign/digest_algorithm=1 codesign/description="" codesign/custom_options=PackedStringArray() -application/modify_resources=true +application/modify_resources=false application/icon="" application/console_wrapper_icon="" application/icon_interpolation=4 diff --git a/prefab/free_sticker.tscn b/prefab/free_sticker.tscn index b40ed5f..7e6c587 100644 --- a/prefab/free_sticker.tscn +++ b/prefab/free_sticker.tscn @@ -10,6 +10,8 @@ region = Rect2(384, 64, 288, 224) script/source = "@tool extends Sprite2D +var OutlineMat:ShaderMaterial = preload(\"res://shaders/shaderMaterial_Outline.tres\") + @export_group(\"Sticker Detection Shape\") @export var Shape :Shape2D: set(new_shape): @@ -35,8 +37,6 @@ func on_click(): print(self,\" clicked\") func on_hover(): - var OutlineMat:ShaderMaterial - OutlineMat = load(\"res://shaders/shaderMaterial_Outline.tres\") material = OutlineMat queue_redraw()