108 lines
4.4 KiB
Plaintext
108 lines
4.4 KiB
Plaintext
[gd_scene load_steps=20 format=3 uid="uid://dh0lvt4eb1x5s"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://btgsbvc7gidjq" path="res://planetScene/planet.png" id="1_6j83a"]
|
|
[ext_resource type="Texture2D" uid="uid://cuv6yxysv620e" path="res://planetScene/background/space-seamless.png" id="1_icdcw"]
|
|
[ext_resource type="Script" uid="uid://d4crfwu1s5wm1" path="res://planetScene/background/textureRotate.gd" id="2_dp0ko"]
|
|
[ext_resource type="Script" uid="uid://b8kcef36xwy7k" path="res://planetScene/planet_sprite.gd" id="2_jgijx"]
|
|
[ext_resource type="Texture2D" uid="uid://dimdd34ldpix5" path="res://player/smallPlayer/playerSprites/playerSprite_0001.png" id="3_5cujh"]
|
|
[ext_resource type="Texture2D" uid="uid://cmga6fl4uer1m" path="res://player/smallPlayer/playerSprites/playerSprite_0002.png" id="4_icdcw"]
|
|
[ext_resource type="Texture2D" uid="uid://cw30f2tjaigg4" path="res://planetScene/caveEntrance.png" id="5_3xb1h"]
|
|
[ext_resource type="Texture2D" uid="uid://cw0ntcoynkr0w" path="res://player/smallPlayer/playerSprites/playerSprite_0003.png" id="5_dp0ko"]
|
|
[ext_resource type="Script" uid="uid://bxsyec5gcnavv" path="res://planetScene/cave_entrance.gd" id="5_l113b"]
|
|
[ext_resource type="Texture2D" uid="uid://dt3rv4x30n4ru" path="res://player/smallPlayer/playerSprites/playerSprite_0004.png" id="6_s4scv"]
|
|
[ext_resource type="Texture2D" uid="uid://bvnodga8epycb" path="res://player/smallPlayer/playerSprites/playerSprite_0005.png" id="7_l113b"]
|
|
[ext_resource type="Texture2D" uid="uid://d5qpoa8wadrp" path="res://player/smallPlayer/playerSprites/playerSprite_0006.png" id="8_4mgjw"]
|
|
[ext_resource type="Texture2D" uid="uid://jfhpkm78lqyx" path="res://player/smallPlayer/playerSprites/playerSprite_0007.png" id="9_e363o"]
|
|
[ext_resource type="Texture2D" uid="uid://jssqmb4832pr" path="res://player/smallPlayer/playerSprites/playerSprite_0008.png" id="10_ahaa2"]
|
|
[ext_resource type="Texture2D" uid="uid://dxeg6715vly1v" path="res://player/smallPlayer/playerSprites/playerSprite_0009.png" id="11_6fiqi"]
|
|
[ext_resource type="Texture2D" uid="uid://b8eut6fnru722" path="res://player/smallPlayer/playerSprites/playerSprite_0010.png" id="12_up3d5"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3xb1h"]
|
|
size = Vector2(40, 36.5)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_i6oun"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_5cujh")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_icdcw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_dp0ko")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_s4scv")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("7_l113b")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_4mgjw")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("9_e363o")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("10_ahaa2")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("11_6fiqi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("12_up3d5")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dp0ko"]
|
|
|
|
[node name="planetScene" type="Node2D"]
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
offset_left = -835.0
|
|
offset_top = -538.0
|
|
offset_right = 2088.0
|
|
offset_bottom = 2077.0
|
|
pivot_offset = Vector2(1411, 1294)
|
|
texture = ExtResource("1_icdcw")
|
|
stretch_mode = 1
|
|
script = ExtResource("2_dp0ko")
|
|
|
|
[node name="planetSprite" type="Sprite2D" parent="."]
|
|
position = Vector2(575, 786)
|
|
scale = Vector2(4.53252, 4.53252)
|
|
texture = ExtResource("1_6j83a")
|
|
offset = Vector2(0.2, 0.23)
|
|
script = ExtResource("2_jgijx")
|
|
|
|
[node name="caveEntrance" type="Area2D" parent="planetSprite"]
|
|
position = Vector2(-126.861, -173.413)
|
|
scale = Vector2(0.220628, 0.220628)
|
|
script = ExtResource("5_l113b")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="planetSprite/caveEntrance"]
|
|
position = Vector2(88, 652)
|
|
rotation = -1.36127
|
|
scale = Vector2(0.528808, 0.528808)
|
|
texture = ExtResource("5_3xb1h")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="planetSprite/caveEntrance"]
|
|
position = Vector2(99, 653)
|
|
shape = SubResource("RectangleShape2D_3xb1h")
|
|
|
|
[node name="playerModel" type="StaticBody2D" parent="."]
|
|
position = Vector2(573, 300)
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="playerModel"]
|
|
sprite_frames = SubResource("SpriteFrames_i6oun")
|
|
autoplay = "default"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="playerModel"]
|
|
shape = SubResource("RectangleShape2D_dp0ko")
|
|
|
|
[connection signal="body_entered" from="planetSprite/caveEntrance" to="planetSprite/caveEntrance" method="_on_body_entered"]
|