Most beautiful fucking UI

This commit is contained in:
Mark Hoekveen
2019-10-28 15:35:08 +01:00
parent 3f8174e66c
commit 7c6449e846
4 changed files with 49 additions and 5 deletions
+14 -5
View File
@@ -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://AnonymousPro-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://CreatureLab.gd" type="Script" id=2] [ext_resource path="res://UI.png" type="Texture" id=2]
[ext_resource path="res://Creature.tscn" type="PackedScene" id=3] [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] [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 ) transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0237979, 0.798024, 1.44028 )
current = true 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="."] [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 ) 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="."] [node name="CreatureLab" type="Node" parent="."]
script = ExtResource( 2 ) script = ExtResource( 3 )
Creature = ExtResource( 3 ) Creature = ExtResource( 4 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 12 ) environment = SubResource( 12 )
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

+34
View File
@@ -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
+1
View File
@@ -37,4 +37,5 @@ select_creature={
[rendering] [rendering]
threads/thread_model=2
environment/default_environment="res://default_env.tres" environment/default_environment="res://default_env.tres"