diff --git a/.gitattributes b/.gitattributes index 4a479d1..8ad74f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,2 @@ # Normalize EOL for all files that Git considers text files. * text=auto eol=lf - -/** export-ignore -/addons !export-ignore -/addons/** !export-ignore diff --git a/.gitignore b/.gitignore index 139a36f..d14c611 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,4 @@ # Godot 4+ specific ignores .godot/ -# Others -stats/ -test/ -icon.svg -icon.svg.import -project.godot -.vscode/ -PankuConsole Plugin.csproj -PankuConsole Plugin.sln \ No newline at end of file +export/ diff --git a/example/assets/bootsplash.png b/example/assets/bootsplash.png new file mode 100644 index 0000000..e08644b Binary files /dev/null and b/example/assets/bootsplash.png differ diff --git a/example/assets/bootsplash.png.import b/example/assets/bootsplash.png.import new file mode 100644 index 0000000..2f61125 --- /dev/null +++ b/example/assets/bootsplash.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dm55kg6cqagpr" +path="res://.godot/imported/bootsplash.png-f649edda09454781a5bea229019b8d58.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/bootsplash.png" +dest_files=["res://.godot/imported/bootsplash.png-f649edda09454781a5bea229019b8d58.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/README/README-1.png b/example/assets/pictures/README/README-1.png new file mode 100644 index 0000000..ff34280 Binary files /dev/null and b/example/assets/pictures/README/README-1.png differ diff --git a/example/assets/pictures/README/README-1.png.import b/example/assets/pictures/README/README-1.png.import new file mode 100644 index 0000000..22a421c --- /dev/null +++ b/example/assets/pictures/README/README-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdb2hq5aehtww" +path="res://.godot/imported/README-1.png-692334c5bd5abaf9972018310ab806c9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/README/README-1.png" +dest_files=["res://.godot/imported/README-1.png-692334c5bd5abaf9972018310ab806c9.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/README/README-2.png b/example/assets/pictures/README/README-2.png new file mode 100644 index 0000000..5c1f620 Binary files /dev/null and b/example/assets/pictures/README/README-2.png differ diff --git a/example/assets/pictures/README/README-2.png.import b/example/assets/pictures/README/README-2.png.import new file mode 100644 index 0000000..67d6262 --- /dev/null +++ b/example/assets/pictures/README/README-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dmjrfxhyblam7" +path="res://.godot/imported/README-2.png-225301268622750f91bd24a1704204cd.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/README/README-2.png" +dest_files=["res://.godot/imported/README-2.png-225301268622750f91bd24a1704204cd.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/README/README-3.png b/example/assets/pictures/README/README-3.png new file mode 100644 index 0000000..92d1beb Binary files /dev/null and b/example/assets/pictures/README/README-3.png differ diff --git a/example/assets/pictures/README/README-3.png.import b/example/assets/pictures/README/README-3.png.import new file mode 100644 index 0000000..1503f02 --- /dev/null +++ b/example/assets/pictures/README/README-3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://qp84pw3wu2q8" +path="res://.godot/imported/README-3.png-899f03982fae1d0002940d040709a00d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/README/README-3.png" +dest_files=["res://.godot/imported/README-3.png-899f03982fae1d0002940d040709a00d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/README/README-4.png b/example/assets/pictures/README/README-4.png new file mode 100644 index 0000000..0a124ac Binary files /dev/null and b/example/assets/pictures/README/README-4.png differ diff --git a/example/assets/pictures/README/README-4.png.import b/example/assets/pictures/README/README-4.png.import new file mode 100644 index 0000000..8bc1fdd --- /dev/null +++ b/example/assets/pictures/README/README-4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3wdby0uhe50q" +path="res://.godot/imported/README-4.png-e31bedde333b2447d42e0a9f53f58825.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/README/README-4.png" +dest_files=["res://.godot/imported/README-4.png-e31bedde333b2447d42e0a9f53f58825.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/README/README-5.png b/example/assets/pictures/README/README-5.png new file mode 100644 index 0000000..ff0dd9b Binary files /dev/null and b/example/assets/pictures/README/README-5.png differ diff --git a/example/assets/pictures/README/README-5.png.import b/example/assets/pictures/README/README-5.png.import new file mode 100644 index 0000000..58fbb32 --- /dev/null +++ b/example/assets/pictures/README/README-5.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dihvfkemjfrpi" +path="res://.godot/imported/README-5.png-75900174bc764b1ed82770a2e2509ddc.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/README/README-5.png" +dest_files=["res://.godot/imported/README-5.png-75900174bc764b1ed82770a2e2509ddc.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/data_controller/data_controller-1.png b/example/assets/pictures/data_controller/data_controller-1.png new file mode 100644 index 0000000..07fb651 Binary files /dev/null and b/example/assets/pictures/data_controller/data_controller-1.png differ diff --git a/example/assets/pictures/data_controller/data_controller-1.png.import b/example/assets/pictures/data_controller/data_controller-1.png.import new file mode 100644 index 0000000..90b4a84 --- /dev/null +++ b/example/assets/pictures/data_controller/data_controller-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://fsjksqqt5pul" +path="res://.godot/imported/data_controller-1.png-f558e9afdad3afa06c621da84897a948.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/data_controller/data_controller-1.png" +dest_files=["res://.godot/imported/data_controller-1.png-f558e9afdad3afa06c621da84897a948.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/data_controller/data_controller-2.png b/example/assets/pictures/data_controller/data_controller-2.png new file mode 100644 index 0000000..4b0ec79 Binary files /dev/null and b/example/assets/pictures/data_controller/data_controller-2.png differ diff --git a/example/assets/pictures/data_controller/data_controller-2.png.import b/example/assets/pictures/data_controller/data_controller-2.png.import new file mode 100644 index 0000000..6c8f67b --- /dev/null +++ b/example/assets/pictures/data_controller/data_controller-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://4cuulucsj637" +path="res://.godot/imported/data_controller-2.png-5299e0b4ad511114869170dbdf33dae7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/data_controller/data_controller-2.png" +dest_files=["res://.godot/imported/data_controller-2.png-5299e0b4ad511114869170dbdf33dae7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/data_controller/data_controller-3.png b/example/assets/pictures/data_controller/data_controller-3.png new file mode 100644 index 0000000..e1e8ba5 Binary files /dev/null and b/example/assets/pictures/data_controller/data_controller-3.png differ diff --git a/example/assets/pictures/data_controller/data_controller-3.png.import b/example/assets/pictures/data_controller/data_controller-3.png.import new file mode 100644 index 0000000..19473df --- /dev/null +++ b/example/assets/pictures/data_controller/data_controller-3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://3xmxenkkx5oa" +path="res://.godot/imported/data_controller-3.png-dd2b8090f2fab73d38d4b537d9dce732.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/data_controller/data_controller-3.png" +dest_files=["res://.godot/imported/data_controller-3.png-dd2b8090f2fab73d38d4b537d9dce732.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/developer_console/developer_console-1.png b/example/assets/pictures/developer_console/developer_console-1.png new file mode 100644 index 0000000..6135aa6 Binary files /dev/null and b/example/assets/pictures/developer_console/developer_console-1.png differ diff --git a/example/assets/pictures/developer_console/developer_console-1.png.import b/example/assets/pictures/developer_console/developer_console-1.png.import new file mode 100644 index 0000000..c2732f8 --- /dev/null +++ b/example/assets/pictures/developer_console/developer_console-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cudv1bf4cvdgj" +path="res://.godot/imported/developer_console-1.png-5777b85fa9562440c44381d13d3e764c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/developer_console/developer_console-1.png" +dest_files=["res://.godot/imported/developer_console-1.png-5777b85fa9562440c44381d13d3e764c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/developer_console/developer_console-2.png b/example/assets/pictures/developer_console/developer_console-2.png new file mode 100644 index 0000000..d04fb73 Binary files /dev/null and b/example/assets/pictures/developer_console/developer_console-2.png differ diff --git a/example/assets/pictures/developer_console/developer_console-2.png.import b/example/assets/pictures/developer_console/developer_console-2.png.import new file mode 100644 index 0000000..61661b2 --- /dev/null +++ b/example/assets/pictures/developer_console/developer_console-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://da42cuold316u" +path="res://.godot/imported/developer_console-2.png-cc9be69472bf04e04656d695b6ba927e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/developer_console/developer_console-2.png" +dest_files=["res://.godot/imported/developer_console-2.png-cc9be69472bf04e04656d695b6ba927e.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/developer_console/developer_console-3.png b/example/assets/pictures/developer_console/developer_console-3.png new file mode 100644 index 0000000..0321520 Binary files /dev/null and b/example/assets/pictures/developer_console/developer_console-3.png differ diff --git a/example/assets/pictures/developer_console/developer_console-3.png.import b/example/assets/pictures/developer_console/developer_console-3.png.import new file mode 100644 index 0000000..473be2c --- /dev/null +++ b/example/assets/pictures/developer_console/developer_console-3.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bihn4t64p5wx" +path="res://.godot/imported/developer_console-3.png-e5eef6a78c84cf30ed22adccc38a3756.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/developer_console/developer_console-3.png" +dest_files=["res://.godot/imported/developer_console-3.png-e5eef6a78c84cf30ed22adccc38a3756.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/developer_console/developer_console-4.png b/example/assets/pictures/developer_console/developer_console-4.png new file mode 100644 index 0000000..32cb8d0 Binary files /dev/null and b/example/assets/pictures/developer_console/developer_console-4.png differ diff --git a/example/assets/pictures/developer_console/developer_console-4.png.import b/example/assets/pictures/developer_console/developer_console-4.png.import new file mode 100644 index 0000000..db384e3 --- /dev/null +++ b/example/assets/pictures/developer_console/developer_console-4.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://epserbnagg7b" +path="res://.godot/imported/developer_console-4.png-57337dd2bf6ab5c75e4d7fe97c8c7a82.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/developer_console/developer_console-4.png" +dest_files=["res://.godot/imported/developer_console-4.png-57337dd2bf6ab5c75e4d7fe97c8c7a82.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/expression_monitor/expression_monitor-1.png b/example/assets/pictures/expression_monitor/expression_monitor-1.png new file mode 100644 index 0000000..707a8e1 Binary files /dev/null and b/example/assets/pictures/expression_monitor/expression_monitor-1.png differ diff --git a/example/assets/pictures/expression_monitor/expression_monitor-1.png.import b/example/assets/pictures/expression_monitor/expression_monitor-1.png.import new file mode 100644 index 0000000..a2bd6e5 --- /dev/null +++ b/example/assets/pictures/expression_monitor/expression_monitor-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bjd5ie54w02w5" +path="res://.godot/imported/expression_monitor-1.png-c09507e0f3d67a8592d453d42ca666ef.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/expression_monitor/expression_monitor-1.png" +dest_files=["res://.godot/imported/expression_monitor-1.png-c09507e0f3d67a8592d453d42ca666ef.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/general_settings/general_settings-1.png b/example/assets/pictures/general_settings/general_settings-1.png new file mode 100644 index 0000000..0fb46a3 Binary files /dev/null and b/example/assets/pictures/general_settings/general_settings-1.png differ diff --git a/example/assets/pictures/general_settings/general_settings-1.png.import b/example/assets/pictures/general_settings/general_settings-1.png.import new file mode 100644 index 0000000..d5cdde2 --- /dev/null +++ b/example/assets/pictures/general_settings/general_settings-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://up0y84mpbovk" +path="res://.godot/imported/general_settings-1.png-939c4f114ebbddcdd23ecfde1171e4c1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/general_settings/general_settings-1.png" +dest_files=["res://.godot/imported/general_settings-1.png-939c4f114ebbddcdd23ecfde1171e4c1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/history_manager/history_manager-1.png b/example/assets/pictures/history_manager/history_manager-1.png new file mode 100644 index 0000000..9fce393 Binary files /dev/null and b/example/assets/pictures/history_manager/history_manager-1.png differ diff --git a/example/assets/pictures/history_manager/history_manager-1.png.import b/example/assets/pictures/history_manager/history_manager-1.png.import new file mode 100644 index 0000000..3f56045 --- /dev/null +++ b/example/assets/pictures/history_manager/history_manager-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djpwf4ulikfhr" +path="res://.godot/imported/history_manager-1.png-2633292ec7943b00060b1694d58a38e7.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/history_manager/history_manager-1.png" +dest_files=["res://.godot/imported/history_manager-1.png-2633292ec7943b00060b1694d58a38e7.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png b/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png new file mode 100644 index 0000000..eb721fd Binary files /dev/null and b/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png differ diff --git a/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png.import b/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png.import new file mode 100644 index 0000000..13c42cd --- /dev/null +++ b/example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cw0bfqleyqcbr" +path="res://.godot/imported/keyboard_shortcut-1.png-88b6b772d180e2466f97a2a3dfab9be1.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png" +dest_files=["res://.godot/imported/keyboard_shortcut-1.png-88b6b772d180e2466f97a2a3dfab9be1.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/misc_commands/misc_commands-1.png b/example/assets/pictures/misc_commands/misc_commands-1.png new file mode 100644 index 0000000..85a1cf7 Binary files /dev/null and b/example/assets/pictures/misc_commands/misc_commands-1.png differ diff --git a/example/assets/pictures/misc_commands/misc_commands-1.png.import b/example/assets/pictures/misc_commands/misc_commands-1.png.import new file mode 100644 index 0000000..3d331b4 --- /dev/null +++ b/example/assets/pictures/misc_commands/misc_commands-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cgl2jglpwkjj7" +path="res://.godot/imported/misc_commands-1.png-8ae7f0b7a0c6b4714833b52442fad0a3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/misc_commands/misc_commands-1.png" +dest_files=["res://.godot/imported/misc_commands-1.png-8ae7f0b7a0c6b4714833b52442fad0a3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/misc_commands/misc_commands-2.png b/example/assets/pictures/misc_commands/misc_commands-2.png new file mode 100644 index 0000000..16d6bc2 Binary files /dev/null and b/example/assets/pictures/misc_commands/misc_commands-2.png differ diff --git a/example/assets/pictures/misc_commands/misc_commands-2.png.import b/example/assets/pictures/misc_commands/misc_commands-2.png.import new file mode 100644 index 0000000..082445a --- /dev/null +++ b/example/assets/pictures/misc_commands/misc_commands-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxotw3c1pa0ik" +path="res://.godot/imported/misc_commands-2.png-3be12080a590cb9d28039974716ecec5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/misc_commands/misc_commands-2.png" +dest_files=["res://.godot/imported/misc_commands-2.png-3be12080a590cb9d28039974716ecec5.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/native_logger/native_logger-1.png b/example/assets/pictures/native_logger/native_logger-1.png new file mode 100644 index 0000000..ad87dbf Binary files /dev/null and b/example/assets/pictures/native_logger/native_logger-1.png differ diff --git a/example/assets/pictures/native_logger/native_logger-1.png.import b/example/assets/pictures/native_logger/native_logger-1.png.import new file mode 100644 index 0000000..c8a0053 --- /dev/null +++ b/example/assets/pictures/native_logger/native_logger-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://d264eje3yx255" +path="res://.godot/imported/native_logger-1.png-db855292adf844802c82000e7318be17.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/native_logger/native_logger-1.png" +dest_files=["res://.godot/imported/native_logger-1.png-db855292adf844802c82000e7318be17.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/native_logger/native_logger-2.png b/example/assets/pictures/native_logger/native_logger-2.png new file mode 100644 index 0000000..bf4894d Binary files /dev/null and b/example/assets/pictures/native_logger/native_logger-2.png differ diff --git a/example/assets/pictures/native_logger/native_logger-2.png.import b/example/assets/pictures/native_logger/native_logger-2.png.import new file mode 100644 index 0000000..2f3733b --- /dev/null +++ b/example/assets/pictures/native_logger/native_logger-2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c0geo87aiwmwu" +path="res://.godot/imported/native_logger-2.png-aaad92eeb34f6c02ced48acb27f968b0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/native_logger/native_logger-2.png" +dest_files=["res://.godot/imported/native_logger-2.png-aaad92eeb34f6c02ced48acb27f968b0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/assets/pictures/texture_viewer/texture_viewer-1.png b/example/assets/pictures/texture_viewer/texture_viewer-1.png new file mode 100644 index 0000000..509a1f3 Binary files /dev/null and b/example/assets/pictures/texture_viewer/texture_viewer-1.png differ diff --git a/example/assets/pictures/texture_viewer/texture_viewer-1.png.import b/example/assets/pictures/texture_viewer/texture_viewer-1.png.import new file mode 100644 index 0000000..0edbc66 --- /dev/null +++ b/example/assets/pictures/texture_viewer/texture_viewer-1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://v45f7og2f5ap" +path="res://.godot/imported/texture_viewer-1.png-582208b43efb94709ce9ca23fe8c87c8.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://example/assets/pictures/texture_viewer/texture_viewer-1.png" +dest_files=["res://.godot/imported/texture_viewer-1.png-582208b43efb94709ce9ca23fe8c87c8.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/example/global.gd b/example/global.gd new file mode 100644 index 0000000..f16331c --- /dev/null +++ b/example/global.gd @@ -0,0 +1,4 @@ +extends Node + +func hello(): + print("Hello, I'm a gloabl singleton.") diff --git a/example/global.tscn b/example/global.tscn new file mode 100644 index 0000000..0f67c20 --- /dev/null +++ b/example/global.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://t73xtgmwoy82"] + +[ext_resource type="Script" path="res://example/global.gd" id="1_ghsse"] + +[node name="Global" type="CanvasLayer"] +script = ExtResource("1_ghsse") diff --git a/example/main.gd b/example/main.gd new file mode 100644 index 0000000..8fd7ee4 --- /dev/null +++ b/example/main.gd @@ -0,0 +1,10 @@ +extends Node2D + +func say_hello(): + print("hello!") + +func set_bg_to_blue(): + RenderingServer.set_default_clear_color(Color("#5b94c6")) + +func set_bg_to_white(): + RenderingServer.set_default_clear_color(Color("#ffffff")) diff --git a/example/main.tscn b/example/main.tscn new file mode 100644 index 0000000..1ee0aca --- /dev/null +++ b/example/main.tscn @@ -0,0 +1,204 @@ +[gd_scene load_steps=26 format=3 uid="uid://dod5det6qv2c"] + +[ext_resource type="Texture2D" uid="uid://dm55kg6cqagpr" path="res://example/assets/bootsplash.png" id="1_47h81"] +[ext_resource type="Script" path="res://example/main.gd" id="1_tbp4r"] +[ext_resource type="Texture2D" uid="uid://bdb2hq5aehtww" path="res://example/assets/pictures/README/README-1.png" id="2_r8bth"] +[ext_resource type="Texture2D" uid="uid://dmjrfxhyblam7" path="res://example/assets/pictures/README/README-2.png" id="3_7w8vt"] +[ext_resource type="Texture2D" uid="uid://qp84pw3wu2q8" path="res://example/assets/pictures/README/README-3.png" id="4_t28a7"] +[ext_resource type="Texture2D" uid="uid://3wdby0uhe50q" path="res://example/assets/pictures/README/README-4.png" id="5_yd1sh"] +[ext_resource type="Texture2D" uid="uid://dihvfkemjfrpi" path="res://example/assets/pictures/README/README-5.png" id="6_reaey"] +[ext_resource type="Texture2D" uid="uid://cudv1bf4cvdgj" path="res://example/assets/pictures/developer_console/developer_console-1.png" id="7_em1n2"] +[ext_resource type="Texture2D" uid="uid://da42cuold316u" path="res://example/assets/pictures/developer_console/developer_console-2.png" id="8_u8txq"] +[ext_resource type="Texture2D" uid="uid://bihn4t64p5wx" path="res://example/assets/pictures/developer_console/developer_console-3.png" id="9_w7cpi"] +[ext_resource type="Texture2D" uid="uid://epserbnagg7b" path="res://example/assets/pictures/developer_console/developer_console-4.png" id="10_nq0vc"] +[ext_resource type="Texture2D" uid="uid://d264eje3yx255" path="res://example/assets/pictures/native_logger/native_logger-1.png" id="11_l5rj8"] +[ext_resource type="Texture2D" uid="uid://c0geo87aiwmwu" path="res://example/assets/pictures/native_logger/native_logger-2.png" id="12_m4gik"] +[ext_resource type="Texture2D" uid="uid://fsjksqqt5pul" path="res://example/assets/pictures/data_controller/data_controller-1.png" id="13_vvkdu"] +[ext_resource type="Texture2D" uid="uid://4cuulucsj637" path="res://example/assets/pictures/data_controller/data_controller-2.png" id="14_8w5dy"] +[ext_resource type="Texture2D" uid="uid://3xmxenkkx5oa" path="res://example/assets/pictures/data_controller/data_controller-3.png" id="15_vfhkj"] +[ext_resource type="Texture2D" uid="uid://bjd5ie54w02w5" path="res://example/assets/pictures/expression_monitor/expression_monitor-1.png" id="16_626au"] +[ext_resource type="Texture2D" uid="uid://djpwf4ulikfhr" path="res://example/assets/pictures/history_manager/history_manager-1.png" id="17_3ys4b"] +[ext_resource type="Texture2D" uid="uid://cw0bfqleyqcbr" path="res://example/assets/pictures/keyboard_shortcut/keyboard_shortcut-1.png" id="18_oupm8"] +[ext_resource type="Texture2D" uid="uid://v45f7og2f5ap" path="res://example/assets/pictures/texture_viewer/texture_viewer-1.png" id="19_p7jhx"] +[ext_resource type="Texture2D" uid="uid://cgl2jglpwkjj7" path="res://example/assets/pictures/misc_commands/misc_commands-1.png" id="20_cmnae"] +[ext_resource type="Texture2D" uid="uid://dxotw3c1pa0ik" path="res://example/assets/pictures/misc_commands/misc_commands-2.png" id="21_1ofcl"] +[ext_resource type="Texture2D" uid="uid://up0y84mpbovk" path="res://example/assets/pictures/general_settings/general_settings-1.png" id="22_teg2y"] + +[sub_resource type="GDScript" id="GDScript_8ucs3"] +script/source = "#Use middle mouse to pan, scale +extends Camera2D + +@export var zoom_speed := 3.0 + +var pan_mode := false +var zoom_level := 0.0 + +func _input(event): + if event is InputEventMouseButton: + if event.button_index in [MOUSE_BUTTON_RIGHT, MOUSE_BUTTON_MIDDLE]: + if event.pressed: + pan_mode = true + else: + pan_mode = false + elif event.button_index == MOUSE_BUTTON_WHEEL_UP and event.pressed: + set_zoom_level(zoom_level + 0.1) + elif event.button_index == MOUSE_BUTTON_WHEEL_DOWN and event.pressed: + set_zoom_level(zoom_level - 0.1) + elif event is InputEventMouseMotion: + if pan_mode: + position -= event.relative * (1.0/zoom.x) + +func set_zoom_level(val:float): + var m = get_global_mouse_position() + var old_zoom_x = zoom.x + zoom_level = val + zoom = Vector2.ONE * pow(zoom_speed, zoom_level) + #zooming should keep global_mouse_position. + position = m - (m - position) * old_zoom_x / zoom.x +" + +[sub_resource type="LabelSettings" id="LabelSettings_3sgpx"] +font_size = 32 +font_color = Color(0.199219, 0.199219, 0.199219, 1) + +[node name="main" type="Node2D"] +texture_filter = 4 +script = ExtResource("1_tbp4r") +metadata/_edit_vertical_guides_ = [1730.0] + +[node name="Camera2D" type="Camera2D" parent="."] +script = SubResource("GDScript_8ucs3") + +[node name="Bootsplash" type="Sprite2D" parent="."] +texture = ExtResource("1_47h81") + +[node name="Label" type="Label" parent="."] +offset_left = -420.0 +offset_top = 168.0 +offset_right = 416.0 +offset_bottom = 312.0 +text = "This is a live documentation & playground +Use mouse button to pan, mouse wheel to zoom +Press ~ to open dev console" +label_settings = SubResource("LabelSettings_3sgpx") +horizontal_alignment = 1 + +[node name="Document" type="HBoxContainer" parent="."] +offset_left = 641.0 +offset_top = -361.0 +offset_right = 17207.0 +offset_bottom = 11350.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("2_r8bth") + +[node name="TextureRect2" type="TextureRect" parent="Document/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("3_7w8vt") + +[node name="TextureRect3" type="TextureRect" parent="Document/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("4_t28a7") + +[node name="TextureRect4" type="TextureRect" parent="Document/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("5_yd1sh") + +[node name="TextureRect5" type="TextureRect" parent="Document/VBoxContainer"] +layout_mode = 2 +texture = ExtResource("6_reaey") + +[node name="VBoxContainer2" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer2"] +layout_mode = 2 +texture = ExtResource("7_em1n2") + +[node name="TextureRect2" type="TextureRect" parent="Document/VBoxContainer2"] +layout_mode = 2 +texture = ExtResource("8_u8txq") + +[node name="TextureRect3" type="TextureRect" parent="Document/VBoxContainer2"] +layout_mode = 2 +texture = ExtResource("9_w7cpi") + +[node name="TextureRect4" type="TextureRect" parent="Document/VBoxContainer2"] +layout_mode = 2 +texture = ExtResource("10_nq0vc") + +[node name="VBoxContainer3" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer3"] +layout_mode = 2 +texture = ExtResource("11_l5rj8") + +[node name="TextureRect2" type="TextureRect" parent="Document/VBoxContainer3"] +layout_mode = 2 +texture = ExtResource("12_m4gik") + +[node name="VBoxContainer4" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer4"] +layout_mode = 2 +texture = ExtResource("13_vvkdu") + +[node name="TextureRect2" type="TextureRect" parent="Document/VBoxContainer4"] +layout_mode = 2 +texture = ExtResource("14_8w5dy") + +[node name="TextureRect3" type="TextureRect" parent="Document/VBoxContainer4"] +layout_mode = 2 +texture = ExtResource("15_vfhkj") + +[node name="VBoxContainer5" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer5"] +layout_mode = 2 +texture = ExtResource("16_626au") + +[node name="VBoxContainer6" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer6"] +layout_mode = 2 +texture = ExtResource("17_3ys4b") + +[node name="VBoxContainer7" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer7"] +layout_mode = 2 +texture = ExtResource("18_oupm8") + +[node name="VBoxContainer8" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer8"] +layout_mode = 2 +texture = ExtResource("19_p7jhx") + +[node name="VBoxContainer9" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer9"] +layout_mode = 2 +texture = ExtResource("20_cmnae") + +[node name="TextureRect2" type="TextureRect" parent="Document/VBoxContainer9"] +layout_mode = 2 +texture = ExtResource("21_1ofcl") + +[node name="VBoxContainer10" type="VBoxContainer" parent="Document"] +layout_mode = 2 + +[node name="TextureRect" type="TextureRect" parent="Document/VBoxContainer10"] +layout_mode = 2 +texture = ExtResource("22_teg2y") diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..bffce1a --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,37 @@ +[preset.0] + +name="Web" +platform="Web" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="export/index.html" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +variant/extensions_support=false +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=false +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="" +progressive_web_app/icon_180x180="" +progressive_web_app/icon_512x512="" +progressive_web_app/background_color=Color(0, 0, 0, 1) diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..5998194 --- /dev/null +++ b/project.godot @@ -0,0 +1,46 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="Panku Console" +config/description="**Panku Console is a feature-packed real-time debugging toolkit for Godot Engine.** With Panku Console, you can easily interact with your scripts and objects at runtime, whether to cheat, debug, prototype, or just to have fun. + +Panku Console is designed to be modular and extensible, and it is easy to add and maintain features. It is also designed to be as unobtrusive as possible, so you can use it in your project without worrying about the impact on the final product." +run/main_scene="res://example/main.tscn" +config/features=PackedStringArray("4.1", "Forward Plus") +boot_splash/bg_color=Color(1, 1, 1, 1) +boot_splash/image="res://example/assets/bootsplash.png" +boot_splash/fullsize=false +config/icon="res://addons/panku_console/logo.svg" + +[autoload] + +Panku="*res://addons/panku_console/console.tscn" +Global="*res://example/global.tscn" + +[display] + +window/size/viewport_width=1280 +window/size/viewport_height=720 +window/stretch/mode="canvas_items" + +[editor_plugins] + +enabled=PackedStringArray("res://addons/panku_console/plugin.cfg") + +[filesystem] + +import/blender/enabled=false + +[rendering] + +environment/defaults/default_clear_color=Color(1, 1, 1, 1) +anti_aliasing/quality/msaa_2d=3