All
This commit is contained in:
parent
7a8ee29dcb
commit
0fe23420ab
800 changed files with 16547 additions and 0 deletions
139
scenes/character.tscn
Normal file
139
scenes/character.tscn
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
[gd_scene load_steps=19 format=3 uid="uid://cbrkq6jd5a4ho"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blw846ag1hiak" path="res://assets/characters/warrior.png" id="1_agfs1"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckvge3k08px5c" path="res://assets/tiles/sun.png" id="2_rkhd4"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_rkhd4"]
|
||||
atlas = ExtResource("1_agfs1")
|
||||
region = Rect2(0, 0, 80, 68)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lrhn5"]
|
||||
atlas = ExtResource("1_agfs1")
|
||||
region = Rect2(80, 0, 80, 68)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_my7n2"]
|
||||
atlas = ExtResource("1_agfs1")
|
||||
region = Rect2(160, 0, 80, 68)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_dp8ca"]
|
||||
atlas = ExtResource("1_agfs1")
|
||||
region = Rect2(240, 0, 80, 68)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0lw5n"]
|
||||
atlas = ExtResource("1_agfs1")
|
||||
region = Rect2(320, 0, 80, 68)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_dkjbp"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 0.2,
|
||||
"texture": SubResource("AtlasTexture_rkhd4")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_lrhn5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_my7n2")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_dp8ca")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_0lw5n")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [],
|
||||
"loop": true,
|
||||
"name": &"new_animation",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_lrhn5"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_okhi1"]
|
||||
curve = SubResource("Curve_lrhn5")
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_my7n2"]
|
||||
colors = PackedColorArray(0.6267965, 0.35946804, 0.115510084, 0.3764706, 0.5640522, 0.46861154, 0.16076079, 0.627451)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_rkhd4"]
|
||||
gradient = SubResource("Gradient_my7n2")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_dp8ca"]
|
||||
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_deeqb"]
|
||||
curve = SubResource("Curve_dp8ca")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_0lw5n"]
|
||||
lifetime_randomness = 0.73
|
||||
particle_flag_disable_z = true
|
||||
emission_shape = 1
|
||||
emission_sphere_radius = 1.0
|
||||
angle_min = 1.0728835e-05
|
||||
angle_max = 115.70001
|
||||
inherit_velocity_ratio = 0.154
|
||||
direction = Vector3(0, 0, 0)
|
||||
spread = 98.933
|
||||
initial_velocity_max = 2.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
linear_accel_min = 0.99999774
|
||||
linear_accel_max = 4.9999976
|
||||
scale_min = 0.19999999
|
||||
scale_max = 0.7
|
||||
scale_curve = SubResource("CurveTexture_deeqb")
|
||||
color_ramp = SubResource("GradientTexture1D_rkhd4")
|
||||
alpha_curve = SubResource("CurveTexture_okhi1")
|
||||
hue_variation_min = -0.11000002
|
||||
hue_variation_max = 0.089999974
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_strength = 0.56
|
||||
turbulence_noise_scale = 4.861
|
||||
|
||||
[sub_resource type="Curve" id="Curve_rkhd4"]
|
||||
_data = [Vector2(0, 0.007272601), 0.0, 0.0, 0, 0, Vector2(0.46874994, 0.758909), 0.0, 0.0, 0, 0, Vector2(0.73632807, 0.8865454), 0.0, 0.0, 0, 0]
|
||||
point_count = 3
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_lrhn5"]
|
||||
curve = SubResource("Curve_rkhd4")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_agfs1"]
|
||||
particle_flag_disable_z = true
|
||||
gravity = Vector3(0, 0, 0)
|
||||
linear_accel_min = -2.2351742e-06
|
||||
linear_accel_max = 6.4299974
|
||||
radial_accel_min = -2.2351742e-06
|
||||
radial_accel_max = 23.289997
|
||||
tangential_accel_min = -24.100002
|
||||
tangential_accel_max = 10.439998
|
||||
color = Color(0.84313726, 0.56078434, 0, 0.7921569)
|
||||
alpha_curve = SubResource("CurveTexture_lrhn5")
|
||||
|
||||
[node name="Character" type="Node2D"]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_dkjbp")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.55149776
|
||||
|
||||
[node name="Dust" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(0, 11)
|
||||
amount = 100
|
||||
texture = ExtResource("2_rkhd4")
|
||||
lifetime = 10.0
|
||||
preprocess = 2.0
|
||||
explosiveness = 0.06
|
||||
randomness = 0.39
|
||||
process_material = SubResource("ParticleProcessMaterial_0lw5n")
|
||||
|
||||
[node name="Shavings" type="GPUParticles2D" parent="."]
|
||||
position = Vector2(0, 8)
|
||||
preprocess = 2.0
|
||||
process_material = SubResource("ParticleProcessMaterial_agfs1")
|
||||
Loading…
Add table
Add a link
Reference in a new issue