adding all slides
This commit is contained in:
parent
44328e3a2d
commit
575eaa9b31
10 changed files with 310 additions and 110 deletions
44
rug_player.tscn
Normal file
44
rug_player.tscn
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://cap8s1gpqsueq"]
|
||||
|
||||
[ext_resource type="Script" path="res://rug_player.gd" id="1_cloox"]
|
||||
[ext_resource type="Texture2D" uid="uid://qsccmmha7be6" path="res://tile000.png" id="2_5uvqy"]
|
||||
[ext_resource type="Texture2D" uid="uid://dcu1je46mxhk8" path="res://tile001.png" id="3_mquon"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_kwcsl"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_ol8gj"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_5uvqy")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_mquon")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 10.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_5uvqy")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 24.0
|
||||
}]
|
||||
|
||||
[node name="RugPlayer" type="CharacterBody2D"]
|
||||
scale = Vector2(10, 10)
|
||||
motion_mode = 1
|
||||
script = ExtResource("1_cloox")
|
||||
SPEED = 300.0
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_kwcsl")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_ol8gj")
|
||||
autoplay = "idle"
|
||||
frame = 1
|
||||
frame_progress = 0.80536
|
||||
Loading…
Add table
Add a link
Reference in a new issue