ape-ame/player-ite.tscn

283 lines
7.8 KiB
Text
Raw Permalink Normal View History

2025-02-05 14:05:36 -05:00
[gd_scene load_steps=40 format=3 uid="uid://ctyntcrw0qf6w"]
2024-05-06 14:09:14 -04:00
2025-02-05 18:20:26 -05:00
[ext_resource type="PackedScene" uid="uid://cgcjicue76wsr" path="res://player.tscn" id="1_iw03x"]
[ext_resource type="Script" path="res://player-ite.gd" id="2_bi2a0"]
[ext_resource type="Texture2D" uid="uid://br5lt5658ioy3" path="res://apezoid_engine.png" id="3_8rprd"]
[ext_resource type="Texture2D" uid="uid://1jurox63577w" path="res://apezoid-engine-idle.png" id="4_wcegf"]
[ext_resource type="Texture2D" uid="uid://2e78kvd8ksav" path="res://ite-idle.png" id="5_n6ban"]
[ext_resource type="Texture2D" uid="uid://bpbhq4d37n7xa" path="res://ite-fire.png" id="6_pdh00"]
[ext_resource type="Texture2D" uid="uid://djfjdlri5xdkn" path="res://dotted line.png" id="7_lcm2p"]
[ext_resource type="Script" path="res://Laser.gd" id="8_xpjph"]
[ext_resource type="AudioStream" uid="uid://4ou7posn1vbd" path="res://laserSmall_004.ogg" id="9_thl05"]
2024-05-06 14:09:14 -04:00
[sub_resource type="AtlasTexture" id="AtlasTexture_8qb1c"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i14ah"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0y7yb"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4tt11"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(0, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7enh4"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(64, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3u4ij"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(128, 64, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_wnc5h"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(0, 128, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mt75u"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("3_8rprd")
2024-05-06 14:09:14 -04:00
region = Rect2(64, 128, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_lx4pn"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_8qb1c")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i14ah")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0y7yb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4tt11")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7enh4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3u4ij")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_wnc5h")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mt75u")
}],
"loop": true,
"name": &"active",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
2025-02-05 18:20:26 -05:00
"texture": ExtResource("4_wcegf")
2024-05-06 14:09:14 -04:00
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}]
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_mvgkf"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(0, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_ikckq"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(128, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_vq3iw"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(256, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_jrk45"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(384, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_etscb"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(512, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_2wryh"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(640, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_vf2w7"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(768, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_5itcx"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("5_n6ban")
2025-02-05 14:05:36 -05:00
region = Rect2(896, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_vqfpi"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(0, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_afwpo"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(128, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_odt5w"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(256, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_df613"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(384, 0, 128, 128)
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[sub_resource type="AtlasTexture" id="AtlasTexture_ed1r1"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(512, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_1hvxs"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(640, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_5me2y"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(768, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_udqx1"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(896, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_gwo8l"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(1024, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_bdlvk"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(1152, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_gmcjb"]
2025-02-05 18:20:26 -05:00
atlas = ExtResource("6_pdh00")
2025-02-05 14:05:36 -05:00
region = Rect2(1280, 0, 128, 128)
[sub_resource type="SpriteFrames" id="SpriteFrames_wl3m1"]
2024-05-06 14:09:14 -04:00
animations = [{
"frames": [{
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_mvgkf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ikckq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vq3iw")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jrk45")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_etscb")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2wryh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vf2w7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5itcx")
2024-05-06 14:09:14 -04:00
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_vqfpi")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_afwpo")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_odt5w")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_df613")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_ed1r1")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_1hvxs")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_5me2y")
2024-05-06 14:09:14 -04:00
}, {
"duration": 1.0,
2025-02-05 14:05:36 -05:00
"texture": SubResource("AtlasTexture_udqx1")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gwo8l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bdlvk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gmcjb")
2024-05-06 14:09:14 -04:00
}],
2025-02-05 14:05:36 -05:00
"loop": false,
2024-05-06 14:09:14 -04:00
"name": &"shoot",
2025-02-05 14:05:36 -05:00
"speed": 10.0
2024-05-06 14:09:14 -04:00
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_tkosh"]
2025-02-05 14:05:36 -05:00
radius = 19.9939
height = 71.0167
2024-05-06 14:09:14 -04:00
2025-02-05 18:20:26 -05:00
[node name="Player" instance=ExtResource("1_iw03x")]
2024-05-07 09:23:18 -04:00
scale = Vector2(2, 2)
2024-05-06 14:09:14 -04:00
lock_rotation = true
2025-02-05 18:20:26 -05:00
script = ExtResource("2_bi2a0")
2024-05-06 14:09:14 -04:00
2025-02-05 14:05:36 -05:00
[node name="DeathFX" parent="." index="0"]
bus = &"SFX"
2024-05-06 14:09:14 -04:00
[node name="Engine" type="AnimatedSprite2D" parent="." index="1"]
2025-02-05 14:05:36 -05:00
visible = false
2024-05-06 14:09:14 -04:00
sprite_frames = SubResource("SpriteFrames_lx4pn")
animation = &"active"
autoplay = "idle"
[node name="Body" type="AnimatedSprite2D" parent="." index="2"]
2025-02-05 14:05:36 -05:00
position = Vector2(15, 0)
rotation = -1.5708
sprite_frames = SubResource("SpriteFrames_wl3m1")
animation = &"idle"
2024-05-06 14:09:14 -04:00
autoplay = "idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="3"]
position = Vector2(9, 1)
2025-02-05 14:05:36 -05:00
rotation = -1.56062
2024-05-06 14:09:14 -04:00
shape = SubResource("CapsuleShape2D_tkosh")
[node name="Laser" type="Line2D" parent="." index="4"]
z_index = -2
texture_filter = 1
texture_repeat = 2
position = Vector2(-3, 1)
points = PackedVector2Array(0, 0, 1075, 0)
width = 30.0
2025-02-05 18:20:26 -05:00
texture = ExtResource("7_lcm2p")
2024-05-06 14:09:14 -04:00
texture_mode = 1
2025-02-05 18:20:26 -05:00
script = ExtResource("8_xpjph")
2024-05-06 14:09:14 -04:00
2024-05-07 16:46:49 -04:00
[node name="RayCast2D" type="RayCast2D" parent="Laser" index="0"]
2024-05-06 14:09:14 -04:00
target_position = Vector2(50000, 2.08165e-12)
collision_mask = 3
[node name="LaserFX" type="AudioStreamPlayer2D" parent="." index="5"]
2025-02-05 18:20:26 -05:00
stream = ExtResource("9_thl05")
2025-02-05 14:05:36 -05:00
bus = &"SFX"
2025-02-05 21:15:12 -05:00
[node name="ShieldMarker" type="Marker2D" parent="." index="6"]
position = Vector2(10.5, 0)
scale = Vector2(2, 2)