Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0

~ start
do animation_player.play(&"walk_on")
do animation_player.animation_finished
Welcome to the StoryQuest template, where you'll learn how to mod elements of each scene and create your own StoryQuest! Let's start with the intro.
In the Godot FileSystem, find the intro folder and double-click on the intro dialogue file to edit the text.
Press enter to add a new line. Each line becomes a new dialogue box in-game.
Select Cinematic node; drag your StoryQuest dialogue to the "Dialogue" field in the Inspector.
Set the next scene using the "Next Scene" field in the Inspector.
do animation_player.play(&"walk_off")
Explore other elements to mod, like the placeholder image, tile map, and animation options for this scene!
=> END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[remap]

importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://b87k5a7omtpta"
path="res://.godot/imported/story_quest_contradi_intro.dialogue-4d6f8884cc9edb13314a509991d1cdee.tres"

[deps]

source_file="res://scenes/quests/story_quests/aventuras_de_un_capa/0_intro/intro_components/story_quest_contradi_intro.dialogue"
dest_files=["res://.godot/imported/story_quest_contradi_intro.dialogue-4d6f8884cc9edb13314a509991d1cdee.tres"]

[params]

defaults=true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://b8byrn8uu1h2a"
path="res://.godot/imported/story_quest_contradi_intro_image.png-799ca86eb24b67cd9d13b0426ba6020f.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://scenes/quests/story_quests/aventuras_de_un_capa/0_intro/intro_components/story_quest_contradi_intro_image.png"
dest_files=["res://.godot/imported/story_quest_contradi_intro_image.png-799ca86eb24b67cd9d13b0426ba6020f.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
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/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
[gd_scene load_steps=11 format=4 uid="uid://1p1b0d6fgby6"]

[ext_resource type="TileSet" uid="uid://07fq3rspk8ia" path="res://scenes/tileset.tres" id="1_er1am"]
[ext_resource type="Texture2D" uid="uid://b8byrn8uu1h2a" path="res://scenes/quests/story_quests/AventurasDeUnCapa/0_intro/intro_components/story_quest_contradi_intro_image.png" id="2_7amdu"]
[ext_resource type="SpriteFrames" uid="uid://ols55sc3oqoa" path="res://scenes/quests/story_quests/AventurasDeUnCapa/player_components/story_quest_contradi_player.tres" id="3_hcry2"]
[ext_resource type="Script" uid="uid://x1mxt6bmei2o" path="res://scenes/ui_elements/cinematic/cinematic.gd" id="4_24j7r"]
[ext_resource type="Resource" uid="uid://b87k5a7omtpta" path="res://scenes/quests/story_quests/AventurasDeUnCapa/0_intro/intro_components/story_quest_contradi_intro.dialogue" id="5_1d6en"]
[ext_resource type="PackedScene" uid="uid://v3usqiwy5wpr" path="res://scenes/game_elements/props/decoration/rock/rock.tscn" id="6_ta74q"]

[sub_resource type="Animation" id="Animation_twb7e"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("OnTheGround/Character:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [&"idle"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("OnTheGround/Character:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(400, 349)]
}

[sub_resource type="Animation" id="Animation_jo0oe"]
resource_name = "walk_off"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("OnTheGround/Character:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [&"walk", &"idle"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("OnTheGround/Character:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(495, 478), Vector2(1010, 478)]
}

[sub_resource type="Animation" id="Animation_cdvmj"]
resource_name = "walk_on"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("OnTheGround/Character:animation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [&"walk", &"idle"]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("OnTheGround/Character:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(-50, 478), Vector2(495, 478)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_i3827"]
_data = {
&"RESET": SubResource("Animation_twb7e"),
&"walk_off": SubResource("Animation_jo0oe"),
&"walk_on": SubResource("Animation_cdvmj")
}

[node name="Intro" type="Node2D"]

[node name="TileMapLayers" type="Node2D" parent="."]

[node name="Ground" type="TileMapLayer" parent="TileMapLayers"]
tile_map_data = PackedByteArray("AAAAAAUAAQAAAAEAAAABAAUAAQABAAEAAAACAAUAAQABAAEAAAADAAUAAQABAAEAAAAEAAUAAQABAAEAAAAFAAUAAQABAAEAAAAGAAUAAQABAAEAAAAHAAUAAQABAAEAAAAIAAUAAQABAAEAAAAJAAUAAQABAAEAAAAKAAUAAQABAAEAAAALAAUAAQABAAEAAAAMAAUAAQABAAEAAAANAAUAAQABAAEAAAAOAAUAAQACAAEAAAAAAAYAAQAAAAEAAAAAAAcAAQAAAAEAAAAAAAgAAQAAAAEAAAABAAYAAQABAAEAAAABAAcAAQABAAEAAAABAAgAAQABAAEAAAACAAYAAQABAAEAAAACAAcAAQABAAEAAAACAAgAAQABAAEAAAADAAYAAQABAAEAAAADAAcAAQABAAEAAAADAAgAAQABAAEAAAAEAAYAAQABAAEAAAAEAAcAAQABAAEAAAAEAAgAAQABAAEAAAAFAAYAAQABAAEAAAAFAAcAAQABAAEAAAAFAAgAAQABAAEAAAAGAAYAAQABAAEAAAAGAAcAAQABAAEAAAAGAAgAAQABAAEAAAAHAAYAAQABAAEAAAAHAAcAAQABAAEAAAAHAAgAAQABAAEAAAAIAAYAAQABAAEAAAAIAAcAAQABAAEAAAAIAAgAAQABAAEAAAAJAAYAAQABAAEAAAAJAAcAAQABAAEAAAAJAAgAAQABAAEAAAAKAAYAAQABAAEAAAAKAAcAAQABAAEAAAAKAAgAAQABAAEAAAALAAYAAQABAAEAAAALAAcAAQABAAEAAAALAAgAAQABAAEAAAAMAAYAAQABAAEAAAAMAAcAAQABAAEAAAAMAAgAAQABAAEAAAANAAYAAQABAAEAAAANAAcAAQABAAEAAAANAAgAAQABAAEAAAAOAAYAAQACAAEAAAAOAAcAAQACAAEAAAAOAAgAAQACAAEAAAAAAAAAAQAAAAAAAAAAAAEAAQAAAAEAAAAB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AAAAQAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAIAAQAAAAEAAAA=")
tile_set = ExtResource("1_er1am")
metadata/_edit_lock_ = true

[node name="IntroImage" type="Sprite2D" parent="TileMapLayers"]
position = Vector2(770, 227)
scale = Vector2(0.802083, 0.802083)
texture = ExtResource("2_7amdu")

[node name="Sand" type="TileMapLayer" parent="TileMapLayers"]
tile_map_data = PackedByteArray("AAAKAAEABgAAAAAAAAAKAAIABgADAAEAAAAKAAMABgADAAEAAAAKAAQABgADAAEAAAANAAEABgACAAAAAAANAAIABgADAAEAAAANAAMABgADAAEAAAANAAQABgADAAEAAAAKAAUABgAAAAIAAAALAAEABgABAAMAAAALAAUABgABAAMAAAAMAAEABgABAAMAAAAMAAUABgABAAMAAAANAAUABgACAAIAAAAAAAcAAQAGAAMAAAABAAcAAQAGAAMAAAACAAcAAQAGAAMAAAADAAcAAQAGAAMAAAAEAAcAAQAGAAMAAAAFAAcAAQAGAAMAAAAGAAcAAQAGAAMAAAAHAAcAAQAGAAMAAAAIAAcAAQAGAAMAAAAJAAcAAQAGAAMAAAAKAAcAAQAGAAMAAAALAAcAAQAGAAMAAAAMAAcAAQAGAAMAAAANAAcAAQAGAAMAAAAOAAcAAQAGAAMAAAA=")
tile_set = ExtResource("1_er1am")

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2(153, 366)
zoom = Vector2(1.333, 1.333)
limit_left = 0
limit_top = 0
limit_right = 960
limit_bottom = 540
position_smoothing_enabled = true
editor_draw_limits = true

[node name="OnTheGround" type="Node2D" parent="."]
y_sort_enabled = true

[node name="Character" type="AnimatedSprite2D" parent="OnTheGround"]
position = Vector2(400, 349)
sprite_frames = ExtResource("3_hcry2")
animation = &"idle"
autoplay = "idle"

[node name="AnimationPlayer" type="AnimationPlayer" parent="OnTheGround"]
root_node = NodePath("../..")
libraries = {
&"": SubResource("AnimationLibrary_i3827")
}

[node name="ScreenOverlay" type="CanvasLayer" parent="."]

[node name="Cinematic" type="Node2D" parent="." node_paths=PackedStringArray("animation_player")]
script = ExtResource("4_24j7r")
dialogue = ExtResource("5_1d6en")
animation_player = NodePath("../OnTheGround/AnimationPlayer")
next_scene = "uid://mihkjogh5a8c"
metadata/_custom_type_script = "uid://x1mxt6bmei2o"

[node name="Rock" parent="." instance=ExtResource("6_ta74q")]
position = Vector2(125, 403)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
~ start
KnitWitch: This is a checkpoint that can be used to save player progress.
{{player_name}}: Thanks!
=> END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[remap]

importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://c8q0o26v2dai6"
path="res://.godot/imported/story_quest_contradi_checkpoint.dialogue-daa4b85cc57f0d5a34114c23937dcff0.tres"

[deps]

source_file="res://scenes/quests/story_quests/aventuras_de_un_capa/1_stealth/stealth_components/story_quest_contradi_checkpoint.dialogue"
dest_files=["res://.godot/imported/story_quest_contradi_checkpoint.dialogue-daa4b85cc57f0d5a34114c23937dcff0.tres"]

[params]

defaults=true
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# SPDX-FileCopyrightText: The Threadbare Authors
# SPDX-License-Identifier: MPL-2.0
~ start
Select the CollectibleItem node and set "Next Scene" and "Item > Type" in the Inspector.
You're doin' great!
=> END
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[remap]

importer="dialogue_manager"
importer_version=15
type="Resource"
uid="uid://b80ww0yvhcap3"
path="res://.godot/imported/story_quest_contradi_collected.dialogue-7f84ac7c732477061fe43040672f4dee.tres"

[deps]

source_file="res://scenes/quests/story_quests/aventuras_de_un_capa/1_stealth/stealth_components/story_quest_contradi_collected.dialogue"
dest_files=["res://.godot/imported/story_quest_contradi_collected.dialogue-7f84ac7c732477061fe43040672f4dee.tres"]

[params]

defaults=true
Loading