This commit is contained in:
Mark Hoekveen
2019-10-27 21:38:56 +01:00
parent a73b23575d
commit a05c72fc4a
6 changed files with 169 additions and 99 deletions
+93 -35
View File
@@ -1,26 +1,51 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=13 format=2]
[ext_resource path="res://CreatureLab.gd" type="Script" id=1]
[ext_resource path="res://AnonymousPro-Regular.ttf" type="DynamicFontData" id=1]
[ext_resource path="res://Creature.tscn" type="PackedScene" id=2]
[ext_resource path="res://CreatureLab.gd" type="Script" id=3]
[sub_resource type="CanvasItemMaterial" id=1]
[sub_resource type="DynamicFont" id=7]
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=8]
font_data = ExtResource( 1 )
[sub_resource type="DynamicFont" id=9]
font_data = ExtResource( 1 )
[sub_resource type="ProceduralSky" id=2]
radiance_size = 5
sky_top_color = Color( 0.992157, 1, 0.870588, 1 )
sky_horizon_color = Color( 0.847059, 0.411765, 0.14902, 1 )
sky_curve = 0.0783495
ground_bottom_color = Color( 0.176471, 0.243137, 0.180392, 1 )
ground_horizon_color = Color( 0.0666667, 0.188235, 0.0431373, 1 )
ground_curve = 0.196983
sun_color = Color( 0.717647, 0.431373, 0.176471, 1 )
sun_latitude = 6.66
sun_longitude = 22.68
sun_energy = 6.04
sky_top_color = Color( 0, 0, 0, 1 )
sky_horizon_color = Color( 0, 0, 0, 1 )
ground_bottom_color = Color( 0, 0, 0, 1 )
ground_horizon_color = Color( 0, 0, 0, 1 )
sun_color = Color( 0.482353, 0.905882, 0.945098, 1 )
sun_latitude = 132.55
sun_energy = 14.22
[sub_resource type="Environment" id=3]
background_mode = 2
background_sky = SubResource( 2 )
[sub_resource type="World" id=4]
environment = SubResource( 3 )
[sub_resource type="ProceduralSky" id=5]
sky_top_color = Color( 0, 0, 0, 1 )
sky_horizon_color = Color( 0, 0, 0, 1 )
sky_curve = 1.44
sky_energy = 1.77
ground_bottom_color = Color( 0.168627, 0.203922, 0.172549, 1 )
ground_horizon_color = Color( 0, 0, 0, 1 )
ground_curve = 0.16
sun_color = Color( 0.835294, 0.462745, 0.462745, 1 )
sun_latitude = 11.29
sun_energy = 20.16
[sub_resource type="Environment" id=6]
background_mode = 2
background_sky = SubResource( 5 )
background_color = Color( 0.803922, 0.54902, 0.333333, 0.196078 )
tonemap_mode = 2
auto_exposure_speed = 3.15
@@ -33,7 +58,6 @@ dof_blur_far_transition = 3.35
dof_blur_far_amount = 0.13
dof_blur_far_quality = 2
dof_blur_near_distance = 0.07
glow_enabled = true
glow_levels/1 = true
glow_levels/5 = false
glow_levels/7 = true
@@ -45,14 +69,14 @@ glow_bicubic_upscale = true
[node name="Todd_Test" type="Spatial"]
[node name="GUI" type="CanvasLayer" parent="."]
editor/display_folded = true
[node name="Control" type="Control" parent="GUI"]
editor/display_folded = true
[node name="GUI" type="Control" parent="."]
material = SubResource( 1 )
margin_left = 10.0
margin_top = 10.0
margin_right = 10.0
margin_bottom = 10.0
[node name="Spawn" type="Button" parent="GUI/Control"]
[node name="Spawn" type="Button" parent="GUI"]
anchor_top = 1.0
anchor_bottom = 1.0
margin_left = 50.0
@@ -61,7 +85,7 @@ margin_right = 149.0
margin_bottom = 70.0
text = "Spawn a bitch"
[node name="Kill" type="Button" parent="GUI/Control"]
[node name="Kill" type="Button" parent="GUI"]
margin_left = 224.723
margin_top = 49.0975
margin_right = 303.723
@@ -69,26 +93,60 @@ margin_bottom = 69.0975
shortcut_in_tooltip = false
text = "Kill a bitch"
[node name="Button" type="Button" parent="GUI/Control"]
margin_left = 500.0
margin_top = 50.0
margin_right = 73.0
[node name="Button" type="Button" parent="GUI"]
margin_left = 1778.14
margin_top = 43.5382
margin_right = 1851.14
margin_bottom = 63.5382
text = "Combine!"
[node name="Log" type="Label" parent="GUI"]
anchor_bottom = 1.0
margin_bottom = -586.0
align = 1
[node name="Parent0" type="RichTextLabel" parent="GUI"]
margin_left = -9.0
margin_top = 916.0
margin_right = 447.0
margin_bottom = 1066.0
rect_min_size = Vector2( 100, 100 )
custom_fonts/mono_font = SubResource( 7 )
custom_fonts/normal_font = SubResource( 8 )
[node name="Parent1" type="RichTextLabel" parent="GUI"]
margin_left = 1372.0
margin_top = 920.0
margin_right = 1907.0
margin_bottom = 1070.0
rect_min_size = Vector2( 100, 100 )
custom_fonts/normal_font = SubResource( 9 )
[node name="Preview0" type="ViewportContainer" parent="GUI"]
margin_left = -7.75415
margin_top = 657.809
margin_right = 632.246
margin_bottom = 1137.81
rect_scale = Vector2( 0.5, 0.5 )
[node name="Viewport" type="Viewport" parent="GUI/Preview0"]
size = Vector2( 640, 480 )
world = SubResource( 4 )
handle_input_locally = false
render_target_update_mode = 3
gui_disable_input = true
[node name="Camera2" type="Camera" parent="GUI/Preview0/Viewport"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0237979, 0.798024, 1.44028 )
current = true
[node name="Creature" parent="GUI/Preview0/Viewport" instance=ExtResource( 2 )]
visible = false
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 0.879275, 0.476315, 0, -0.476315, 0.879275, 0, 10.2303, 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="."]
script = ExtResource( 1 )
script = ExtResource( 3 )
Creature = ExtResource( 2 )
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 3 )
[connection signal="pressed" from="GUI/Control/Spawn" to="CreatureLab" method="spawn_a_bitch"]
[connection signal="pressed" from="GUI/Control/Kill" to="CreatureLab" method="kill_a_bitch"]
[connection signal="pressed" from="GUI/Control/Button" to="CreatureLab" method="combine_a_bitch"]
environment = SubResource( 6 )
[connection signal="pressed" from="GUI/Spawn" to="CreatureLab" method="spawn_a_bitch"]
[connection signal="pressed" from="GUI/Kill" to="CreatureLab" method="kill_a_bitch"]
[connection signal="pressed" from="GUI/Button" to="CreatureLab" method="combine_a_bitch"]