KieranGodot/august26godotcompkieran/Scenes/Player.tscn

278 lines
7.5 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=39 format=3 uid="uid://crvsom7i1waff"]
2024-09-10 01:02:15 +00:00
[ext_resource type="Script" path="res://Sripts/player.gd" id="1_jdiv6"]
[ext_resource type="Texture2D" uid="uid://6qj1h70yjivd" path="res://Assets/Graphics/Player/Death/Player Death 64x64.png" id="2_4fy80"]
[ext_resource type="Texture2D" uid="uid://csjeohonmkkov" path="res://Assets/Graphics/Player/Idle/Player Idle 48x48.png" id="2_ow1rs"]
[ext_resource type="Texture2D" uid="uid://4b3eimvxs4xa" path="res://Assets/Graphics/Player/Jump/player jump 48x48.png" id="3_d7uya"]
[ext_resource type="Texture2D" uid="uid://7jk3tlc1nyw2" path="res://Assets/Graphics/Player/Run/player run 48x48.png" id="3_kgjol"]
[sub_resource type="AtlasTexture" id="AtlasTexture_h2ctk"]
atlas = ExtResource("2_4fy80")
region = Rect2(0, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_33q0u"]
atlas = ExtResource("2_4fy80")
region = Rect2(48, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_0y4j2"]
atlas = ExtResource("2_4fy80")
region = Rect2(96, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_2thpi"]
atlas = ExtResource("2_4fy80")
region = Rect2(144, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_rlvdk"]
atlas = ExtResource("2_4fy80")
region = Rect2(192, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_fulye"]
atlas = ExtResource("2_4fy80")
region = Rect2(240, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_5bk41"]
atlas = ExtResource("2_4fy80")
region = Rect2(288, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_7im3l"]
atlas = ExtResource("2_4fy80")
region = Rect2(336, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_kpvqi"]
atlas = ExtResource("2_4fy80")
region = Rect2(384, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_55tgt"]
atlas = ExtResource("2_4fy80")
region = Rect2(432, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_ogmew"]
atlas = ExtResource("2_ow1rs")
region = Rect2(0, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_gket1"]
atlas = ExtResource("2_ow1rs")
region = Rect2(48, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_gsema"]
atlas = ExtResource("2_ow1rs")
region = Rect2(96, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_qpim6"]
atlas = ExtResource("2_ow1rs")
region = Rect2(144, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_w6eh5"]
atlas = ExtResource("2_ow1rs")
region = Rect2(192, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_wftcm"]
atlas = ExtResource("2_ow1rs")
region = Rect2(240, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_3qd2c"]
atlas = ExtResource("2_ow1rs")
region = Rect2(288, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_0ayb1"]
atlas = ExtResource("2_ow1rs")
region = Rect2(336, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_vng5u"]
atlas = ExtResource("2_ow1rs")
region = Rect2(384, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_40r1e"]
atlas = ExtResource("2_ow1rs")
region = Rect2(432, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_83b8o"]
atlas = ExtResource("3_d7uya")
region = Rect2(0, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_snne0"]
atlas = ExtResource("3_d7uya")
region = Rect2(48, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_2am5l"]
atlas = ExtResource("3_d7uya")
region = Rect2(96, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_xvnqx"]
atlas = ExtResource("3_kgjol")
region = Rect2(0, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_80s61"]
atlas = ExtResource("3_kgjol")
region = Rect2(48, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_wv0jk"]
atlas = ExtResource("3_kgjol")
region = Rect2(96, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_td60s"]
atlas = ExtResource("3_kgjol")
region = Rect2(144, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_6vtxt"]
atlas = ExtResource("3_kgjol")
region = Rect2(192, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_plerx"]
atlas = ExtResource("3_kgjol")
region = Rect2(240, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_rqf2p"]
atlas = ExtResource("3_kgjol")
region = Rect2(288, 0, 48, 48)
[sub_resource type="AtlasTexture" id="AtlasTexture_jyxx1"]
atlas = ExtResource("3_kgjol")
region = Rect2(336, 0, 48, 48)
[sub_resource type="SpriteFrames" id="SpriteFrames_f8fvt"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_h2ctk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_33q0u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0y4j2")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2thpi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rlvdk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fulye")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5bk41")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7im3l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kpvqi")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_55tgt")
}],
"loop": false,
"name": &"Death",
"speed": 7.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_ogmew")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gket1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gsema")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qpim6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_w6eh5")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wftcm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3qd2c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0ayb1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vng5u")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_40r1e")
}],
"loop": true,
"name": &"Idle",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_83b8o")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_snne0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2am5l")
}],
"loop": false,
"name": &"Jump",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_xvnqx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_80s61")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wv0jk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_td60s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6vtxt")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_plerx")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_rqf2p")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jyxx1")
}],
"loop": true,
"name": &"Run",
"speed": 12.0
}]
2024-09-10 01:02:15 +00:00
[sub_resource type="CircleShape2D" id="CircleShape2D_t5iiu"]
[node name="CharacterBody2D" type="CharacterBody2D"]
script = ExtResource("1_jdiv6")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(0, -6)
sprite_frames = SubResource("SpriteFrames_f8fvt")
animation = &"Death"
autoplay = "Idle"
frame = 9
frame_progress = 1.0
2024-09-10 01:02:15 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_t5iiu")
debug_color = Color(0, 1, 0, 0.662745)
[node name="RightRay" type="RayCast2D" parent="."]
target_position = Vector2(25, 0)
[node name="LeftRay" type="RayCast2D" parent="."]
target_position = Vector2(-25, 0)
[node name="MarkerRight" type="Node2D" parent="."]
position = Vector2(14, -6)
2024-09-10 01:02:15 +00:00
[node name="MarkerLeft" type="Node2D" parent="."]
position = Vector2(-14, -6)