167 lines
4.9 KiB
Plaintext
167 lines
4.9 KiB
Plaintext
[gd_scene format=3 uid="uid://bgvbgeq46wee2"]
|
|
|
|
[ext_resource type="Script" uid="uid://das7twcy5153p" path="res://entities/player/scripts/player.gd" id="1_abrql"]
|
|
[ext_resource type="Texture2D" uid="uid://dompaj451gklw" path="res://entities/player/assets/sprites/movement_particles.png" id="2_bls4j"]
|
|
[ext_resource type="Texture2D" uid="uid://ys5fis3gsnoy" path="res://entities/player/assets/sprites/shadow.png" id="2_fkugw"]
|
|
[ext_resource type="Texture2D" uid="uid://c7ff87jniga5m" path="res://entities/player/assets/sprites/robot.png" id="4_bls4j"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_sglur"]
|
|
radius = 27.0
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_abrql"]
|
|
radius = 40.0
|
|
|
|
[sub_resource type="Curve" id="Curve_fkugw"]
|
|
_data = [Vector2(0, 0.14473677), 0.0, 0.0, 0, 0, Vector2(0.972549, 0.2654798), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="Gradient" id="Gradient_bls4j"]
|
|
offsets = PackedFloat32Array(0, 0.77729255, 1)
|
|
colors = PackedColorArray(0.5803922, 0.7058824, 0.8862745, 1, 0.5785, 0.70829165, 0.89, 1, 0.5785, 0.70829165, 0.89, 0)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fkugw"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(3048, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_8fjmc"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(3810, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qiwj3"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(2286, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_26q78"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(0, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_bectd"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(5334, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wvtmh"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(762, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_7thud"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(4572, 0, 762, 1080)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_a1qjk"]
|
|
atlas = ExtResource("4_bls4j")
|
|
region = Rect2(1524, 0, 762, 1080)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_a1qjk"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_fkugw")
|
|
}],
|
|
"loop": true,
|
|
"name": &"back",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_8fjmc")
|
|
}],
|
|
"loop": true,
|
|
"name": &"back_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qiwj3")
|
|
}],
|
|
"loop": true,
|
|
"name": &"back_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_26q78")
|
|
}],
|
|
"loop": true,
|
|
"name": &"front",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_bectd")
|
|
}],
|
|
"loop": true,
|
|
"name": &"front_left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_wvtmh")
|
|
}],
|
|
"loop": true,
|
|
"name": &"front_right",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_7thud")
|
|
}],
|
|
"loop": true,
|
|
"name": &"left",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_a1qjk")
|
|
}],
|
|
"loop": true,
|
|
"name": &"right",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_bls4j"]
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_fkugw"]
|
|
states/StateMachine/node = SubResource("AnimationNodeStateMachine_bls4j")
|
|
states/StateMachine/position = Vector2(386, 91)
|
|
|
|
[node name="Player" type="CharacterBody2D" unique_id=447849413]
|
|
script = ExtResource("1_abrql")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=414557251]
|
|
position = Vector2(0, -17)
|
|
shape = SubResource("CircleShape2D_sglur")
|
|
|
|
[node name="Shadow" type="Sprite2D" parent="." unique_id=875064259]
|
|
modulate = Color(0, 0, 0, 0.60784316)
|
|
position = Vector2(-1, 13)
|
|
scale = Vector2(0.35897446, 0.3589744)
|
|
texture = ExtResource("2_fkugw")
|
|
|
|
[node name="InteractArea2D" type="Area2D" parent="." unique_id=1048722411]
|
|
position = Vector2(0, -12)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="InteractArea2D" unique_id=1242017003]
|
|
shape = SubResource("CircleShape2D_abrql")
|
|
|
|
[node name="CPUParticles2D" type="CPUParticles2D" parent="InteractArea2D" unique_id=1489736082]
|
|
position = Vector2(-8.4703295e-22, 12)
|
|
scale = Vector2(0.22803418, 0.22803418)
|
|
amount = 3
|
|
texture = ExtResource("2_bls4j")
|
|
lifetime = 0.4
|
|
gravity = Vector2(0, 100)
|
|
scale_amount_curve = SubResource("Curve_fkugw")
|
|
color_ramp = SubResource("Gradient_bls4j")
|
|
|
|
[node name="Sprite" type="AnimatedSprite2D" parent="." unique_id=638545037]
|
|
unique_name_in_owner = true
|
|
position = Vector2(0.99999994, -17)
|
|
scale = Vector2(0.0656168, 0.065616846)
|
|
sprite_frames = SubResource("SpriteFrames_a1qjk")
|
|
animation = &"back"
|
|
|
|
[node name="FloatAnimationPlayer" type="AnimationPlayer" parent="." unique_id=929823261]
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=563415659]
|
|
tree_root = SubResource("AnimationNodeStateMachine_fkugw")
|