summaryrefslogtreecommitdiff
path: root/combinator.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'combinator.tscn')
-rw-r--r--combinator.tscn39
1 files changed, 32 insertions, 7 deletions
diff --git a/combinator.tscn b/combinator.tscn
index 15bd457..fb29e59 100644
--- a/combinator.tscn
+++ b/combinator.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=9 format=2]
+[gd_scene load_steps=10 format=2]
[ext_resource path="res://mesh/combinator.dae" type="PackedScene" id=1]
[ext_resource path="res://scripts/combinator.gd" type="Script" id=2]
@@ -53,13 +53,27 @@ uv1_offset = Vector2( 0, 0 )
uv2_scale = Vector2( 1, 1 )
uv2_offset = Vector2( 0, 0 )
-[node name="Combinator" instance=ExtResource( 1 )]
+[sub_resource type="Animation" id=5]
-script = ExtResource( 2 )
+resource_name = "click"
+length = 0.5
+loop = false
+step = 0.1
+tracks/0/type = "value"
+tracks/0/path = NodePath("Cube.1:translation")
+tracks/0/interp = 1
+tracks/0/loop_wrap = true
+tracks/0/imported = false
+tracks/0/keys = {
+"times": PoolFloatArray( 0, 0.2, 0.5 ),
+"transitions": PoolFloatArray( 1, 1, 1 ),
+"update": 0,
+"values": [ Vector3( 1.086, 1.15185, -1.42215 ), Vector3( 1.086, 1.01428, -1.42215 ), Vector3( 1.086, 1.15185, -1.42215 ) ]
+}
-[node name="Cube" parent="."]
+[node name="Combinator" instance=ExtResource( 1 )]
-material_override = ExtResource( 3 )
+script = ExtResource( 2 )
[node name="StaticBody" type="StaticBody" parent="Cube"]
@@ -141,7 +155,7 @@ shadow_atlas_quad_3 = 4
[node name="Area" type="Area" parent="."]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.434383, 0.698751 )
+transform = Transform( 1.05, 0, 0, 0, 1, 0, 0, 0, 1.05, 0.0714184, 0.355354, 0.670982 )
input_ray_pickable = true
input_capture_on_drag = false
shape_count = 1
@@ -203,7 +217,7 @@ environment = null
h_offset = 0.0
v_offset = 0.0
-[node name="OmniLight" type="OmniLight" parent="."]
+[node name="bulb" type="OmniLight" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.17673, 2.26107, 1.77229 )
layers = 1
@@ -223,6 +237,17 @@ omni_attenuation = 1.0
omni_shadow_mode = 0
omni_shadow_detail = 1
+[node name="animation" type="AnimationPlayer" parent="."]
+
+playback_process_mode = 1
+playback_default_blend_time = 0.0
+root_node = NodePath("..")
+anims/click = SubResource( 5 )
+playback/active = true
+playback/speed = 1.0
+blend_times = [ ]
+autoplay = ""
+
[connection signal="input_event" from="Cube/StaticBody" to="." method="_on_body_input_event"]
[connection signal="input_event" from="Cube.1/StaticBody" to="." method="_on_panel_input_event"]