ajout des particules de roche et changement de l'écran de chargement
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
[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"]
|
||||
[ext_resource type="Script" uid="uid://b1mmtgmi5oq86" path="res://entities/player/scripts/player_sprite.gd" id="5_fkugw"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_sglur"]
|
||||
radius = 27.0
|
||||
@@ -118,11 +119,43 @@ animations = [{
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_bls4j"]
|
||||
[sub_resource type="Animation" id="Animation_fkugw"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("PlayerSprite:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.99999994, -17)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_fkugw"]
|
||||
states/StateMachine/node = SubResource("AnimationNodeStateMachine_bls4j")
|
||||
states/StateMachine/position = Vector2(386, 91)
|
||||
[sub_resource type="Animation" id="Animation_8fjmc"]
|
||||
resource_name = "float"
|
||||
length = 4.0
|
||||
loop_mode = 1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("PlayerSprite:position")
|
||||
tracks/0/interp = 2
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 1.9666667, 4),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(0.99999994, -17), Vector2(1, -12), Vector2(0.99999994, -17)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qiwj3"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_fkugw"),
|
||||
&"float": SubResource("Animation_8fjmc")
|
||||
}
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=447849413]
|
||||
script = ExtResource("1_abrql")
|
||||
@@ -132,9 +165,9 @@ position = Vector2(0, -17)
|
||||
shape = SubResource("CircleShape2D_sglur")
|
||||
|
||||
[node name="Shadow" type="Sprite2D" parent="." unique_id=875064259]
|
||||
modulate = Color(0, 0, 0, 0.60784316)
|
||||
modulate = Color(0, 0, 0, 0.41568628)
|
||||
position = Vector2(-1, 13)
|
||||
scale = Vector2(0.35897446, 0.3589744)
|
||||
scale = Vector2(0.41025653, 0.41025642)
|
||||
texture = ExtResource("2_fkugw")
|
||||
|
||||
[node name="InteractArea2D" type="Area2D" parent="." unique_id=1048722411]
|
||||
@@ -153,14 +186,16 @@ gravity = Vector2(0, 100)
|
||||
scale_amount_curve = SubResource("Curve_fkugw")
|
||||
color_ramp = SubResource("Gradient_bls4j")
|
||||
|
||||
[node name="Sprite" type="AnimatedSprite2D" parent="." unique_id=638545037]
|
||||
[node name="PlayerSprite" 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"
|
||||
animation = &"front_right"
|
||||
frame_progress = 0.46771586
|
||||
script = ExtResource("5_fkugw")
|
||||
wanted_orientation = 2
|
||||
|
||||
[node name="FloatAnimationPlayer" type="AnimationPlayer" parent="." unique_id=929823261]
|
||||
|
||||
[node name="AnimationTree" type="AnimationTree" parent="." unique_id=563415659]
|
||||
tree_root = SubResource("AnimationNodeStateMachine_fkugw")
|
||||
[node name="FloatAnimationPlayer" type="AnimationPlayer" parent="." unique_id=793749564]
|
||||
libraries/ = SubResource("AnimationLibrary_qiwj3")
|
||||
autoplay = &"float"
|
||||
|
||||
Reference in New Issue
Block a user