adds menu and instructions

This commit is contained in:
Rosia E Evans 2024-08-17 02:11:15 +01:00
parent 8f22164693
commit 6458fd777d
45 changed files with 704 additions and 8 deletions

BIN
assets/button.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

34
assets/button.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c6r4ssc8fbi46"
path="res://.godot/imported/button.png-c79155b6e84601a7c5a042250ad77b07.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/button.png"
dest_files=["res://.godot/imported/button.png-c79155b6e84601a7c5a042250ad77b07.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/button.png~ Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
assets/button2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

34
assets/button2.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dcvui4id7ryau"
path="res://.godot/imported/button2.png-047cd9d3a58f0683d4782fb059769847.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/button2.png"
dest_files=["res://.godot/imported/button2.png-047cd9d3a58f0683d4782fb059769847.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/button2.png~ Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
assets/frame1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

34
assets/frame1.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://due5f7l8a66rm"
path="res://.godot/imported/frame1.png-605199c786b51c55c6672eea0dbdfe48.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/frame1.png"
dest_files=["res://.godot/imported/frame1.png-605199c786b51c55c6672eea0dbdfe48.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/frame1.png~ Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
assets/frame2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

34
assets/frame2.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://tsmc2r12pacb"
path="res://.godot/imported/frame2.png-6531baf0fb2a8f76127918db3dc812a0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/frame2.png"
dest_files=["res://.godot/imported/frame2.png-6531baf0fb2a8f76127918db3dc812a0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/frame3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

34
assets/frame3.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://byqbvced7aa4n"
path="res://.godot/imported/frame3.png-89894da9e002ff0bb56ae6156721290d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/frame3.png"
dest_files=["res://.godot/imported/frame3.png-89894da9e002ff0bb56ae6156721290d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/frame3.png~ Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
assets/frame4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

34
assets/frame4.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxmwn8mfal6gy"
path="res://.godot/imported/frame4.png-1ff93858ce0ea2d77ef0023e0ba89640.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/frame4.png"
dest_files=["res://.godot/imported/frame4.png-1ff93858ce0ea2d77ef0023e0ba89640.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/instructions.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://3w080vs4k15v"
path="res://.godot/imported/instructions.png-bb85f5eaf378ae0ab691bb4efd9fb1bb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/instructions.png"
dest_files=["res://.godot/imported/instructions.png-bb85f5eaf378ae0ab691bb4efd9fb1bb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/instructions.png~ Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
assets/startNote.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://en11sbhcxflt"
path="res://.godot/imported/startNote.png-40932d51b02ddf40fa24471faafe24d9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/startNote.png"
dest_files=["res://.godot/imported/startNote.png-40932d51b02ddf40fa24471faafe24d9.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/storyImage1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b0olfb3q10r26"
path="res://.godot/imported/storyImage1.png-f2b2295a77ee474cbb42619428b7f12d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/storyImage1.png"
dest_files=["res://.godot/imported/storyImage1.png-f2b2295a77ee474cbb42619428b7f12d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/storyImage2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dalqyclbgygri"
path="res://.godot/imported/storyImage2.png-8dffbc8640d073f5bac15a9543141638.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/storyImage2.png"
dest_files=["res://.godot/imported/storyImage2.png-8dffbc8640d073f5bac15a9543141638.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/storyImage3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c4m6tm5hq0jhv"
path="res://.godot/imported/storyImage3.png-31b3009a99cee46b532fefa1e72f509b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/storyImage3.png"
dest_files=["res://.godot/imported/storyImage3.png-31b3009a99cee46b532fefa1e72f509b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
assets/storyImage4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ccj0weq7nidbg"
path="res://.godot/imported/storyImage4.png-e6f9666b6cb92d11be544c3eaf1abdd4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/storyImage4.png"
dest_files=["res://.godot/imported/storyImage4.png-e6f9666b6cb92d11be544c3eaf1abdd4.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -15,6 +15,10 @@ run/main_scene="res://scenes/main_scene.tscn"
config/features=PackedStringArray("4.3", "Forward Plus")
config/icon="res://icon.svg"
[display]
window/size/resizable=false
[dotnet]
project/assembly_name="GMTK Game Jam 2024"

BIN
raw_assets/frame1.kra Normal file

Binary file not shown.

BIN
raw_assets/frame1.kra~ Normal file

Binary file not shown.

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btcltdcok8sga"
path="res://.godot/imported/frame1.png-6abe000331b8f5e189ed4b7c52d69688.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://raw_assets/frame1.png"
dest_files=["res://.godot/imported/frame1.png-6abe000331b8f5e189ed4b7c52d69688.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
raw_assets/frame2.kra Normal file

Binary file not shown.

BIN
raw_assets/frame2.kra~ Normal file

Binary file not shown.

BIN
raw_assets/frame3.kra Normal file

Binary file not shown.

BIN
raw_assets/frame4.kra Normal file

Binary file not shown.

BIN
raw_assets/storyImage1.kra Normal file

Binary file not shown.

BIN
raw_assets/storyImage2.kra Normal file

Binary file not shown.

BIN
raw_assets/storyImage3.kra Normal file

Binary file not shown.

BIN
raw_assets/storyImage4.kra Normal file

Binary file not shown.

View file

@ -1,5 +1,6 @@
[gd_scene load_steps=9 format=3 uid="uid://n05pnykd3tff"]
[gd_scene load_steps=10 format=3 uid="uid://n05pnykd3tff"]
[ext_resource type="PackedScene" uid="uid://cjjw0n58nmtfw" path="res://scenes/menu.tscn" id="1_47rnc"]
[ext_resource type="PackedScene" uid="uid://dgm3241ceqpim" path="res://scenes/body.tscn" id="1_eeca8"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fouvd"]
@ -31,13 +32,7 @@ size = Vector3(25, 1, 100)
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Menu" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Menu" parent="CanvasLayer" instance=ExtResource("1_47rnc")]
[node name="UI" type="Control" parent="CanvasLayer"]
layout_mode = 3

163
scenes/menu.tscn Normal file
View file

@ -0,0 +1,163 @@
[gd_scene load_steps=15 format=3 uid="uid://cjjw0n58nmtfw"]
[ext_resource type="PackedScene" uid="uid://cm1qravdpxhn4" path="res://scenes/story_frame_scene.tscn" id="1_b6xg8"]
[ext_resource type="Texture2D" uid="uid://dalqyclbgygri" path="res://assets/storyImage2.png" id="2_ovoho"]
[ext_resource type="Texture2D" uid="uid://tsmc2r12pacb" path="res://assets/frame2.png" id="3_hrini"]
[ext_resource type="Texture2D" uid="uid://c4m6tm5hq0jhv" path="res://assets/storyImage3.png" id="4_0x4tc"]
[ext_resource type="Texture2D" uid="uid://byqbvced7aa4n" path="res://assets/frame3.png" id="5_6a2eb"]
[ext_resource type="Texture2D" uid="uid://ccj0weq7nidbg" path="res://assets/storyImage4.png" id="6_e06r6"]
[ext_resource type="Texture2D" uid="uid://bxmwn8mfal6gy" path="res://assets/frame4.png" id="7_iak52"]
[ext_resource type="Texture2D" uid="uid://c6r4ssc8fbi46" path="res://assets/button.png" id="8_eh7sb"]
[ext_resource type="Texture2D" uid="uid://dcvui4id7ryau" path="res://assets/button2.png" id="9_ksbta"]
[ext_resource type="Texture2D" uid="uid://en11sbhcxflt" path="res://assets/startNote.png" id="9_pbwjt"]
[ext_resource type="Texture2D" uid="uid://3w080vs4k15v" path="res://assets/instructions.png" id="10_hirgk"]
[sub_resource type="Animation" id="Animation_bqavq"]
resource_name = "idle"
length = 1.5
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureButton:rotation")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.46667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [-0.0698132, 0.0698132]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect:rotation")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0.433333, 1.03333),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0872665, -0.0872665]
}
[sub_resource type="Animation" id="Animation_5l3d8"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureButton:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [-0.133149]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("TextureRect:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [0.240703]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_rcg3x"]
_data = {
"RESET": SubResource("Animation_5l3d8"),
"idle": SubResource("Animation_bqavq")
}
[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
scale = Vector2(29.6944, 16.8077)
[node name="StoryFrameScene" parent="." instance=ExtResource("1_b6xg8")]
layout_mode = 1
offset_left = -1.0
offset_top = -2.0
offset_right = -1.42407
offset_bottom = -2.0
scale = Vector2(0.457138, 0.457138)
[node name="StoryFrameScene2" parent="." instance=ExtResource("1_b6xg8")]
layout_mode = 1
offset_left = 311.0
offset_right = 310.576
scale = Vector2(0.454821, 0.454821)
background = ExtResource("2_ovoho")
foreground = ExtResource("3_hrini")
[node name="StoryFrameScene3" parent="." instance=ExtResource("1_b6xg8")]
layout_mode = 1
offset_left = 6.0
offset_top = 315.0
offset_right = 5.57593
offset_bottom = 315.0
scale = Vector2(0.472222, 0.472222)
background = ExtResource("4_0x4tc")
foreground = ExtResource("5_6a2eb")
[node name="StoryFrameScene4" parent="." instance=ExtResource("1_b6xg8")]
layout_mode = 1
offset_left = 305.0
offset_top = 303.0
offset_right = 304.576
offset_bottom = 303.0
scale = Vector2(0.504541, 0.504541)
background = ExtResource("6_e06r6")
foreground = ExtResource("7_iak52")
[node name="TextureButton" type="TextureButton" parent="."]
layout_mode = 0
offset_left = 528.0
offset_top = 406.0
offset_right = 929.445
offset_bottom = 606.722
rotation = -0.133149
scale = Vector2(0.683034, 0.685895)
pivot_offset = Vector2(200.539, 101.085)
texture_normal = ExtResource("8_eh7sb")
texture_hover = ExtResource("9_ksbta")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_rcg3x")
}
autoplay = "idle"
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 764.0
offset_top = 345.0
offset_right = 964.0
offset_bottom = 445.0
rotation = 0.240703
scale = Vector2(0.715674, 0.715674)
pivot_offset = Vector2(105.01, 42.7946)
texture = ExtResource("9_pbwjt")
[node name="TextureRect2" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 607.0
offset_top = 13.0
offset_right = 1507.0
offset_bottom = 613.0
scale = Vector2(0.53066, 0.508364)
texture = ExtResource("10_hirgk")

View file

@ -0,0 +1,73 @@
[gd_scene load_steps=7 format=3 uid="uid://cm1qravdpxhn4"]
[ext_resource type="Script" path="res://scripts/story_frame_script.gd" id="1_i6q4u"]
[ext_resource type="Texture2D" uid="uid://b0olfb3q10r26" path="res://assets/storyImage1.png" id="2_8se21"]
[ext_resource type="Texture2D" uid="uid://due5f7l8a66rm" path="res://assets/frame1.png" id="3_lqbjx"]
[sub_resource type="Animation" id="Animation_wrkak"]
resource_name = "idle"
length = 20.0
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("background:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 19.9667),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-47, 46), Vector2(53, -44)]
}
[sub_resource type="Animation" id="Animation_do1id"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("background:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-47, 46)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jgudp"]
_data = {
"RESET": SubResource("Animation_do1id"),
"idle": SubResource("Animation_wrkak")
}
[node name="StoryFrameScene" type="Control"]
clip_contents = true
layout_mode = 3
anchor_right = 0.562
anchor_bottom = 1.0
offset_right = -0.424072
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_i6q4u")
background = ExtResource("2_8se21")
foreground = ExtResource("3_lqbjx")
[node name="background" type="TextureRect" parent="."]
layout_mode = 0
offset_left = -47.0
offset_top = 46.0
offset_right = 603.0
offset_bottom = 696.0
[node name="foreground" type="TextureRect" parent="."]
layout_mode = 0
offset_top = -1.0
offset_right = 651.0
offset_bottom = 650.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_jgudp")
}

View file

@ -0,0 +1,19 @@
@tool
extends Control
@export var background: Texture2D
@export var foreground: Texture2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$background.texture = background
$foreground.texture = foreground
$AnimationPlayer.play("idle")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass