update - add replot and migration to godot 4.4

This commit is contained in:
2025-08-24 09:58:06 +02:00
parent c635028d02
commit c9583a396c
352 changed files with 12864 additions and 305 deletions

View File

@@ -1,34 +1,38 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=5 format=3 uid="uid://doqsxl0ob2j5c"]
[ext_resource path="res://scenes/characters/DespawnFx.gd" type="Script" id=1]
[ext_resource path="res://textures/pj/smoke_particle.png" type="Texture2D" id=2]
[sub_resource type="Resource" id="Resource_gjgc1"]
metadata/__load_path__ = "res://textures/pj/smoke_particle.png"
[sub_resource type="Curve" id=1]
min_value = -360.0
max_value = 360.0
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Curve" id="1"]
_limits = [-360.0, 360.0, 0.0, 1.0]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.383915, 0.8806 ), -1.68353, -1.68353, 0, 0, Vector2( 1, 0.0885999 ), -0.00244711, 0.0, 0, 0 ]
[sub_resource type="Curve" id="2"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.383915, 0.8806), -1.68353, -1.68353, 0, 0, Vector2(1, 0.0885999), -0.00244711, 0.0, 0, 0]
point_count = 3
[sub_resource type="Resource" id="Resource_bsf13"]
metadata/__load_path__ = "res://scenes/characters/DespawnFx.gd"
[node name="despawn_fx" type="CPUParticles2D"]
position = Vector2( 443.999, 413.999 )
position = Vector2(443.999, 413.999)
emitting = false
amount = 16
lifetime = 0.5
one_shot = true
explosiveness = 1.0
texture = ExtResource( 2 )
direction = Vector2( 0, -1 )
gravity = Vector2( 0, 0 )
texture = SubResource("Resource_gjgc1")
direction = Vector2(0, -1)
gravity = Vector2(0, 0)
initial_velocity = 1500.0
initial_velocity_random = 0.5
angular_velocity = 360.0
angular_velocity_random = 1.0
angular_velocity_curve = SubResource( 1 )
angular_velocity_curve = SubResource("1")
linear_accel = -5000.0
linear_accel_random = 0.2
damping = 100.0
scale_amount_random = 0.5
scale_amount_curve = SubResource( 2 )
script = ExtResource( 1 )
scale_amount_curve = SubResource("2")
script = SubResource("Resource_bsf13")

View File

@@ -5,4 +5,3 @@ func _ready():
await get_tree().create_timer(0.8).timeout
queue_free()
pass # Replace with function body.

View File

@@ -0,0 +1 @@
uid://bbnmk161btyrk

View File

@@ -0,0 +1 @@
uid://c85j4c7jwmiw

View File

