diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-17 00:40:53 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-17 00:40:53 -0300 |
commit | 2965c35b0f45a849d6154080573c078aa760b99f (patch) | |
tree | 341598c3ead269d367165b23838509a2aa7ac49e /Scenes/Dungeon.tscn | |
parent | cf5751b65f5a1a4ac83f808cba147835b6c67769 (diff) | |
download | gamejam-gmtk-2022-2965c35b0f45a849d6154080573c078aa760b99f.tar.gz gamejam-gmtk-2022-2965c35b0f45a849d6154080573c078aa760b99f.tar.bz2 gamejam-gmtk-2022-2965c35b0f45a849d6154080573c078aa760b99f.zip |
UHFIERUHIFHUEW
Diffstat (limited to 'Scenes/Dungeon.tscn')
-rw-r--r-- | Scenes/Dungeon.tscn | 47 |
1 files changed, 46 insertions, 1 deletions
diff --git a/Scenes/Dungeon.tscn b/Scenes/Dungeon.tscn index c4dc431..4bbacd1 100644 --- a/Scenes/Dungeon.tscn +++ b/Scenes/Dungeon.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=13 format=2] +[gd_scene load_steps=16 format=2] [ext_resource path="res://Scenes/Dungeon.gd" type="Script" id=1] [ext_resource path="res://Scenes/CameraControl.gd" type="Script" id=2] @@ -6,6 +6,7 @@ [ext_resource path="res://Scenes/UIController.gd" type="Script" id=4] [ext_resource path="res://Assets/AlegreyaSansSC-ExtraBold.ttf" type="DynamicFontData" id=5] [ext_resource path="res://Scenes/ScoreParticle.tscn" type="PackedScene" id=6] +[ext_resource path="res://Assets/arm.png" type="Texture" id=7] [sub_resource type="PlaneMesh" id=1] @@ -35,6 +36,37 @@ outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) font_data = ExtResource( 5 ) +[sub_resource type="Animation" id=7] +resource_name = "HandMoving" +length = 3.0 +tracks/0/type = "value" +tracks/0/path = NodePath("Arm:rect_position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 1, 1.5, 3 ), +"transitions": PoolRealArray( 0.482968, 1, 0.378929, 1 ), +"update": 0, +"values": [ Vector2( 423, -39.0001 ), Vector2( 358, 433 ), Vector2( 358, 433 ), Vector2( 570, -90.0001 ) ] +} + +[sub_resource type="Animation" id=8] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath("Arm:rect_position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Vector2( 423, -39.0001 ) ] +} + [node name="Dungeon" type="Spatial"] script = ExtResource( 1 ) @@ -106,3 +138,16 @@ visible = false [node name="ScoreParticle6" parent="UIController/Particles" instance=ExtResource( 6 )] visible = false + +[node name="Arm" type="TextureRect" parent="UIController"] +margin_left = 423.0 +margin_top = -39.0001 +margin_right = 1050.0 +margin_bottom = 588.0 +rect_rotation = -87.8432 +texture = ExtResource( 7 ) +expand = true + +[node name="AnimationPlayer" type="AnimationPlayer" parent="UIController"] +anims/HandMoving = SubResource( 7 ) +anims/RESET = SubResource( 8 ) |