update - add replot and migration to godot 4.4
This commit is contained in:
1
scenes/characters/Enemy.gd.uid
Normal file
1
scenes/characters/Enemy.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://ca7usxb155a2d
|
||||
@@ -1,9 +1,11 @@
|
||||
[gd_scene load_steps=23 format=3 uid="uid://bycx5snr304xk"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/characters/Enemy.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgmhft8dl1n3d" path="res://textures/pj/pj.png" id="2"]
|
||||
[ext_resource type="Script" uid="uid://ca7usxb155a2d" path="res://scenes/characters/Enemy.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/misc/ItemSpawner.tscn" id="3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_tfno1"]
|
||||
metadata/__load_path__ = "res://textures/pj/pj.png"
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 35.8589
|
||||
height = 71.7178
|
||||
@@ -1158,22 +1160,22 @@ tracks/4/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_we5lc"]
|
||||
_data = {
|
||||
"die": SubResource("2"),
|
||||
"hurt": SubResource("3"),
|
||||
"idle_down": SubResource("4"),
|
||||
"idle_left": SubResource("5"),
|
||||
"idle_right": SubResource("6"),
|
||||
"idle_up": SubResource("7"),
|
||||
"reset": SubResource("8"),
|
||||
"roll": SubResource("9"),
|
||||
"slash_down": SubResource("10"),
|
||||
"slash_left": SubResource("11"),
|
||||
"slash_right": SubResource("12"),
|
||||
"slash_up": SubResource("13"),
|
||||
"walk_down": SubResource("14"),
|
||||
"walk_left": SubResource("15"),
|
||||
"walk_right": SubResource("16"),
|
||||
"walk_up": SubResource("17")
|
||||
&"die": SubResource("2"),
|
||||
&"hurt": SubResource("3"),
|
||||
&"idle_down": SubResource("4"),
|
||||
&"idle_left": SubResource("5"),
|
||||
&"idle_right": SubResource("6"),
|
||||
&"idle_up": SubResource("7"),
|
||||
&"reset": SubResource("8"),
|
||||
&"roll": SubResource("9"),
|
||||
&"slash_down": SubResource("10"),
|
||||
&"slash_left": SubResource("11"),
|
||||
&"slash_right": SubResource("12"),
|
||||
&"slash_up": SubResource("13"),
|
||||
&"walk_down": SubResource("14"),
|
||||
&"walk_left": SubResource("15"),
|
||||
&"walk_right": SubResource("16"),
|
||||
&"walk_up": SubResource("17")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="18"]
|
||||
@@ -1187,7 +1189,7 @@ script = ExtResource("1")
|
||||
[node name="sprite" type="Sprite2D" parent="."]
|
||||
modulate = Color(0, 0, 0, 1)
|
||||
position = Vector2(6.30249, -86.9744)
|
||||
texture = ExtResource("2")
|
||||
texture = SubResource("Resource_tfno1")
|
||||
hframes = 8
|
||||
vframes = 4
|
||||
frame = 2
|
||||
|
||||
1
scenes/characters/Npc.gd.uid
Normal file
1
scenes/characters/Npc.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://b08gn63a4wjcf
|
||||
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://b7p1kli4j11fo"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/characters/Npc.gd" id="1"]
|
||||
[ext_resource type="Script" uid="uid://b08gn63a4wjcf" path="res://scenes/characters/Npc.gd" id="1"]
|
||||
|
||||
[sub_resource type="Animation" id="1"]
|
||||
resource_name = "idle"
|
||||
@@ -33,7 +33,7 @@ tracks/1/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k00qb"]
|
||||
_data = {
|
||||
"idle": SubResource("1")
|
||||
&"idle": SubResource("1")
|
||||
}
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="2"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extends CharacterBody2D
|
||||
|
||||
class_name Player
|
||||
class_name Player_Replot
|
||||
|
||||
"""
|
||||
This implements a very rudimentary state machine. There are better implementations
|
||||
|
||||
1
scenes/characters/Player.gd.uid
Normal file
1
scenes/characters/Player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://olimaj6fffcd
|
||||
@@ -1,8 +1,8 @@
|
||||
[gd_scene load_steps=27 format=3 uid="uid://ctd3mgp0s172q"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/characters/Player.gd" id="2"]
|
||||
[ext_resource type="Script" uid="uid://olimaj6fffcd" path="res://scenes/characters/Player.gd" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://3au1pfa7jj5l" path="res://textures/kid/kid.png" id="2_rhd3n"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/characters/debug_character.tscn" id="3"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccvjd5pjq0f5g" path="res://scenes/characters/debug_character.tscn" id="3"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 9.00003
|
||||
@@ -733,26 +733,26 @@ tracks/1/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qdvjb"]
|
||||
_data = {
|
||||
"die": SubResource("2"),
|
||||
"hurt": SubResource("3"),
|
||||
"idle_E": SubResource("6"),
|
||||
"idle_N": SubResource("7"),
|
||||
"idle_S": SubResource("4"),
|
||||
"idle_W": SubResource("5"),
|
||||
"reset": SubResource("8"),
|
||||
"roll": SubResource("9"),
|
||||
"slash_down": SubResource("10"),
|
||||
"slash_left": SubResource("11"),
|
||||
"slash_right": SubResource("12"),
|
||||
"slash_up": SubResource("13"),
|
||||
"walk_E": SubResource("Animation_qdqhh"),
|
||||
"walk_N": SubResource("Animation_ef7ow"),
|
||||
"walk_NE": SubResource("Animation_m2uo2"),
|
||||
"walk_NW": SubResource("Animation_bcwxc"),
|
||||
"walk_S": SubResource("Animation_ixjcm"),
|
||||
"walk_SE": SubResource("Animation_fq7dv"),
|
||||
"walk_SW": SubResource("Animation_ek8m1"),
|
||||
"walk_W": SubResource("14")
|
||||
&"die": SubResource("2"),
|
||||
&"hurt": SubResource("3"),
|
||||
&"idle_E": SubResource("6"),
|
||||
&"idle_N": SubResource("7"),
|
||||
&"idle_S": SubResource("4"),
|
||||
&"idle_W": SubResource("5"),
|
||||
&"reset": SubResource("8"),
|
||||
&"roll": SubResource("9"),
|
||||
&"slash_down": SubResource("10"),
|
||||
&"slash_left": SubResource("11"),
|
||||
&"slash_right": SubResource("12"),
|
||||
&"slash_up": SubResource("13"),
|
||||
&"walk_E": SubResource("Animation_qdqhh"),
|
||||
&"walk_N": SubResource("Animation_ef7ow"),
|
||||
&"walk_NE": SubResource("Animation_m2uo2"),
|
||||
&"walk_NW": SubResource("Animation_bcwxc"),
|
||||
&"walk_S": SubResource("Animation_ixjcm"),
|
||||
&"walk_SE": SubResource("Animation_fq7dv"),
|
||||
&"walk_SW": SubResource("Animation_ek8m1"),
|
||||
&"walk_W": SubResource("14")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="18"]
|
||||
@@ -783,7 +783,7 @@ position = Vector2(6.362, -53.087)
|
||||
|
||||
[node name="anims" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_qdvjb")
|
||||
&"": SubResource("AnimationLibrary_qdvjb")
|
||||
}
|
||||
|
||||
[node name="camera" type="Camera2D" parent="."]
|
||||
|
||||
BIN
scenes/characters/charplot/kidfbx/Dying.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Dying.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Dying.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Dying.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dns1by78v2b06"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Dying.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Getting Hit.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Getting Hit.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Getting Hit.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Getting Hit.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://28tb7vav8fkp"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Getting Hit.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Goofy Running.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Goofy Running.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Goofy Running.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Goofy Running.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://d07u7dr3j81p8"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Goofy Running.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Hit On Side Of Body.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Hit On Side Of Body.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://7ln14ii7w7e3"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Hit On Side Of Body.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Jumping.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Jumping.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Jumping.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Jumping.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bvojxfjjmuxti"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Jumping.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Jumping2.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Jumping2.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Jumping2.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Jumping2.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://5h7mj837pxac"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Jumping2.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
2825
scenes/characters/charplot/kidfbx/Jumping_out/Jumping.gltf
Normal file
2825
scenes/characters/charplot/kidfbx/Jumping_out/Jumping.gltf
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,45 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dr26fkn40s8sf"
|
||||
path="res://.godot/imported/Jumping.gltf-c00e89b8f20fa69f3e240ffeefc50178.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Jumping_out/Jumping.gltf"
|
||||
dest_files=["res://.godot/imported/Jumping.gltf-c00e89b8f20fa69f3e240ffeefc50178.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={
|
||||
"nodes": {
|
||||
"PATH:RootNode/Skeleton3D": {
|
||||
"retarget/bone_map": Object(BoneMap,"resource_local_to_scene":false,"resource_name":"","profile":Object(SkeletonProfileHumanoid,"resource_local_to_scene":false,"resource_name":"","root_bone":&"Root","scale_base_bone":&"Hips","group_size":4,"bone_size":56,"script":null)
|
||||
,"bonemap":null,"bone_map/Root":&"","bone_map/Hips":&"mixamorig6_Hips","bone_map/Spine":&"mixamorig6_Spine","bone_map/Chest":&"mixamorig6_Spine1","bone_map/UpperChest":&"mixamorig6_Spine2","bone_map/Neck":&"mixamorig6_Neck","bone_map/Head":&"mixamorig6_Head","bone_map/LeftEye":&"","bone_map/RightEye":&"","bone_map/Jaw":&"","bone_map/LeftShoulder":&"mixamorig6_LeftShoulder","bone_map/LeftUpperArm":&"mixamorig6_LeftArm","bone_map/LeftLowerArm":&"mixamorig6_LeftForeArm","bone_map/LeftHand":&"mixamorig6_LeftHand","bone_map/LeftThumbMetacarpal":&"LeftHandThumb2","bone_map/LeftThumbProximal":&"LeftHandThumb3","bone_map/LeftThumbDistal":&"LeftHandThumb4","bone_map/LeftIndexProximal":&"mixamorig6_LeftHandIndex2","bone_map/LeftIndexIntermediate":&"mixamorig6_LeftHandIndex3","bone_map/LeftIndexDistal":&"mixamorig6_LeftHandIndex4","bone_map/LeftMiddleProximal":&"mixamorig6_LeftHandMiddle2","bone_map/LeftMiddleIntermediate":&"mixamorig6_LeftHandMiddle3","bone_map/LeftMiddleDistal":&"mixamorig6_LeftHandMiddle4","bone_map/LeftRingProximal":&"mixamorig6_LeftHandRing2","bone_map/LeftRingIntermediate":&"mixamorig6_LeftHandRing3","bone_map/LeftRingDistal":&"mixamorig6_LeftHandRing4","bone_map/LeftLittleProximal":&"mixamorig6_LeftHandPinky2","bone_map/LeftLittleIntermediate":&"mixamorig6_LeftHandPinky3","bone_map/LeftLittleDistal":&"mixamorig6_LeftHandPinky4","bone_map/RightShoulder":&"mixamorig6_RightShoulder","bone_map/RightUpperArm":&"mixamorig6_RightArm","bone_map/RightLowerArm":&"mixamorig6_RightForeArm","bone_map/RightHand":&"mixamorig6_RightHand","bone_map/RightThumbMetacarpal":&"RightHandThumb2","bone_map/RightThumbProximal":&"RightHandThumb3","bone_map/RightThumbDistal":&"RightHandThumb4","bone_map/RightIndexProximal":&"mixamorig6_RightHandIndex2","bone_map/RightIndexIntermediate":&"mixamorig6_RightHandIndex3","bone_map/RightIndexDistal":&"mixamorig6_RightHandIndex4","bone_map/RightMiddleProximal":&"mixamorig6_RightHandMiddle2","bone_map/RightMiddleIntermediate":&"mixamorig6_RightHandMiddle3","bone_map/RightMiddleDistal":&"mixamorig6_RightHandMiddle4","bone_map/RightRingProximal":&"mixamorig6_RightHandRing2","bone_map/RightRingIntermediate":&"mixamorig6_RightHandRing3","bone_map/RightRingDistal":&"mixamorig6_RightHandRing4","bone_map/RightLittleProximal":&"mixamorig6_RightHandPinky2","bone_map/RightLittleIntermediate":&"mixamorig6_RightHandPinky3","bone_map/RightLittleDistal":&"mixamorig6_RightHandPinky4","bone_map/LeftUpperLeg":&"mixamorig6_LeftUpLeg","bone_map/LeftLowerLeg":&"mixamorig6_LeftLeg","bone_map/LeftFoot":&"mixamorig6_LeftFoot","bone_map/LeftToes":&"mixamorig6_LeftToeBase","bone_map/RightUpperLeg":&"mixamorig6_RightUpLeg","bone_map/RightLowerLeg":&"mixamorig6_RightLeg","bone_map/RightFoot":&"mixamorig6_RightFoot","bone_map/RightToes":&"mixamorig6_RightToeBase","script":null)
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Jumping_out/buffer.bin
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Jumping_out/buffer.bin
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
scenes/characters/charplot/kidfbx/Left Turn.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Left Turn.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Left Turn.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Left Turn.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cj225gkhrmn3"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Left Turn.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Right Turn char2.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Right Turn char2.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://c4u31dic1b85q"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Right Turn char2.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Right Turn.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Right Turn.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Right Turn.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Right Turn.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b1ay803xwb8no"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Right Turn.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Slow Run.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Slow Run.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Slow Run.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Slow Run.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://cuwoslqygp0r3"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Slow Run.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfpygwuyqbup3"
|
||||
path.s3tc="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png-6aa92082570bc33a48d62f2282ef9f07.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png-6aa92082570bc33a48d62f2282ef9f07.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png-6aa92082570bc33a48d62f2282ef9f07.s3tc.ctex", "res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Diffuse.png-6aa92082570bc33a48d62f2282ef9f07.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b7bq17qcedcd6"
|
||||
path.s3tc="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png-860a60f064e61f6a49265a5ab6d80e05.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png-860a60f064e61f6a49265a5ab6d80e05.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png-860a60f064e61f6a49265a5ab6d80e05.s3tc.ctex", "res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png-860a60f064e61f6a49265a5ab6d80e05.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://scenes/characters/print/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_Ch09_1001_Normal.png"
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b2h8dyqgs8jcc"
|
||||
path.s3tc="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png-c6ab2ce8b3c5902ab04dbe9819fe9270.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png-c6ab2ce8b3c5902ab04dbe9819fe9270.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png-c6ab2ce8b3c5902ab04dbe9819fe9270.s3tc.ctex", "res://.godot/imported/Walking-80e3b1e3a7eb853e3ab54c04933a492e_ao_met_rough_Ch09_1001_Glossiness.png-c6ab2ce8b3c5902ab04dbe9819fe9270.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://kfq8kcy25j5i"
|
||||
path.s3tc="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png-0bd8cc392e625d207cda1212dd1952a7.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png-0bd8cc392e625d207cda1212dd1952a7.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png-0bd8cc392e625d207cda1212dd1952a7.s3tc.ctex", "res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Diffuse.png-0bd8cc392e625d207cda1212dd1952a7.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfo6juqw38qu0"
|
||||
path.s3tc="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png-2e83cc8e47e340c4dd137dbb11fa410c.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png-2e83cc8e47e340c4dd137dbb11fa410c.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png-2e83cc8e47e340c4dd137dbb11fa410c.s3tc.ctex", "res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png-2e83cc8e47e340c4dd137dbb11fa410c.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_Ch09_1001_Normal.png"
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bk53row3dx7dp"
|
||||
path.s3tc="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png-1ed1c2a5557f3f536279817e374dda0e.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png-1ed1c2a5557f3f536279817e374dda0e.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
generator_parameters={}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png-1ed1c2a5557f3f536279817e374dda0e.s3tc.ctex", "res://.godot/imported/Walking-9734d369d567ef19af1662750caf50b2_ao_met_rough_Ch09_1001_Glossiness.png-1ed1c2a5557f3f536279817e374dda0e.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djrtked2y51m5"
|
||||
path="res://.godot/imported/Ch09_1001_Diffuse.png-a1969f2f0039f61f994c2ee803b83599.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Diffuse.png-a1969f2f0039f61f994c2ee803b83599.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
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://hv2ypieh46av"
|
||||
path="res://.godot/imported/Ch09_1001_Glossiness.png-d4988f9e1a5170d5ad1e5838a3c6f33b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Glossiness.png-d4988f9e1a5170d5ad1e5838a3c6f33b.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
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://gh1kyii2dxps"
|
||||
path="res://.godot/imported/Ch09_1001_Normal.png-538f509e6083decaa9eb56dcf1d1d713.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Normal.png-538f509e6083decaa9eb56dcf1d1d713.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
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Specular.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Specular.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://duehi1sf6fyvr"
|
||||
path="res://.godot/imported/Ch09_1001_Specular.png-fb6cd982afe7dfd860155d1bcb0330c6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking.fbm/Ch09_1001_Specular.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Specular.png-fb6cd982afe7dfd860155d1bcb0330c6.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
scenes/characters/charplot/kidfbx/Walking.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Walking.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Walking.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://wjfg3yttvjfs"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking2.fbx
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking2.fbx
(Stored with Git LFS)
Normal file
Binary file not shown.
37
scenes/characters/charplot/kidfbx/Walking2.fbx.import
Normal file
37
scenes/characters/charplot/kidfbx/Walking2.fbx.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://b4uykcdeug864"
|
||||
valid=false
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking2.fbx"
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
fbx/importer=1
|
||||
fbx/allow_geometry_helper_nodes=false
|
||||
fbx/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djbmu45du2wht"
|
||||
path.s3tc="res://.godot/imported/Ch09_1001_Diffuse.png-c850a2a9d4520cecba19ee211e8f79f6.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Ch09_1001_Diffuse.png-c850a2a9d4520cecba19ee211e8f79f6.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Diffuse.png-c850a2a9d4520cecba19ee211e8f79f6.s3tc.ctex", "res://.godot/imported/Ch09_1001_Diffuse.png-c850a2a9d4520cecba19ee211e8f79f6.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dbwefh7842la6"
|
||||
path.s3tc="res://.godot/imported/Ch09_1001_Normal.png-6397a51700eb1de5047724a5ae82a07d.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Ch09_1001_Normal.png-6397a51700eb1de5047724a5ae82a07d.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking_out/Ch09_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Normal.png-6397a51700eb1de5047724a5ae82a07d.s3tc.ctex", "res://.godot/imported/Ch09_1001_Normal.png-6397a51700eb1de5047724a5ae82a07d.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://scenes/characters/print/kidfbx/Walking_out/Ch09_1001_Normal.png"
|
||||
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=0
|
||||
3154
scenes/characters/charplot/kidfbx/Walking_out/Walking.gltf
Normal file
3154
scenes/characters/charplot/kidfbx/Walking_out/Walking.gltf
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://bni3jnhp4o04h"
|
||||
path="res://.godot/imported/Walking.gltf-9047ccfd5d67cafacc8c394b70bcffc9.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking_out/Walking.gltf"
|
||||
dest_files=["res://.godot/imported/Walking.gltf-9047ccfd5d67cafacc8c394b70bcffc9.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/kidfbx/Walking_out/buffer.bin
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking_out/buffer.bin
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
scenes/characters/charplot/kidfbx/Walking_outao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/kidfbx/Walking_outao_met_rough_Ch09_1001_Glossiness.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ddlc3bwj3ixk2"
|
||||
path="res://.godot/imported/Walking_outao_met_rough_Ch09_1001_Glossiness.png-b3e15421208ae986d375a2ad43cd3fe8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/kidfbx/Walking_outao_met_rough_Ch09_1001_Glossiness.png"
|
||||
dest_files=["res://.godot/imported/Walking_outao_met_rough_Ch09_1001_Glossiness.png-b3e15421208ae986d375a2ad43cd3fe8.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
|
||||
204
scenes/characters/charplot/plot1/Player_replot.gd
Normal file
204
scenes/characters/charplot/plot1/Player_replot.gd
Normal file
@@ -0,0 +1,204 @@
|
||||
extends CharacterBody2D
|
||||
|
||||
class_name Player
|
||||
|
||||
"""
|
||||
This implements a very rudimentary state machine. There are better implementations
|
||||
in the AssetLib if you want to make something more complex. Also it shares code with Enemy.gd
|
||||
and probably both should extend some parent script
|
||||
"""
|
||||
|
||||
@export var WALK_SPEED: int = 70 # pixels per second
|
||||
@export var ROLL_SPEED: int = 1000 # pixels per second
|
||||
@export var hitpoints: int = 3
|
||||
|
||||
var linear_vel = Vector2()
|
||||
var roll_direction = Vector2.DOWN
|
||||
|
||||
signal health_changed(current_hp)
|
||||
|
||||
var despawn_fx = preload("res://scenes/misc/DespawnFX.tscn")
|
||||
|
||||
var anim = ""
|
||||
var new_anim = ""
|
||||
|
||||
const N = Vector2.UP
|
||||
const NE = Vector2(cos(1*PI/4),sin(1*PI/4))
|
||||
const E = Vector2.RIGHT
|
||||
const SE = Vector2(cos(7*PI/4),sin(7*PI/4))
|
||||
const S = Vector2.DOWN
|
||||
const SW = Vector2(cos(5*PI/4),sin(5*PI/4))
|
||||
const W = Vector2.LEFT
|
||||
const NW = Vector2(cos(3*PI/4),sin(3*PI/4))
|
||||
|
||||
|
||||
|
||||
enum { STATE_BLOCKED, STATE_IDLE, STATE_WALKING, STATE_ATTACK, STATE_ROLL, STATE_DIE, STATE_HURT }
|
||||
|
||||
|
||||
@export var facing = "S" # (String, "up", "down", "left", "right")
|
||||
var state = STATE_IDLE
|
||||
var direction = S
|
||||
|
||||
# Move the player to the corresponding spawnpoint, if any and connect to the dialog system
|
||||
func _ready():
|
||||
var spawnpoints = get_tree().get_nodes_in_group("spawnpoints")
|
||||
for spawnpoint in spawnpoints:
|
||||
if spawnpoint.name == Globals.spawnpoint:
|
||||
global_position = spawnpoint.global_position
|
||||
break
|
||||
if not (
|
||||
Dialogs.dialog_started.connect(_on_dialog_started) == OK and
|
||||
Dialogs.dialog_ended.connect(_on_dialog_ended) == OK ):
|
||||
printerr("Error connecting to dialog system")
|
||||
pass
|
||||
|
||||
|
||||
func _physics_process(_delta):
|
||||
|
||||
## PROCESS STATES
|
||||
match state:
|
||||
STATE_BLOCKED:
|
||||
# new_anim = "idle_" + facing
|
||||
$anims.stop()
|
||||
pass
|
||||
STATE_IDLE:
|
||||
if (
|
||||
Input.is_action_pressed("move_down") or
|
||||
Input.is_action_pressed("move_left") or
|
||||
Input.is_action_pressed("move_right") or
|
||||
Input.is_action_pressed("move_up")
|
||||
):
|
||||
state = STATE_WALKING
|
||||
if Input.is_action_just_pressed("attack"):
|
||||
state = STATE_ATTACK
|
||||
# if Input.is_action_just_pressed("roll"):
|
||||
# state = STATE_ROLL
|
||||
# roll_direction = Vector2(
|
||||
# - int( Input.is_action_pressed("move_left") ) + int( Input.is_action_pressed("move_right") ),
|
||||
# -int( Input.is_action_pressed("move_up") ) + int( Input.is_action_pressed("move_down") )
|
||||
# ).normalized()
|
||||
# _update_facing()
|
||||
|
||||
# new_anim = "idle_" + facing
|
||||
$anims.stop()
|
||||
pass
|
||||
STATE_WALKING:
|
||||
if Input.is_action_just_pressed("attack"):
|
||||
state = STATE_ATTACK
|
||||
if Input.is_action_just_pressed("roll"):
|
||||
state = STATE_ROLL
|
||||
|
||||
linear_vel = velocity
|
||||
|
||||
var target_speed = Vector2(0,0)
|
||||
|
||||
if Input.is_action_pressed("move_down"):
|
||||
target_speed += Vector2.DOWN
|
||||
if Input.is_action_pressed("move_left"):
|
||||
target_speed += Vector2.LEFT
|
||||
if Input.is_action_pressed("move_right"):
|
||||
target_speed += Vector2.RIGHT
|
||||
if Input.is_action_pressed("move_up"):
|
||||
target_speed += Vector2.UP
|
||||
|
||||
|
||||
target_speed = target_speed.normalized() * WALK_SPEED
|
||||
target_speed.y *= 0.50 # compensa visione isometrica
|
||||
#linear_vel = linear_vel.linear_interpolate(target_speed, 0.9)
|
||||
linear_vel = target_speed
|
||||
set_velocity(linear_vel)
|
||||
roll_direction = linear_vel.normalized()
|
||||
move_and_slide()
|
||||
|
||||
_update_facing()
|
||||
|
||||
if linear_vel.length() > 5:
|
||||
new_anim = "walk_" + facing
|
||||
anim = new_anim
|
||||
$anims.play(anim)
|
||||
else:
|
||||
goto_idle()
|
||||
pass
|
||||
STATE_ATTACK:
|
||||
new_anim = "walk_" + facing # was splash_
|
||||
pass
|
||||
STATE_ROLL:
|
||||
if roll_direction == Vector2.ZERO:
|
||||
state = STATE_IDLE
|
||||
else:
|
||||
set_velocity(linear_vel)
|
||||
move_and_slide()
|
||||
linear_vel = velocity
|
||||
var target_speed = Vector2()
|
||||
target_speed = roll_direction
|
||||
target_speed *= ROLL_SPEED
|
||||
#linear_vel = linear_vel.linear_interpolate(target_speed, 0.9)
|
||||
linear_vel = target_speed
|
||||
new_anim = "roll"
|
||||
STATE_DIE:
|
||||
new_anim = "die"
|
||||
STATE_HURT:
|
||||
new_anim = "hurt"
|
||||
|
||||
## UPDATE ANIMATION
|
||||
if new_anim != anim:
|
||||
anim = new_anim
|
||||
$anims.play(anim)
|
||||
pass
|
||||
|
||||
|
||||
func _on_dialog_started():
|
||||
state = STATE_BLOCKED
|
||||
|
||||
func _on_dialog_ended():
|
||||
state = STATE_IDLE
|
||||
|
||||
|
||||
## HELPER FUNCS
|
||||
func goto_idle():
|
||||
linear_vel = Vector2.ZERO
|
||||
# new_anim = "idle_" + facing
|
||||
state = STATE_IDLE
|
||||
|
||||
|
||||
func _update_facing():
|
||||
if Input.is_action_pressed("move_left"):
|
||||
facing = "W"
|
||||
if Input.is_action_pressed("move_right"):
|
||||
facing = "E"
|
||||
if Input.is_action_pressed("move_up"):
|
||||
facing = "N"
|
||||
if Input.is_action_pressed("move_left"):
|
||||
facing = "NW"
|
||||
if Input.is_action_pressed("move_right"):
|
||||
facing = "NE"
|
||||
if Input.is_action_pressed("move_down"):
|
||||
facing = "S"
|
||||
if Input.is_action_pressed("move_left"):
|
||||
facing = "SW"
|
||||
if Input.is_action_pressed("move_right"):
|
||||
facing = "SE"
|
||||
|
||||
|
||||
func despawn():
|
||||
var despawn_particles = despawn_fx.instantiate()
|
||||
get_parent().add_child(despawn_particles)
|
||||
despawn_particles.global_position = global_position
|
||||
hide()
|
||||
await get_tree().create_timer(5.0).timeout
|
||||
get_tree().reload_current_scene()
|
||||
pass
|
||||
|
||||
|
||||
func _on_hurtbox_area_entered(area):
|
||||
if state != STATE_DIE and area.is_in_group("enemy_weapons"):
|
||||
hitpoints -= 1
|
||||
emit_signal("health_changed", hitpoints)
|
||||
var pushback_direction = (global_position - area.global_position).normalized()
|
||||
set_velocity(pushback_direction * 5000)
|
||||
move_and_slide()
|
||||
state = STATE_HURT
|
||||
if hitpoints <= 0:
|
||||
state = STATE_DIE
|
||||
pass
|
||||
1
scenes/characters/charplot/plot1/Player_replot.gd.uid
Normal file
1
scenes/characters/charplot/plot1/Player_replot.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://b46pp0ibs2428
|
||||
806
scenes/characters/charplot/plot1/Player_replot.tscn
Normal file
806
scenes/characters/charplot/plot1/Player_replot.tscn
Normal file
@@ -0,0 +1,806 @@
|
||||
[gd_scene load_steps=27 format=3 uid="uid://b3eafn80rrcc1"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://olimaj6fffcd" path="res://scenes/characters/Player.gd" id="1_xx4cj"]
|
||||
[ext_resource type="Texture2D" uid="uid://3au1pfa7jj5l" path="res://textures/kid/kid.png" id="2_dgoxx"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccvjd5pjq0f5g" path="res://scenes/characters/debug_character.tscn" id="3_q7ixp"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="1"]
|
||||
radius = 9.00003
|
||||
height = 42.119
|
||||
|
||||
[sub_resource type="Animation" id="2"]
|
||||
resource_name = "die"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [9, 11, 13, 12, 9, 11, 13, 12, 9]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 0.2, 0.4, 0.7),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false, true, 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/keys = {
|
||||
"times": PackedFloat32Array(1),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"despawn"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="3"]
|
||||
resource_name = "hurt"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1),
|
||||
"transitions": PackedFloat32Array(2, 1),
|
||||
"update": 0,
|
||||
"values": [Color(0, 0, 0, 1), Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath(".")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0.1),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="6"]
|
||||
resource_name = "idle_E"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [154, 163]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("hurtbox:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, -3.49902)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="7"]
|
||||
resource_name = "idle_N"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [22, 43]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("hurtbox:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, -3.49902)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="4"]
|
||||
resource_name = "idle_S"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [88, 97]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("hurtbox:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, -3.49902)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="5"]
|
||||
resource_name = "idle_W"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [11, 21]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("hurtbox:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0), Vector2(0, -3.49902)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="8"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [2]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("player_sword:monitorable")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
tracks/3/type = "value"
|
||||
tracks/3/imported = false
|
||||
tracks/3/enabled = true
|
||||
tracks/3/path = NodePath("sprite:modulate")
|
||||
tracks/3/interp = 1
|
||||
tracks/3/loop_wrap = true
|
||||
tracks/3/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Color(1, 1, 1, 1)]
|
||||
}
|
||||
tracks/4/type = "value"
|
||||
tracks/4/imported = false
|
||||
tracks/4/enabled = true
|
||||
tracks/4/path = NodePath("hurtbox:position")
|
||||
tracks/4/interp = 1
|
||||
tracks/4/loop_wrap = true
|
||||
tracks/4/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0, 0)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="9"]
|
||||
length = 0.5
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [15, 16, 17, 18, 19]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"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/keys = {
|
||||
"times": PackedFloat32Array(0.5),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="10"]
|
||||
length = 0.3
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [0, 1, 2]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"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/keys = {
|
||||
"times": PackedFloat32Array(0.3),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="11"]
|
||||
length = 0.3
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [3, 4, 5]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [true]
|
||||
}
|
||||
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/keys = {
|
||||
"times": PackedFloat32Array(0.3),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="12"]
|
||||
length = 0.3
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [3, 4, 5]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"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/keys = {
|
||||
"times": PackedFloat32Array(0.3),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="13"]
|
||||
length = 0.3
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 0.1, 0.2),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 1,
|
||||
"values": [6, 7, 8]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"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/keys = {
|
||||
"times": PackedFloat32Array(0.3),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"values": [{
|
||||
"args": [],
|
||||
"method": &"goto_idle"
|
||||
}]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_qdqhh"]
|
||||
resource_name = "walk_E"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [154, 175]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ef7ow"]
|
||||
resource_name = "walk_N"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [22, 43]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_m2uo2"]
|
||||
resource_name = "walk_NE"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [66, 87]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_bcwxc"]
|
||||
resource_name = "walk_NW"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [44, 65]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ixjcm"]
|
||||
resource_name = "walk_S"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [88, 109]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_fq7dv"]
|
||||
resource_name = "walk_SE"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [132, 153]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ek8m1"]
|
||||
resource_name = "walk_SW"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [110, 131]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="14"]
|
||||
resource_name = "walk_W"
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("sprite:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = false
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 0,
|
||||
"values": [0, 21]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("sprite:flip_h")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qdvjb"]
|
||||
_data = {
|
||||
&"die": SubResource("2"),
|
||||
&"hurt": SubResource("3"),
|
||||
&"idle_E": SubResource("6"),
|
||||
&"idle_N": SubResource("7"),
|
||||
&"idle_S": SubResource("4"),
|
||||
&"idle_W": SubResource("5"),
|
||||
&"reset": SubResource("8"),
|
||||
&"roll": SubResource("9"),
|
||||
&"slash_down": SubResource("10"),
|
||||
&"slash_left": SubResource("11"),
|
||||
&"slash_right": SubResource("12"),
|
||||
&"slash_up": SubResource("13"),
|
||||
&"walk_E": SubResource("Animation_qdqhh"),
|
||||
&"walk_N": SubResource("Animation_ef7ow"),
|
||||
&"walk_NE": SubResource("Animation_m2uo2"),
|
||||
&"walk_NW": SubResource("Animation_bcwxc"),
|
||||
&"walk_S": SubResource("Animation_ixjcm"),
|
||||
&"walk_SE": SubResource("Animation_fq7dv"),
|
||||
&"walk_SW": SubResource("Animation_ek8m1"),
|
||||
&"walk_W": SubResource("14")
|
||||
}
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="18"]
|
||||
radius = 25.0
|
||||
height = 80.0
|
||||
|
||||
[node name="Player" type="CharacterBody2D" groups=["player"]]
|
||||
position = Vector2(585.638, 309.087)
|
||||
script = ExtResource("1_xx4cj")
|
||||
|
||||
[node name="sprite" type="Sprite2D" parent="."]
|
||||
position = Vector2(6.362, -53.087)
|
||||
scale = Vector2(2, 2)
|
||||
texture = ExtResource("2_dgoxx")
|
||||
hframes = 22
|
||||
vframes = 8
|
||||
frame = 88
|
||||
|
||||
[node name="hitbox" type="CollisionShape2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(0.421509, -10.1996)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("1")
|
||||
|
||||
[node name="player_sword" type="Area2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(6.362, -53.087)
|
||||
|
||||
[node name="anims" type="AnimationPlayer" parent="."]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_qdvjb")
|
||||
}
|
||||
|
||||
[node name="camera" type="Camera2D" parent="."]
|
||||
position = Vector2(6.362, -53.087)
|
||||
zoom = Vector2(0.5, 0.5)
|
||||
|
||||
[node name="debug" parent="." instance=ExtResource("3_q7ixp")]
|
||||
path_to_node = NodePath("..")
|
||||
properties = ["linear_vel", "roll_direction", "facing"]
|
||||
enabled = false
|
||||
|
||||
[node name="hurtbox" type="Area2D" parent="."]
|
||||
visible = false
|
||||
|
||||
[node name="col" type="CollisionShape2D" parent="hurtbox"]
|
||||
visible = false
|
||||
position = Vector2(0.362, -48.087)
|
||||
shape = SubResource("18")
|
||||
|
||||
[connection signal="area_entered" from="hurtbox" to="." method="_on_hurtbox_area_entered"]
|
||||
BIN
scenes/characters/charplot/plot1/Walking/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/plot1/Walking/Ch09_1001_Diffuse.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bmv82dwuq82xy"
|
||||
path.s3tc="res://.godot/imported/Ch09_1001_Diffuse.png-0b247917e6c70d63c6a48f851dabdf12.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Ch09_1001_Diffuse.png-0b247917e6c70d63c6a48f851dabdf12.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/plot1/Walking/Ch09_1001_Diffuse.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Diffuse.png-0b247917e6c70d63c6a48f851dabdf12.s3tc.ctex", "res://.godot/imported/Ch09_1001_Diffuse.png-0b247917e6c70d63c6a48f851dabdf12.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
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=0
|
||||
BIN
scenes/characters/charplot/plot1/Walking/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/plot1/Walking/Ch09_1001_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cpr8glrspokdf"
|
||||
path.s3tc="res://.godot/imported/Ch09_1001_Normal.png-499d9d4d114d044b519a5128b204d626.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/Ch09_1001_Normal.png-499d9d4d114d044b519a5128b204d626.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/plot1/Walking/Ch09_1001_Normal.png"
|
||||
dest_files=["res://.godot/imported/Ch09_1001_Normal.png-499d9d4d114d044b519a5128b204d626.s3tc.ctex", "res://.godot/imported/Ch09_1001_Normal.png-499d9d4d114d044b519a5128b204d626.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=1
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=1
|
||||
roughness/src_normal="res://scenes/characters/print/kidfbx/Walking_out/Ch09_1001_Normal.png"
|
||||
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=0
|
||||
3154
scenes/characters/charplot/plot1/Walking/Walking.gltf
Normal file
3154
scenes/characters/charplot/plot1/Walking/Walking.gltf
Normal file
File diff suppressed because it is too large
Load Diff
37
scenes/characters/charplot/plot1/Walking/Walking.gltf.import
Normal file
37
scenes/characters/charplot/plot1/Walking/Walking.gltf.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="scene"
|
||||
importer_version=1
|
||||
type="PackedScene"
|
||||
uid="uid://dgtnqihgrypea"
|
||||
path="res://.godot/imported/Walking.gltf-0492535d3aaed93bd83f5d7f80d89683.scn"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://scenes/characters/charplot/plot1/Walking/Walking.gltf"
|
||||
dest_files=["res://.godot/imported/Walking.gltf-0492535d3aaed93bd83f5d7f80d89683.scn"]
|
||||
|
||||
[params]
|
||||
|
||||
nodes/root_type=""
|
||||
nodes/root_name=""
|
||||
nodes/apply_root_scale=true
|
||||
nodes/root_scale=1.0
|
||||
nodes/import_as_skeleton_bones=false
|
||||
nodes/use_node_type_suffixes=true
|
||||
meshes/ensure_tangents=true
|
||||
meshes/generate_lods=true
|
||||
meshes/create_shadow_meshes=true
|
||||
meshes/light_baking=1
|
||||
meshes/lightmap_texel_size=0.2
|
||||
meshes/force_disable_compression=false
|
||||
skins/use_named_skins=true
|
||||
animation/import=true
|
||||
animation/fps=30
|
||||
animation/trimming=false
|
||||
animation/remove_immutable_tracks=true
|
||||
animation/import_rest_as_RESET=false
|
||||
import_script/path=""
|
||||
_subresources={}
|
||||
gltf/naming_version=1
|
||||
gltf/embedded_image_handling=1
|
||||
BIN
scenes/characters/charplot/plot1/Walking/buffer.bin
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/plot1/Walking/buffer.bin
(Stored with Git LFS)
Normal file
Binary file not shown.
14
scenes/characters/charplot/plot1/player.gd
Normal file
14
scenes/characters/charplot/plot1/player.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends Node
|
||||
|
||||
# A simple script to rotate the model.
|
||||
@onready var anim = $"Root Scene/AnimationPlayer"
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
anim.play("walk")
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
1
scenes/characters/charplot/plot1/player.gd.uid
Normal file
1
scenes/characters/charplot/plot1/player.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dst8pn66ymgwf
|
||||
17
scenes/characters/charplot/plot1/player2d.tscn
Normal file
17
scenes/characters/charplot/plot1/player2d.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://w222arvxnfax"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://larkn3housg5" path="res://scenes/characters/charplot/plot1/player3d.tscn" id="1_u5nev"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_o6j6o"]
|
||||
viewport_path = NodePath("SubViewport")
|
||||
|
||||
[node name="Player2d" type="Node2D"]
|
||||
|
||||
[node name="SubViewport" type="SubViewport" parent="."]
|
||||
size = Vector2i(100, 100)
|
||||
|
||||
[node name="Player3d" parent="SubViewport" instance=ExtResource("1_u5nev")]
|
||||
|
||||
[node name="ViewportSprite" type="Sprite2D" parent="."]
|
||||
position = Vector2(107, 111)
|
||||
texture = SubResource("ViewportTexture_o6j6o")
|
||||
1110
scenes/characters/charplot/plot1/player3d.tscn
Normal file
1110
scenes/characters/charplot/plot1/player3d.tscn
Normal file
File diff suppressed because one or more lines are too long
0
scenes/characters/charplot/screenshots/.gdignore
Normal file
0
scenes/characters/charplot/screenshots/.gdignore
Normal file
BIN
scenes/characters/charplot/screenshots/3d_in_2d.png
(Stored with Git LFS)
Normal file
BIN
scenes/characters/charplot/screenshots/3d_in_2d.png
(Stored with Git LFS)
Normal file
Binary file not shown.
1
scenes/characters/debug_character.gd.uid
Normal file
1
scenes/characters/debug_character.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://yj37y5gqfgui
|
||||
@@ -1,14 +1,18 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ccvjd5pjq0f5g"]
|
||||
|
||||
[ext_resource path="res://fonts/Candy Demo.ttf" type="FontFile" id=1]
|
||||
[ext_resource path="res://scenes/characters/debug_character.gd" type="Script" id=2]
|
||||
[ext_resource type="FontFile" uid="uid://dxsjw0432epve" path="res://fonts/Candy Demo.ttf" id="1"]
|
||||
[ext_resource type="Script" uid="uid://yj37y5gqfgui" path="res://scenes/characters/debug_character.gd" id="2"]
|
||||
|
||||
[sub_resource type="FontFile" id=1]
|
||||
size = 32
|
||||
font_data = ExtResource( 1 )
|
||||
[sub_resource type="FontFile" id="1"]
|
||||
fallbacks = Array[Font]([ExtResource("1")])
|
||||
cache/0/16/0/ascent = 0.0
|
||||
cache/0/16/0/descent = 0.0
|
||||
cache/0/16/0/underline_position = 0.0
|
||||
cache/0/16/0/underline_thickness = 0.0
|
||||
cache/0/16/0/scale = 1.0
|
||||
|
||||
[node name="debug" type="CanvasLayer"]
|
||||
script = ExtResource( 2 )
|
||||
script = ExtResource("2")
|
||||
|
||||
[node name="Control" type="Control" parent="."]
|
||||
anchor_right = 1.0
|
||||
@@ -22,8 +26,8 @@ offset_left = 17.0
|
||||
offset_top = 16.0
|
||||
offset_right = 285.0
|
||||
offset_bottom = 211.0
|
||||
theme_override_fonts/font = SubResource( 1 )
|
||||
theme_override_colors/font_color = Color( 0.803922, 0.0784314, 0.0784314, 1 )
|
||||
theme_override_fonts/font = SubResource("1")
|
||||
theme_override_colors/font_color = Color(0.803922, 0.0784314, 0.0784314, 1)
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
1
scenes/items/Item.gd.uid
Normal file
1
scenes/items/Item.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dfxcqxaeblrp4
|
||||
@@ -1,9 +1,11 @@
|
||||
[gd_scene load_steps=9 format=3 uid="uid://naq6pppaamdx"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dswhkcoafxmtb" path="res://textures/item.png" id="1"]
|
||||
[ext_resource type="Script" path="res://scenes/items/Item.gd" id="2"]
|
||||
[ext_resource type="Script" uid="uid://dfxcqxaeblrp4" path="res://scenes/items/Item.gd" id="2"]
|
||||
[ext_resource type="AudioStream" uid="uid://bkqm1wbxr2gg5" path="res://sounds/item_collected.wav" id="3"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_iw0db"]
|
||||
metadata/__load_path__ = "res://textures/item.png"
|
||||
|
||||
[sub_resource type="CircleShape2D" id="1"]
|
||||
radius = 63.7874
|
||||
|
||||
@@ -154,9 +156,9 @@ tracks/3/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hhnq1"]
|
||||
_data = {
|
||||
"collected": SubResource("2"),
|
||||
"reset": SubResource("3"),
|
||||
"spawn": SubResource("4")
|
||||
&"collected": SubResource("2"),
|
||||
&"reset": SubResource("3"),
|
||||
&"spawn": SubResource("4")
|
||||
}
|
||||
|
||||
[node name="Item" type="Area2D" groups=["items"]]
|
||||
@@ -165,7 +167,7 @@ script = ExtResource("2")
|
||||
[node name="sprite" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
scale = Vector2(1.72, 0.159999)
|
||||
texture = ExtResource("1")
|
||||
texture = SubResource("Resource_iw0db")
|
||||
offset = Vector2(0.36261, -19.2809)
|
||||
|
||||
[node name="hitbox" type="CollisionShape2D" parent="."]
|
||||
|
||||
1
scenes/levels/Controls.gd.uid
Normal file
1
scenes/levels/Controls.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://clod734eyjgtr
|
||||
@@ -1,13 +1,13 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b2p21o4mag6ct"]
|
||||
|
||||
[ext_resource path="res://scenes/levels/Controls.gd" type="Script" id=1]
|
||||
[ext_resource path="res://textures/misc/controls.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=3]
|
||||
[ext_resource type="Script" uid="uid://clod734eyjgtr" path="res://scenes/levels/Controls.gd" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://dhdedjhqm5wcg" path="res://textures/misc/controls.png" id="2"]
|
||||
[ext_resource type="FontFile" path="res://fonts/dialog.tres" id="3"]
|
||||
|
||||
[node name="Controls" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
script = ExtResource("1")
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -15,7 +15,7 @@ __meta__ = {
|
||||
[node name="controls" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource("2")
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
anchor_left = 1.0
|
||||
@@ -26,12 +26,13 @@ offset_left = -114.361
|
||||
offset_top = 234.378
|
||||
offset_right = -7.36102
|
||||
offset_bottom = 283.378
|
||||
theme_override_fonts/font = ExtResource( 3 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
theme_override_fonts/font = ExtResource("3")
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_hover_color = Color(0.364706, 0.364706, 0.364706, 1)
|
||||
text = "Back"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="Button" to="." method="_on_Button_pressed"]
|
||||
|
||||
@@ -147,7 +147,7 @@ tracks/10/keys = {
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_riwan"]
|
||||
_data = {
|
||||
"Intro": SubResource("1")
|
||||
&"Intro": SubResource("1")
|
||||
}
|
||||
|
||||
[sub_resource type="GDScript" id="2"]
|
||||
|
||||
1
scenes/levels/Menu.gd.uid
Normal file
1
scenes/levels/Menu.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://epmsfiquym0o
|
||||
@@ -1,9 +1,9 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://2tbsiviptlbc"]
|
||||
|
||||
[ext_resource path="res://fonts/dialog.tres" type="FontFile" id=1]
|
||||
[ext_resource path="res://textures/menu/game_title.png" type="Texture2D" id=2]
|
||||
[ext_resource path="res://textures/menu/bg.png" type="Texture2D" id=3]
|
||||
[ext_resource path="res://scenes/levels/Menu.gd" type="Script" id=4]
|
||||
[ext_resource type="FontFile" path="res://fonts/dialog.tres" id="1"]
|
||||
[ext_resource type="Texture2D" uid="uid://cb2u7ijtdnnyg" path="res://textures/menu/game_title.png" id="2"]
|
||||
[ext_resource type="Texture2D" uid="uid://ck0bibv77mxh2" path="res://textures/menu/bg.png" id="3"]
|
||||
[ext_resource type="Script" uid="uid://epmsfiquym0o" path="res://scenes/levels/Menu.gd" id="4"]
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
anchor_right = 1.0
|
||||
@@ -13,7 +13,7 @@ focus_neighbor_top = NodePath("continue")
|
||||
focus_neighbor_right = NodePath("credits")
|
||||
focus_neighbor_bottom = NodePath("new_game")
|
||||
focus_mode = 2
|
||||
script = ExtResource( 4 )
|
||||
script = ExtResource("4")
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
@@ -22,7 +22,7 @@ initial_level = "res://scenes/levels/Outside.tscn"
|
||||
[node name="BG" type="TextureRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
texture = ExtResource( 3 )
|
||||
texture = ExtResource("3")
|
||||
expand = true
|
||||
stretch_mode = 7
|
||||
__meta__ = {
|
||||
@@ -38,7 +38,7 @@ offset_left = -236.0
|
||||
offset_top = -185.634
|
||||
offset_right = 237.0
|
||||
offset_bottom = -5.63416
|
||||
texture = ExtResource( 2 )
|
||||
texture = ExtResource("2")
|
||||
expand = true
|
||||
stretch_mode = 6
|
||||
__meta__ = {
|
||||
@@ -58,9 +58,9 @@ focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../quit")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../continue")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
theme_override_fonts/font = ExtResource("1")
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_hover_color = Color(0.364706, 0.364706, 0.364706, 1)
|
||||
text = "New Game"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
@@ -80,10 +80,10 @@ focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../new_game")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../controls")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_colors/font_disabled_color = Color( 0.780392, 0.780392, 0.780392, 1 )
|
||||
theme_override_colors/font_color = Color( 0, 0, 0, 1 )
|
||||
theme_override_colors/font_hover_color = Color( 0.364706, 0.364706, 0.364706, 1 )
|
||||
theme_override_fonts/font = ExtResource("1")
|
||||
theme_override_colors/font_disabled_color = Color(0.780392, 0.780392, 0.780392, 1)
|
||||
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_hover_color = Color(0.364706, 0.364706, 0.364706, 1)
|
||||
disabled = true
|
||||
text = "Continue"
|
||||
flat = true
|
||||
@@ -104,7 +104,7 @@ focus_neighbor_left = NodePath("../quit")
|
||||
focus_neighbor_top = NodePath("../continue")
|
||||
focus_neighbor_right = NodePath("../quit")
|
||||
focus_neighbor_bottom = NodePath("../new_game")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_fonts/font = ExtResource("1")
|
||||
text = "Controls"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
@@ -122,12 +122,13 @@ focus_neighbor_left = NodePath("../controls")
|
||||
focus_neighbor_top = NodePath("../continue")
|
||||
focus_neighbor_right = NodePath("../controls")
|
||||
focus_neighbor_bottom = NodePath("../new_game")
|
||||
theme_override_fonts/font = ExtResource( 1 )
|
||||
theme_override_fonts/font = ExtResource("1")
|
||||
text = "Quit"
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[connection signal="pressed" from="new_game" to="." method="_on_new_game_pressed"]
|
||||
[connection signal="pressed" from="continue" to="." method="_on_continue_pressed"]
|
||||
[connection signal="pressed" from="controls" to="." method="_on_controls_pressed"]
|
||||
|
||||
53
scenes/levels/TestLevel_replot.tscn
Normal file
53
scenes/levels/TestLevel_replot.tscn
Normal file
@@ -0,0 +1,53 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b0pxwb4svf4ty"]
|
||||
|
||||
[ext_resource type="TileSet" uid="uid://c2mhyv81hyxbt" path="res://scenes/tilesets/castle.tres" id="1_oj35w"]
|
||||
[ext_resource type="PackedScene" uid="uid://ctd3mgp0s172q" path="res://scenes/characters/Player.tscn" id="2_dt0l7"]
|
||||
[ext_resource type="PackedScene" uid="uid://cixovgrvqr2p2" path="res://scenes/props/tree6.tscn" id="3_imyd7"]
|
||||
[ext_resource type="PackedScene" uid="uid://dvmm1keyq3r5c" path="res://scenes/props/tree2.tscn" id="4_wmfjn"]
|
||||
[ext_resource type="PackedScene" uid="uid://deqgnj30xx13t" path="res://scenes/misc/UI.tscn" id="5_2gxfu"]
|
||||
|
||||
[node name="test_scene" type="Node"]
|
||||
|
||||
[node name="level" type="Node2D" parent="."]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(208, 82)
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="level"]
|
||||
y_sort_enabled = true
|
||||
position = Vector2(1407, 792)
|
||||
tile_set = ExtResource("1_oj35w")
|
||||
format = 2
|
||||
layer_0/name = "base"
|
||||
layer_0/y_sort_enabled = true
|
||||
layer_0/tile_data = PackedInt32Array(-2, 0, 0, 65534, 0, 0, 131070, 65536, 0, 65533, 0, 0, 196606, 0, 0, 262142, 65536, 0, -65539, 0, 0, -3, 0, 0, -65540, 0, 0, -131075, 0, 0, -1, 0, 0, -65538, 0, 0, -131074, 0, 0, -196611, 0, 0, -4, 0, 0, 65532, 0, 0, 131069, 0, 0, 196605, 65536, 0, 131071, 0, 0, 65535, 0, 0, -65536, 65536, 0, -65537, 65536, 0, -131073, 65536, 0, -196610, 65536, 0, -262146, 0, 0, 65531, 65536, 0, 131068, 65536, 0, 196604, 65536, 0, 327676, 65536, 0, 262140, 65536, 0, 262141, 65536, 0, 196603, 65536, 0, 131067, 65536, 0, 65530, 65536, 0, -5, 65536, 0, -65541, 0, 0, -131076, 0, 0, -196612, 0, 0, 327677, 65536, 0, 327678, 65536, 0, 393213, 65536, 0, 458748, 65536, 0, 393214, 65536, 0, 458750, 0, 0, 393215, 65536, 0, 524285, 65536, 0, 458749, 65536, 0, 327675, 65536, 0, 393212, 65536, 0, 262139, 65536, 0, 327674, 0, 0, 393211, 65536, 0, 458746, 65536, 0, 524283, 65536, 0, 589819, 65536, 0, 655356, 65536, 0, 589820, 65536, 0, 458747, 65536, 0, 524284, 65536, 0, 131066, 65536, 0, 196602, 65536, 0, 262138, 65536, 0, 196601, 0, 0, 327673, 65536, 0, 393210, 0, 0, -65542, 65536, 0, -131078, 65536, 0, -65543, 65536, 0, -6, 65536, 0, -131077, 65536, 0, -196614, 0, 0, -262149, 65536, 0, -196613, 0, 0, -262148, 65536, 0, -327685, 0, 0, 262143, 65536, 0, 327679, 65536, 0, 196608, 0, 0, 196607, 65536, 0, 327680, 0, 0, 262144, 0, 0, 131072, 0, 0, 65536, 0, 0, 0, 65536, 0, 65537, 65536, 0, 524287, 65536, 0, 589822, 65536, 0, 655359, 65536, 0, 589823, 65536, 0, 458752, 65536, 0, 458751, 65536, 0, 524286, 65536, 0, -262147, 65536, 0, -327683, 65536, 0, -393218, 65536, 0, -327682, 65536, 0, -262145, 65536, 0, -196608, 65536, 0, -131072, 65536, 0, -196609, 65536, 0, 393216, 0, 0, 393217, 0, 0, 393218, 65536, 0, 393219, 65536, 0, 327683, 65536, 0, 262147, 65536, 0, 262146, 65536, 0, 262145, 65536, 0, 327681, 65536, 0, 196609, 0, 0, 131073, 0, 0, 196610, 0, 0, 131074, 0, 0, 1, 65536, 0, -65535, 65536, 0, -65534, 65536, 0, 2, 0, 0, 65538, 0, 0, 65539, 65536, 0, 131075, 65536, 0, 327682, 65536, 0, 524288, 65536, 0, 458753, 65536, 0, 589821, 65536, 0, 655357, 65536, 0, 655358, 65536, 0, 393209, 65536, 0, 458745, 65536, 0, 524281, 65536, 0, 524282, 65536, 0, 589818, 65536, 0, 262137, 65536, 0, 131065, 0, 0, 65529, 0, 0, -7, 0, 0, 131064, 65536, 0, 65528, 0, 0, -8, 0, 0, 196600, 65536, 0, 262136, 65536, 0, 327672, 65536, 0, -131079, 65536, 0, -65544, 0, 0, 196611, 65536, 0, -65545, 0, 0, -131081, 0, 0, -196617, 0, 0, -196616, 0, 0, -196615, 0, 0, -262150, 0, 0, 589824, 0, 0, 655353, 0, 0, 655354, 0, 0, 655355, 0, 0, -262151, 0, 0, -327687, 0, 0, -327686, 0, 0, -327684, 0, 0, -393219, 0, 0, -131080, 0, 0, 196599, 0, 0, 131063, 0, 0, 65527, 0, 0, -9, 0, 0, -10, 0, 0, -65546, 0, 0, 65526, 0, 0, 131062, 0, 0, -393223, 0, 0, -458759, 0, 0, -458758, 0, 0, -393222, 0, 0, -393221, 0, 0, -458757, 0, 0, -393220, 0, 0, -458756, 0, 0, -327688, 0, 0, -393224, 0, 0, -458760, 0, 0, 655352, 0, 0, 589817, 0, 0, 589816, 0, 0, 524280, 0, 0, 458744, 0, 0, 393208, 0, 0, 327671, 0, 0, 262135, 0, 0, 262134, 0, 0, 196598, 0, 0)
|
||||
layer_1/name = "wall"
|
||||
layer_1/y_sort_enabled = true
|
||||
layer_1/z_index = 1
|
||||
layer_1/tile_data = PackedInt32Array(655356, 2, 3, 655357, 2, 3, 655358, 2, 3, 655359, 2, 3, 589824, 2, 3, 524288, 2, 3, 458752, 2, 3, 458753, 2, 3, -131080, 2, 3, -6, 65538, 3, 589817, 2, 3, 655353, 2, 3, 655352, 2, 3, 589816, 2, 3, 524280, 2, 3, 458744, 2, 3, 393208, 2, 3, 393207, 2, 3, 327671, 2, 3, 262135, 2, 3, -65546, 2, 3, -131082, 2, 3, -196618, 2, 3, -262154, 2, 3, -262153, 2, 3, -262152, 2, 3, 196598, 2, 3, 131062, 2, 3, 65526, 2, 3, -10, 2, 3, 655355, 65538, 3, -4, 65538, 3, 393218, 65538, 3, 393219, 65538, 3, 327683, 65538, 3, 262147, 65538, 3, 196611, 65538, 3, 131075, 65538, 3, 65539, 65538, 3, 2, 65538, 3, -65534, 65538, 3, -65535, 65538, 3, -196609, 65538, 3, -262145, 65538, 3, -327682, 65538, 3, -393218, 65538, 3, -393219, 65538, 3, -393224, 65538, 3, -327688, 65538, 3, -458760, 65538, 3, -458759, 65538, 3, -458758, 65538, 3, -458757, 65538, 3, -458756, 65538, 3, -2, 65538, 3, -8, 65538, 3)
|
||||
|
||||
[node name="Character" parent="level" instance=ExtResource("2_dt0l7")]
|
||||
z_index = 1
|
||||
position = Vector2(1008, 772)
|
||||
|
||||
[node name="Trees" type="Node2D" parent="level"]
|
||||
z_index = 1
|
||||
y_sort_enabled = true
|
||||
|
||||
[node name="Tree3" parent="level/Trees" instance=ExtResource("3_imyd7")]
|
||||
position = Vector2(1385, 434)
|
||||
scale = Vector2(1.4, 1.4)
|
||||
|
||||
[node name="Tree2" parent="level/Trees" instance=ExtResource("4_wmfjn")]
|
||||
position = Vector2(844, 606)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="Tree4" parent="level/Trees" instance=ExtResource("4_wmfjn")]
|
||||
position = Vector2(1231, 1053)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="Tree5" parent="level/Trees" instance=ExtResource("4_wmfjn")]
|
||||
position = Vector2(1608, 740)
|
||||
scale = Vector2(1.3, 1.3)
|
||||
|
||||
[node name="UI" parent="." instance=ExtResource("5_2gxfu")]
|
||||
visible = false
|
||||
@@ -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")
|
||||
|
||||
@@ -5,4 +5,3 @@ func _ready():
|
||||
await get_tree().create_timer(0.8).timeout
|
||||
queue_free()
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
1
scenes/misc/DespawnFx.gd.uid
Normal file
1
scenes/misc/DespawnFx.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bbnmk161btyrk
|
||||
1
scenes/misc/Dialog_box.gd.uid
Normal file
1
scenes/misc/Dialog_box.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c85j4c7jwmiw
|
||||
@@ -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
1
scenes/misc/Exit.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://hfhs4flahp0q
|
||||
@@ -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():
|
||||
|
||||
1
scenes/misc/Healthbar.gd.uid
Normal file
1
scenes/misc/Healthbar.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c2hgmqaenaphi
|
||||
@@ -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
|
||||
}
|
||||
|
||||
1
scenes/misc/ItemSpawner.gd.uid
Normal file
1
scenes/misc/ItemSpawner.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://43fh1rkiinh4
|
||||
@@ -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")
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user