30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://syx6ov00a585"]
|
|
|
|
[ext_resource type="Script" uid="uid://ohb2t6o7wr1u" path="res://Scripts/player.gd" id="1_cvnsp"]
|
|
[ext_resource type="Texture2D" uid="uid://btqnhg54e1p66" path="res://Sprites/png/spritesheet.png" id="2_6t5aa"]
|
|
[ext_resource type="Material" uid="uid://ck13qte606w1j" path="res://Materials/Particles/down_particles.tres" id="2_vgqql"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jjgbg"]
|
|
size = Vector2(16, 16)
|
|
|
|
[node name="Player" type="CharacterBody2D"]
|
|
script = ExtResource("1_cvnsp")
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
|
emitting = false
|
|
amount = 100
|
|
lifetime = 3.3699999999999997
|
|
process_material = ExtResource("2_vgqql")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_6t5aa")
|
|
hframes = 2
|
|
vframes = 2
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_jjgbg")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
|
|
rect = Rect2(-8, -8, 16, 16)
|
|
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|