diff --git a/Spatial.tscn b/Spatial.tscn index fde5cd6..f5e0cb4 100644 --- a/Spatial.tscn +++ b/Spatial.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=17 format=2] [ext_resource path="res://AnonymousPro-Regular.ttf" type="DynamicFontData" id=1] -[ext_resource path="res://CreatureLab.gd" type="Script" id=2] -[ext_resource path="res://Creature.tscn" type="PackedScene" id=3] +[ext_resource path="res://UI.png" type="Texture" id=2] +[ext_resource path="res://CreatureLab.gd" type="Script" id=3] +[ext_resource path="res://Creature.tscn" type="PackedScene" id=4] [sub_resource type="CanvasItemMaterial" id=1] @@ -176,12 +177,20 @@ gui_disable_input = true transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0237979, 0.798024, 1.44028 ) current = true +[node name="UI" type="Sprite" parent="GUI"] +show_behind_parent = true +light_mask = 2 +position = Vector2( -10, -10 ) +scale = Vector2( 0.5, 0.5 ) +texture = ExtResource( 2 ) +centered = false + [node name="Camera" type="Camera" parent="."] transform = Transform( 1, 0, 0, 0, 0.931938, 0.362618, 0, -0.362618, 0.931938, 0, 8.78949, 14.7057 ) [node name="CreatureLab" type="Node" parent="."] -script = ExtResource( 2 ) -Creature = ExtResource( 3 ) +script = ExtResource( 3 ) +Creature = ExtResource( 4 ) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource( 12 ) diff --git a/UI.png b/UI.png new file mode 100644 index 0000000..61e7d79 Binary files /dev/null and b/UI.png differ diff --git a/UI.png.import b/UI.png.import new file mode 100644 index 0000000..ed7b995 --- /dev/null +++ b/UI.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/UI.png-61c9f671debb8e34de91d6d363e5e76c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI.png" +dest_files=[ "res://.import/UI.png-61c9f671debb8e34de91d6d363e5e76c.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project.godot b/project.godot index 216aab7..6297fb8 100644 --- a/project.godot +++ b/project.godot @@ -37,4 +37,5 @@ select_creature={ [rendering] +threads/thread_model=2 environment/default_environment="res://default_env.tres"