2025-05-19 15:50:52 +00:00
|
|
|
[gd_scene load_steps=20 format=3 uid="uid://djwdtavyh4ts1"]
|
2025-05-18 13:55:56 +00:00
|
|
|
|
2025-05-20 12:43:47 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cuv6yxysv620e" path="res://planets/background/space-seamless.png" id="1_qoowv"]
|
|
|
|
[ext_resource type="Script" uid="uid://d4crfwu1s5wm1" path="res://planets/background/textureRotate.gd" id="2_kt3hf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://btgsbvc7gidjq" path="res://planets/sprites/planet.png" id="3_v8bam"]
|
|
|
|
[ext_resource type="Script" uid="uid://b8kcef36xwy7k" path="res://planets/planetOne/planet_sprite.gd" id="4_ondy7"]
|
|
|
|
[ext_resource type="Script" uid="uid://dv7jbphcsma8q" path="res://planets/planetTwo/caveEntranceTwo.gd" id="5_gqxmi"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cw30f2tjaigg4" path="res://planets/sprites/caveEntrance.png" id="6_y8axt"]
|
2025-05-19 15:50:52 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dimdd34ldpix5" path="res://player/smallPlayer/playerSprites/playerSprite_0001.png" id="7_40t4w"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cmga6fl4uer1m" path="res://player/smallPlayer/playerSprites/playerSprite_0002.png" id="8_jdc1j"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cw0ntcoynkr0w" path="res://player/smallPlayer/playerSprites/playerSprite_0003.png" id="9_we8pr"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dt3rv4x30n4ru" path="res://player/smallPlayer/playerSprites/playerSprite_0004.png" id="10_g7n13"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bvnodga8epycb" path="res://player/smallPlayer/playerSprites/playerSprite_0005.png" id="11_vdufh"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://d5qpoa8wadrp" path="res://player/smallPlayer/playerSprites/playerSprite_0006.png" id="12_iiywj"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://jfhpkm78lqyx" path="res://player/smallPlayer/playerSprites/playerSprite_0007.png" id="13_6kw41"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://jssqmb4832pr" path="res://player/smallPlayer/playerSprites/playerSprite_0008.png" id="14_byiy2"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dxeg6715vly1v" path="res://player/smallPlayer/playerSprites/playerSprite_0009.png" id="15_1oi7f"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b8eut6fnru722" path="res://player/smallPlayer/playerSprites/playerSprite_0010.png" id="16_7tw6i"]
|
2025-05-18 14:16:34 +00:00
|
|
|
|
2025-05-19 13:24:36 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xb1h"]
|
|
|
|
size = Vector2(40, 36.5)
|
|
|
|
|
2025-05-18 14:16:34 +00:00
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_i6oun"]
|
|
|
|
animations = [{
|
|
|
|
"frames": [{
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("7_40t4w")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("8_jdc1j")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("9_we8pr")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("10_g7n13")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("11_vdufh")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("12_iiywj")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("13_6kw41")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("14_byiy2")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("15_1oi7f")
|
2025-05-18 14:16:34 +00:00
|
|
|
}, {
|
|
|
|
"duration": 1.0,
|
2025-05-19 15:50:52 +00:00
|
|
|
"texture": ExtResource("16_7tw6i")
|
2025-05-18 14:16:34 +00:00
|
|
|
}],
|
|
|
|
"loop": true,
|
|
|
|
"name": &"default",
|
|
|
|
"speed": 5.0
|
|
|
|
}]
|
2025-05-18 13:55:56 +00:00
|
|
|
|
2025-05-19 12:38:05 +00:00
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dp0ko"]
|
2025-05-18 13:55:56 +00:00
|
|
|
|
2025-05-19 12:38:05 +00:00
|
|
|
[node name="planetScene" type="Node2D"]
|
|
|
|
|
2025-05-19 15:50:52 +00:00
|
|
|
[node name="background" type="TextureRect" parent="."]
|
2025-05-19 12:38:05 +00:00
|
|
|
offset_left = -835.0
|
|
|
|
offset_top = -538.0
|
|
|
|
offset_right = 2088.0
|
|
|
|
offset_bottom = 2077.0
|
|
|
|
pivot_offset = Vector2(1411, 1294)
|
2025-05-19 15:50:52 +00:00
|
|
|
texture = ExtResource("1_qoowv")
|
2025-05-19 12:38:05 +00:00
|
|
|
stretch_mode = 1
|
2025-05-19 15:50:52 +00:00
|
|
|
script = ExtResource("2_kt3hf")
|
2025-05-18 14:16:34 +00:00
|
|
|
|
2025-05-18 13:55:56 +00:00
|
|
|
[node name="planetSprite" type="Sprite2D" parent="."]
|
2025-05-19 15:50:52 +00:00
|
|
|
position = Vector2(572, 615)
|
|
|
|
scale = Vector2(2.90981, 2.90981)
|
|
|
|
texture = ExtResource("3_v8bam")
|
2025-05-19 12:38:05 +00:00
|
|
|
offset = Vector2(0.2, 0.23)
|
2025-05-19 15:50:52 +00:00
|
|
|
script = ExtResource("4_ondy7")
|
2025-05-19 12:38:05 +00:00
|
|
|
|
2025-05-19 13:44:43 +00:00
|
|
|
[node name="caveEntrance" type="Area2D" parent="planetSprite"]
|
2025-05-19 15:50:52 +00:00
|
|
|
position = Vector2(112.722, 20.9636)
|
|
|
|
rotation = 3.14159
|
|
|
|
scale = Vector2(0.341, 0.341)
|
2025-05-19 16:27:19 +00:00
|
|
|
script = ExtResource("5_gqxmi")
|
2025-05-19 13:24:36 +00:00
|
|
|
|
2025-05-19 15:50:52 +00:00
|
|
|
[node name="caveSprite" type="Sprite2D" parent="planetSprite/caveEntrance"]
|
|
|
|
position = Vector2(-1.55765, -6.10352e-05)
|
2025-05-19 13:24:36 +00:00
|
|
|
rotation = -1.36127
|
|
|
|
scale = Vector2(0.528808, 0.528808)
|
2025-05-19 15:50:52 +00:00
|
|
|
texture = ExtResource("6_y8axt")
|
2025-05-19 13:24:36 +00:00
|
|
|
|
2025-05-19 13:44:43 +00:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="planetSprite/caveEntrance"]
|
2025-05-19 15:50:52 +00:00
|
|
|
position = Vector2(10.9037, 1.55767)
|
|
|
|
rotation = 0.220474
|
2025-05-19 13:24:36 +00:00
|
|
|
shape = SubResource("RectangleShape2D_3xb1h")
|
|
|
|
|
2025-05-19 15:50:52 +00:00
|
|
|
[node name="caveExit" type="Sprite2D" parent="planetSprite"]
|
2025-05-19 16:20:27 +00:00
|
|
|
position = Vector2(0.343666, -107.911)
|
2025-05-19 15:50:52 +00:00
|
|
|
scale = Vector2(0.0528251, 0.0528251)
|
|
|
|
texture = ExtResource("6_y8axt")
|
|
|
|
|
2025-05-19 12:38:05 +00:00
|
|
|
[node name="playerModel" type="StaticBody2D" parent="."]
|
|
|
|
position = Vector2(573, 300)
|
|
|
|
|
2025-05-19 15:50:52 +00:00
|
|
|
[node name="playerSprite" type="AnimatedSprite2D" parent="playerModel"]
|
2025-05-19 12:38:05 +00:00
|
|
|
sprite_frames = SubResource("SpriteFrames_i6oun")
|
|
|
|
autoplay = "default"
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="playerModel"]
|
|
|
|
shape = SubResource("RectangleShape2D_dp0ko")
|
2025-05-19 13:44:43 +00:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="planetSprite/caveEntrance" to="planetSprite/caveEntrance" method="_on_body_entered"]
|