@@ -1,197 +1,197 @@
[gd_scene load_steps=9 format=2]
[gd_scene load_steps=9 format=3 uid="uid://dixym3wfxmwex"]
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=1]
[ext_resource path="res://scenes/misc/Dialog_box.gd" type="Script" id=2]
[ext_resource path="res://textures/misc/dialog_box.png" type="Texture2D" id=3]
[ext_resource path="res://textures/misc/next_dialog_arrow.png" type="Texture2D" id=4]
[ext_resource type="FontFile" path="res://fonts/dialog.tres" id="1"]
[ext_resource type="Script" uid="uid://c85j4c7jwmiw" path="res://scenes/misc/Dialog_box.gd" id="2"]
[ext_resource type="Texture2D" uid="uid://b11fkjdfi4p5w" path="res://textures/misc/dialog_box.png" id="3"]
[ext_resource type="Texture2D" uid="uid://d0gd418kr1fg2" path="res://textures/misc/next_dialog_arrow.png" id="4"]
[sub_resource type="Animation" id=1]
[sub_resource type="Animation" id="1"]
resource_name = "appear"
length = 0.1
step = 0.01
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("dialog_text:visible_characters")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ 0 ]
"values": [0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:modulate")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PackedFloat32Array( 0, 0.1 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:visible")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ true ]
"values": [true]
}
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"values": [ {
"args": [ "dialog_started" ],
"method": "emit_signal"
} ]
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"values": [{
"args": ["dialog_started"],
"method": &"emit_signal"
}]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath(".:position")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PackedFloat32Array( 0.00472333, 0.1 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0.00472333, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [ Vector2( 0, 585 ), Vector2( 0, 427 ) ]
"values": [Vector2(0, 585), Vector2(0, 427)]
}
tracks/5/type = "method"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("dialog_text")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PackedFloat32Array( 0.1 ),
"transitions": PackedFloat32Array( 1 ),
"values": [ {
"args": [ "resized" ],
"method": "emit_signal"
} ]
"times": PackedFloat32Array(0.1),
"transitions": PackedFloat32Array(1),
"values": [{
"args": ["resized"],
"method": &"emit_signal"
}]
}
[sub_resource type="Animation" id=2]
[sub_resource type="Animation" id="2"]
resource_name = "disappear"
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 0.1 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PackedFloat32Array( 0.1 ),
"transitions": PackedFloat32Array( 1 ),
"times": PackedFloat32Array(0.1),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ false ]
"values": [false]
}
tracks/2/type = "method"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"values": [ {
"args": [ "dialog_ended" ],
"method": "emit_signal"
} ]
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"values": [{
"args": ["dialog_ended"],
"method": &"emit_signal"
}]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PackedFloat32Array( 0, 0.1 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0, 0.1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [ Vector2( 0, 427 ), Vector2( 0, 582 ) ]
"values": [Vector2(0, 427), Vector2(0, 582)]
}
[sub_resource type="Animation" id=3]
[sub_resource type="Animation" id="3"]
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("dialog_text:visible_characters")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 2 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0, 2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [ 0, 150 ]
"values": [0, 150]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("next_dialog_arrow:visible")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ false ]
"values": [false]
}
[sub_resource type="Animation" id=4]
loop = true
[sub_resource type="Animation" id="4"]
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("next_dialog_arrow:visible")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PackedFloat32Array( 0, 0.5 ),
"transitions": PackedFloat32Array( 1, 1 ),
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [ true, false ]
"values": [true, false]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("dialog_text:visible_characters")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PackedFloat32Array( 0 ),
"transitions": PackedFloat32Array( 1 ),
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [ 150 ]
"values": [150]
}
[node name="Dialog_box" type="TextureRect"]
@@ -200,10 +200,10 @@ anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -173.0
offset_bottom = 1.00024
texture = ExtResource( 3 )
texture = ExtResource("3")
expand = true
stretch_mode = 6
script = ExtResource( 2 )
script = ExtResource("2")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -215,8 +215,8 @@ offset_left = 54.0
offset_top = 45.0
offset_right = -58.0
offset_bottom = -38.0
theme_override_fonts/font = ExtResource( 1 )
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_fonts/font = ExtResource("1")
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In semper molestie erat, id aliquam nulla iaculis a. Suspendisse consectetur vehicula consequat. Integer mollis libero sed sem convallis, vitae rutrum metus dapibus. Phasellus purus quam, euismod id diam ut, semper sagittis ipsum. Aenean vel mollis lectus, quis placerat eros. Donec elementum vestibulum augue dignissim vehicula. Mauris ultricies lacus id odio aliquet, eu iaculis urna sodales. "
autowrap = true
clip_text = true
@@ -235,7 +235,7 @@ offset_left = -121.545
offset_top = -52.964
offset_right = -66.5452
offset_bottom = -6.96399
texture = ExtResource( 4 )
texture = ExtResource("4")
expand = true
stretch_mode = 6
__meta__ = {
@@ -247,7 +247,7 @@ offset_left = 31.0
offset_top = 1.0
offset_right = 524.0
offset_bottom = 45.0
texture = ExtResource( 3 )
texture = ExtResource("3")
expand = true
__meta__ = {
"_edit_use_anchors_": false
@@ -262,16 +262,16 @@ offset_left = -227.5
offset_top = -21.0
offset_right = 227.5
offset_bottom = 22.0
theme_override_fonts/font = ExtResource( 1 )
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
theme_override_fonts/font = ExtResource("1")
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = "Character Name"
align = 1
clip_text = true
[node name="anims" type="AnimationPlayer" parent="."]
anims/appear = SubResource( 1 )
anims/disappear = SubResource( 2 )
anims/show_text = SubResource( 3 )
anims/wait = SubResource( 4 )
anims/appear = SubResource("1")
anims/disappear = SubResource("2")
anims/show_text = SubResource("3")
anims/wait = SubResource("4")
next/appear = "show_text"
next/show_text = "wait"

1
scenes/misc/Exit.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://hfhs4flahp0q

View File

@@ -4,7 +4,7 @@ extends HBoxContainer
Connects to the player node and shows a health bar in the form of hearts
"""
var player : Player = null
var player : Player_Replot = null
var heart_scene = preload("res://scenes/misc/Heart.tscn")
# Called when the node enters the scene tree for the first time.
func _ready():

View File

@@ -0,0 +1 @@
uid://c2hgmqaenaphi

View File

@@ -1,13 +1,13 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://dhd7niuys3i7a"]
[ext_resource path="res://scenes/misc/Healthbar.gd" type="Script" id=1]
[ext_resource type="Script" uid="uid://c2hgmqaenaphi" path="res://scenes/misc/Healthbar.gd" id="1"]
[node name="Healthbar" type="HBoxContainer"]
offset_left = 8.0
offset_top = 11.0
offset_right = 115.0
offset_bottom = 39.0
script = ExtResource( 1 )
script = ExtResource("1")
__meta__ = {
"_edit_use_anchors_": false
}

View File

@@ -0,0 +1 @@
uid://43fh1rkiinh4

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://diyvimfdbk4sn"]
[ext_resource path="res://scenes/misc/ItemSpawner.gd" type="Script" id=1]
[ext_resource type="Script" uid="uid://43fh1rkiinh4" path="res://scenes/misc/ItemSpawner.gd" id="1"]
[node name="item_spawner" type="Marker2D"]
script = ExtResource( 1 )
script = ExtResource("1")

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=2 format=3 uid="uid://dg7uaf46ht88o"]
[sub_resource type="GDScript" id=1]
[sub_resource type="GDScript" id="1"]
script/source = "extends Node
\"\"\"
@@ -25,4 +25,4 @@ func _ready():
"
[node name="music_track" type="Node"]
script = SubResource( 1 )
script = SubResource("1")

1
scenes/misc/Quest.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://b5o8rt4imirfp

View File

@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://dwu2tlrkse1kh"]
[ext_resource type="Script" path="res://scenes/misc/Quest.gd" id="1"]
[ext_resource type="Script" uid="uid://b5o8rt4imirfp" path="res://scenes/misc/Quest.gd" id="1"]
[node name="Quest" type="Node"]
script = ExtResource("1")

1
scenes/misc/Stats.gd.uid Normal file
View File

@@ -0,0 +1 @@
uid://b1pgo713a40sk

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=5 format=3 uid="uid://bqve5rs25qs84"]
[ext_resource path="res://scenes/misc/Stats.gd" type="Script" id=1]
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=2]
[ext_resource path="res://fonts/stats.tres" type="FontFile" id=3]
[ext_resource path="res://scenes/misc/stats.stylebox" type="StyleBox" id=4]
[ext_resource type="Script" uid="uid://b1pgo713a40sk" path="res://scenes/misc/Stats.gd" id="1"]
[ext_resource type="FontFile" path="res://fonts/dialog.tres" id="2"]
[ext_resource type="FontFile" path="res://fonts/stats.tres" id="3"]
[ext_resource type="StyleBox" uid="uid://bmwyr86qlg4lp" path="res://scenes/misc/stats.stylebox" id="4"]
[node name="Stats" type="PanelContainer"]
process_mode = 3
@@ -13,8 +13,8 @@ anchor_bottom = 1.0
focus_neighbor_top = NodePath("VBoxContainer/Exit")
focus_neighbor_bottom = NodePath("VBoxContainer/Exit")
focus_mode = 2
theme_override_styles/panel = ExtResource( 4 )
script = ExtResource( 1 )
theme_override_styles/panel = ExtResource("4")
script = ExtResource("1")
__meta__ = {
"_edit_use_anchors_": false
}
@@ -30,7 +30,7 @@ size_flags_vertical = 3
[node name="Paused" type="Label" parent="VBoxContainer"]
offset_right = 984.0
offset_bottom = 43.0
theme_override_fonts/font = ExtResource( 2 )
theme_override_fonts/font = ExtResource("2")
text = "Paused"
align = 1
@@ -52,7 +52,7 @@ size_flags_vertical = 3
offset_right = 490.0
offset_bottom = 43.0
size_flags_horizontal = 3
theme_override_fonts/font = ExtResource( 2 )
theme_override_fonts/font = ExtResource("2")
text = "Quests"
align = 1
@@ -62,7 +62,7 @@ offset_right = 490.0
offset_bottom = 460.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_fonts/font = ExtResource( 3 )
theme_override_fonts/font = ExtResource("3")
text = "Quest 1
Quest 2
Quest 3
@@ -77,7 +77,7 @@ size_flags_horizontal = 3
[node name="Title" type="Label" parent="VBoxContainer/HBoxContainer/Inventory"]
offset_right = 490.0
offset_bottom = 43.0
theme_override_fonts/font = ExtResource( 2 )
theme_override_fonts/font = ExtResource("2")
text = "Inventory"
align = 1
@@ -87,7 +87,7 @@ offset_right = 490.0
offset_bottom = 460.0
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_fonts/font = ExtResource( 3 )
theme_override_fonts/font = ExtResource("3")
text = "Item 1
"
@@ -95,7 +95,8 @@ text = "Item 1
offset_top = 511.0
offset_right = 984.0
offset_bottom = 560.0
theme_override_fonts/font = ExtResource( 2 )
theme_override_fonts/font = ExtResource("2")
text = "EXIT"
flat = true
[connection signal="pressed" from="VBoxContainer/Exit" to="." method="_on_Exit_pressed"]

View File

@@ -0,0 +1 @@
uid://3crd8layxqt0

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://iu0aegkhj8po"]
[ext_resource type="FontFile" path="res://fonts/stats.tres" id="1"]
[ext_resource type="Script" path="res://scenes/misc/StatusText.gd" id="2"]
[ext_resource type="Script" uid="uid://3crd8layxqt0" path="res://scenes/misc/StatusText.gd" id="2"]
[sub_resource type="Animation" id="1"]
resource_name = "update"
@@ -46,7 +46,7 @@ tracks/2/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jtjwp"]
_data = {
"update": SubResource("1")
&"update": SubResource("1")
}
[node name="Status_text" type="Label"]

View File

@@ -0,0 +1 @@
uid://bsv5cgemdoh3f

View File

@@ -1,10 +1,10 @@
[gd_scene load_steps=8 format=3 uid="uid://deqgnj30xx13t"]
[ext_resource type="PackedScene" path="res://scenes/misc/Dialog_box.tscn" id="1"]
[ext_resource type="PackedScene" path="res://scenes/misc/Stats.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://dixym3wfxmwex" path="res://scenes/misc/Dialog_box.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://bqve5rs25qs84" path="res://scenes/misc/Stats.tscn" id="2"]
[ext_resource type="PackedScene" uid="uid://iu0aegkhj8po" path="res://scenes/misc/StatusText.tscn" id="3"]
[ext_resource type="PackedScene" path="res://scenes/misc/Healthbar.tscn" id="4"]
[ext_resource type="Script" path="res://scenes/misc/TouchInterface.gd" id="7"]
[ext_resource type="PackedScene" uid="uid://dhd7niuys3i7a" path="res://scenes/misc/Healthbar.tscn" id="4"]
[ext_resource type="Script" uid="uid://bsv5cgemdoh3f" path="res://scenes/misc/TouchInterface.gd" id="7"]
[ext_resource type="Texture2D" uid="uid://bf8tm281iqk3u" path="res://textures/misc/arrow.png" id="10"]
[sub_resource type="RectangleShape2D" id="1"]

Binary file not shown.