diff --git a/HEADS b/HEADS index 1f4c82f..bb428bb 100644 --- a/HEADS +++ b/HEADS @@ -1 +1 @@ -{"engine": {"3.2": "64a9e86c5c20bd4bd5833f0563457d0126617489", "3.x": "9b512dd510207d32911064a1bbe15b80c91b006b"}, "world_generator": {"master": "260c430f11b0b591eaf4714516419aa327d2842c"}, "entity_spell_system": {"master": "3536f01bacf5f54cefb32b768cd020a1f94d0ade"}, "ui_extensions": {"master": "80a3b96fc56991a0f88a1d441ed1e3cebaf3307a"}, "texture_packer": {"master": "ae4d222fbaade063ed6f0bc9f3aaa53df68a7fed"}, "fastnoise": {"master": "46bb1f610bfb7171613b5c708d312bcf94e89356"}, "thread_pool": {"master": "0917511d04bb1aa308385b63ec88d3c182990628"}, "mesh_data_resource": {"master": "a062d871d49d954c5466b9de54b4075cb61cbef4"}, "mesh_utils": {"master": "b52a261c31f04fad624e5cfbcdcc4a45d61136da"}, "props": {"master": "2afd6eff45f9a921bdf4090ff3029def86df5cb5"}, "terraman_2d": {"master": "60a7e84a5dc2fc252b0c582dd8f877685d28d74a"}, "broken_seals_module": {"master": "52c5a81350db1c29d375c63d95010260911ec034"}, "rtile_map": {"master": "389070cfef387b69902e23e6c4ac53997b69e42e"}, "props_2d": {"master": "a45822b63519d7f9fb391ab6b1dced468c6f399d"}, "pandemonium_engine": {"master": "e53868f60f534d1a5b004c88b119a60cf6008f34"}} \ No newline at end of file +{"engine": {"3.2": "64a9e86c5c20bd4bd5833f0563457d0126617489", "3.x": "9b512dd510207d32911064a1bbe15b80c91b006b"}, "world_generator": {"master": "260c430f11b0b591eaf4714516419aa327d2842c"}, "entity_spell_system": {"master": "3536f01bacf5f54cefb32b768cd020a1f94d0ade"}, "ui_extensions": {"master": "80a3b96fc56991a0f88a1d441ed1e3cebaf3307a"}, "texture_packer": {"master": "ae4d222fbaade063ed6f0bc9f3aaa53df68a7fed"}, "fastnoise": {"master": "46bb1f610bfb7171613b5c708d312bcf94e89356"}, "thread_pool": {"master": "0917511d04bb1aa308385b63ec88d3c182990628"}, "mesh_data_resource": {"master": "a062d871d49d954c5466b9de54b4075cb61cbef4"}, "mesh_utils": {"master": "b52a261c31f04fad624e5cfbcdcc4a45d61136da"}, "props": {"master": "2afd6eff45f9a921bdf4090ff3029def86df5cb5"}, "terraman_2d": {"master": "60a7e84a5dc2fc252b0c582dd8f877685d28d74a"}, "broken_seals_module": {"master": "52c5a81350db1c29d375c63d95010260911ec034"}, "rtile_map": {"master": "389070cfef387b69902e23e6c4ac53997b69e42e"}, "props_2d": {"master": "a45822b63519d7f9fb391ab6b1dced468c6f399d"}, "pandemonium_engine": {"master": "884fae4847807b00c09687c482e26cee401dbd0f"}} \ No newline at end of file diff --git a/game/Project.tscn b/game/Project.tscn index ac74dde..290c083 100644 --- a/game/Project.tscn +++ b/game/Project.tscn @@ -1,10 +1,17 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://PaintCanvas.gd" type="Script" id=1] [ext_resource path="res://PaintProject.gd" type="Script" id=2] [ext_resource path="res://PaintVisualGrid.gd" type="Script" id=3] -[sub_resource type="Image" id=1] +[sub_resource type="Shader" id=1] +code = "shader_type canvas_item;uniform float pixel_size : hint_range(0.01, 1.0);void fragment() { vec4 color = texture(TEXTURE, UV); float light = 0.8; float dark = 0.4; float val = dark; if ( int(UV.y * 8.0 * pixel_size) % 2 == 1 ) { if ( int(UV.x * 8.0 * pixel_size) % 2 == 1 ) { val = dark; } else { val = light; } } else { if ( int(UV.x * 8.0 * pixel_size) % 2 == 1 ) { val = light; } else { val = dark; } } color.rgb = vec3(val, val, val); COLOR = color;}" + +[sub_resource type="ShaderMaterial" id=2] +shader = SubResource( 1 ) +shader_param/pixel_size = 1.0 + +[sub_resource type="Image" id=5] data = { "data": PoolByteArray( 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 202, 215, 246, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255, 154, 153, 151, 255 ), "format": "RGBA8", @@ -13,22 +20,24 @@ data = { "width": 32 } -[sub_resource type="ImageTexture" id=2] +[sub_resource type="ImageTexture" id=4] flags = 4 flags = 4 -image = SubResource( 1 ) +image = SubResource( 5 ) size = Vector2( 32, 32 ) [node name="PaintProject" type="PaintProject"] size = Vector2i( 128, 128 ) -current_color = Color( 0.740442, 0.642524, 0.188976, 1 ) +current_color = Color( 0.658824, 0.313726, 0.207843, 1 ) +color_presets = PoolColorArray( 0.67914, 0.117493, 0.0852439, 1, 0.129412, 0.113725, 0.384314, 1, 0.0666667, 0.796078, 0.196078, 1, 0.0666667, 0.796078, 0.196078, 1, 0.964706, 0.992157, 0.121569, 1, 0.00784314, 0.835294, 0.564706, 1, 0.0666667, 0.796078, 0.196078, 1, 0.658824, 0.313726, 0.207843, 1 ) script = ExtResource( 2 ) [node name="PaintCanvasBackground" type="PaintCanvasBackground" parent="."] visible = false +material = SubResource( 2 ) margin_right = 128.0 margin_bottom = 128.0 -texture = SubResource( 2 ) +texture = SubResource( 4 ) stretch_mode = 1 [node name="PaintVisualGrid" type="PaintVisualGrid" parent="."] diff --git a/game/project.pandemonium b/game/project.pandemonium index 6f67f49..a4b655f 100644 --- a/game/project.pandemonium +++ b/game/project.pandemonium @@ -18,6 +18,10 @@ config/icon="res://icon.png" enabled=PoolStringArray( "res://addons/paint_canvas/plugin.cfg" ) +[paint] + +color_presets/colors=PoolColorArray( 0.67914, 0.117493, 0.0852439, 1, 0.129412, 0.113725, 0.384314, 1, 0.0666667, 0.796078, 0.196078, 1, 0.0666667, 0.796078, 0.196078, 1, 0.964706, 0.992157, 0.121569, 1, 0.00784314, 0.835294, 0.564706, 1, 0.0666667, 0.796078, 0.196078, 1, 0.658824, 0.313726, 0.207843, 1 ) + [physics] common/enable_pause_aware_picking=true