| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- [gd_scene load_steps=47 format=3 uid="uid://dob8a2h4f6gt8"]
- [ext_resource type="Texture2D" uid="uid://c40a533uqalcb" path="res://assets/characters/character_1.png" id="1_3vyb7"]
- [ext_resource type="Script" uid="uid://cr0rf00w5q53d" path="res://scripts/player.gd" id="1_g2els"]
- [ext_resource type="AudioStream" uid="uid://csvkvrv8ndh5x" path="res://assets/Audio/interact.mp3" id="3_dqkch"]
- [ext_resource type="AudioStream" uid="uid://bd650j6lpf34f" path="res://assets/Audio/Running.mp3" id="4_qlg0r"]
- [sub_resource type="AtlasTexture" id="AtlasTexture_g2els"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(0, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_qhqgy"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(48, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_dqkch"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(96, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_qlg0r"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(144, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_tuyoq"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(192, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_fjrip"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(240, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_smehm"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(288, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_ur7pv"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(336, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_y4r1p"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(384, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_d2wvv"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(432, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_3v2ag"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(480, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_jej6c"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(528, 697, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_f1ej7"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(0, 24, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_oprun"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(48, 24, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_a8ls1"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(96, 24, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_qfm1y"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(144, 24, 48, 76)
- [sub_resource type="AtlasTexture" id="AtlasTexture_fulsm"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(864, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_4r5pv"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(912, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_60mlk"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(960, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_i4ail"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(1008, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_a38lo"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(1056, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_4ni07"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(1104, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_wqfne"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(576, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_wnwbv"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(624, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_gl8cc"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(672, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_487ah"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(720, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_md1ol"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(768, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_bj30b"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(816, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_jc3p3"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(0, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_hax0n"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(48, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_t4otl"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(96, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_j2b1d"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(144, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_cs1tg"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(192, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_2dvfe"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(240, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_l71n6"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(288, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_ke2ow"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(336, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_ujl30"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(384, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_31cv2"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(432, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_pf23h"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(480, 794, 48, 70)
- [sub_resource type="AtlasTexture" id="AtlasTexture_dt7fs"]
- atlas = ExtResource("1_3vyb7")
- region = Rect2(528, 794, 48, 70)
- [sub_resource type="SpriteFrames" id="SpriteFrames_fulsm"]
- animations = [{
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_g2els")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_qhqgy")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_dqkch")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_qlg0r")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_tuyoq")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_fjrip")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_smehm")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_ur7pv")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_y4r1p")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_d2wvv")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_3v2ag")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_jej6c")
- }],
- "loop": true,
- "name": &"idle",
- "speed": 12.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_f1ej7")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_oprun")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_a8ls1")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_qfm1y")
- }],
- "loop": true,
- "name": &"turn",
- "speed": 5.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_fulsm")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_4r5pv")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_60mlk")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_i4ail")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_a38lo")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_4ni07")
- }],
- "loop": true,
- "name": &"walk_down",
- "speed": 5.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_wqfne")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_wnwbv")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_gl8cc")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_487ah")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_md1ol")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_bj30b")
- }],
- "loop": true,
- "name": &"walk_left",
- "speed": 5.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_jc3p3")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_hax0n")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_t4otl")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_j2b1d")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_cs1tg")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_2dvfe")
- }],
- "loop": true,
- "name": &"walk_right",
- "speed": 5.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_l71n6")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_ke2ow")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_ujl30")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_31cv2")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_pf23h")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_dt7fs")
- }],
- "loop": true,
- "name": &"walk_up",
- "speed": 12.0
- }]
- [sub_resource type="RectangleShape2D" id="RectangleShape2D_4r5pv"]
- size = Vector2(43, 68)
- [node name="Player" type="CharacterBody2D"]
- script = ExtResource("1_g2els")
- [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
- sprite_frames = SubResource("SpriteFrames_fulsm")
- animation = &"walk_right"
- autoplay = "idle"
- [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
- position = Vector2(-0.5, -1)
- shape = SubResource("RectangleShape2D_4r5pv")
- [node name="Camera2D" type="Camera2D" parent="."]
- zoom = Vector2(1.5, 1.5)
- [node name="InteractSound" type="AudioStreamPlayer" parent="."]
- stream = ExtResource("3_dqkch")
- [node name="RunningSound" type="AudioStreamPlayer" parent="."]
- stream = ExtResource("4_qlg0r")
|