diff options
| -rw-r--r-- | Tray.gd | 5 | ||||
| -rw-r--r-- | Tray.tscn | 7 | ||||
| -rw-r--r-- | app.html | 3 | ||||
| -rw-r--r-- | export_presets.cfg | 4 | ||||
| -rw-r--r-- | icon.png | bin | 0 -> 91502 bytes | |||
| -rw-r--r-- | icon.png.import | 34 | ||||
| -rw-r--r-- | project.godot | 1 | 
7 files changed, 40 insertions, 14 deletions
@@ -49,11 +49,6 @@ func close():  func _on_resized():  	%Button.global_position = global_position - Vector2(%Button.size.x, 0) -	 -	var shape = RectangleShape2D.new() -	shape.size = size -	%TrayCollision/CollisionShape2D.shape = shape -	%TrayCollision/CollisionShape2D.position = size / 2  func _on_button_pressed(): @@ -65,13 +65,6 @@ size_flags_horizontal = 0  size_flags_vertical = 0  text = "<" -[node name="TrayCollision" type="Area2D" parent="."] -unique_name_in_owner = true -collision_layer = 3 -collision_mask = 3 - -[node name="CollisionShape2D" type="CollisionShape2D" parent="TrayCollision"] -  [connection signal="resized" from="." to="." method="_on_resized"]  [connection signal="pressed" from="VBoxContainer/HBoxContainer/Save" to="." method="_on_save_pressed"]  [connection signal="pressed" from="VBoxContainer/HBoxContainer/Load" to="." method="_on_load_pressed"] @@ -121,8 +121,7 @@      <script src="$GODOT_URL"></script>      <script>      const GODOT_CONFIG = $GODOT_CONFIG; -    // const GODOT_THREADS_ENABLED = $GODOT_THREADS_ENABLED; -    const GODOT_THREADS_ENABLED = 'yes'; +    const GODOT_THREADS_ENABLED = $GODOT_THREADS_ENABLED;      const engine = new Engine(GODOT_CONFIG);      (function () { diff --git a/export_presets.cfg b/export_presets.cfg index 4deecb9..e3cd564 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -3,6 +3,7 @@  name="Web"  platform="Web"  runnable=true +advanced_options=true  dedicated_server=false  custom_features=""  export_filter="all_resources" @@ -13,12 +14,14 @@ encryption_include_filters=""  encryption_exclude_filters=""  encrypt_pck=false  encrypt_directory=false +script_export_mode=2  [preset.0.options]  custom_template/debug=""  custom_template/release=""  variant/extensions_support=false +variant/thread_support=false  vram_texture_compression/for_desktop=true  vram_texture_compression/for_mobile=false  html/export_icon=true @@ -28,6 +31,7 @@ html/canvas_resize_policy=2  html/focus_canvas_on_start=true  html/experimental_virtual_keyboard=false  progressive_web_app/enabled=false +progressive_web_app/ensure_cross_origin_isolation_headers=true  progressive_web_app/offline_page=""  progressive_web_app/display=1  progressive_web_app/orientation=0 diff --git a/icon.png b/icon.png Binary files differnew file mode 100644 index 0000000..02a287b --- /dev/null +++ b/icon.png diff --git a/icon.png.import b/icon.png.import new file mode 100644 index 0000000..5ef361f --- /dev/null +++ b/icon.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bc8gcaqoavm0e" +path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.png" +dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.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=false +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/project.godot b/project.godot index a703fc6..2a1bbe7 100644 --- a/project.godot +++ b/project.godot @@ -13,6 +13,7 @@ config_version=5  config/name="CityBuilder"  run/main_scene="res://Start.tscn"  config/features=PackedStringArray("4.2", "GL Compatibility") +boot_splash/image="res://icon.png"  config/icon="res://icon.svg"  [audio]  | 
