diff options
author | Henrique Alves <henriquelalves@gmail.com> | 2022-07-17 11:28:38 -0300 |
---|---|---|
committer | Henrique Alves <henriquelalves@gmail.com> | 2022-07-17 11:28:38 -0300 |
commit | 55a16351f268edd187210e636fe938e7c2c5f42e (patch) | |
tree | 4aaadfd342224c6a0ab97f134f57e6d7fee08f22 | |
parent | 0f24cb0fef9e4caea08941602ae52a8a18fab88d (diff) | |
download | gamejam-gmtk-2022-55a16351f268edd187210e636fe938e7c2c5f42e.tar.gz gamejam-gmtk-2022-55a16351f268edd187210e636fe938e7c2c5f42e.tar.bz2 gamejam-gmtk-2022-55a16351f268edd187210e636fe938e7c2c5f42e.zip |
Scrolling background
-rw-r--r-- | Scenes/Dungeon.tscn | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/Scenes/Dungeon.tscn b/Scenes/Dungeon.tscn index de22f45..4131c5b 100644 --- a/Scenes/Dungeon.tscn +++ b/Scenes/Dungeon.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=29 format=2] +[gd_scene load_steps=31 format=2] [ext_resource path="res://Scenes/Dungeon.gd" type="Script" id=1] [ext_resource path="res://Scenes/CameraControl.gd" type="Script" id=2] @@ -18,6 +18,50 @@ background_color = Color( 0.1, 0.1, 0.1, 1 ) ambient_light_color = Color( 1, 1, 1, 1 ) dof_blur_far_amount = 0.06 +[sub_resource type="Animation" id=23] +resource_name = "Default" +length = 4.0 +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath(".: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, 4 ), +"transitions": PoolRealArray( 1, 1 ), +"update": 0, +"values": [ Vector2( 0, -300 ), Vector2( -128, -173 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath(".:rect_size") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0 ), +"transitions": PoolRealArray( 1 ), +"update": 0, +"values": [ Vector2( 1152, 1080 ) ] +} + +[sub_resource type="Animation" id=24] +length = 0.001 +tracks/0/type = "value" +tracks/0/path = NodePath(".:rect_size") +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( 1152, 720 ) ] +} + [sub_resource type="DynamicFont" id=5] size = 48 outline_size = 2 @@ -309,11 +353,19 @@ layer = -1 modulate = Color( 0.690196, 0.494118, 0.768627, 1 ) anchor_right = 1.0 anchor_bottom = 1.0 +margin_top = -300.0 +margin_right = 128.0 +margin_bottom = -180.0 rect_rotation = -0.0481524 texture = ExtResource( 8 ) expand = true stretch_mode = 2 +[node name="AnimationPlayer" type="AnimationPlayer" parent="Background/Cleyton"] +autoplay = "Default" +anims/Default = SubResource( 23 ) +anims/RESET = SubResource( 24 ) + [node name="UIController" type="CanvasLayer" parent="."] script = ExtResource( 4 ) |