we do a bit of cooking but i need lunch

This commit is contained in:
Tabby 2025-07-20 15:48:17 +10:00
parent bcbe8ab287
commit 4fa6a88b54
14 changed files with 858 additions and 1 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://hv07lm2tjwn4"]
[gd_scene load_steps=15 format=4 uid="uid://hv07lm2tjwn4"]
[ext_resource type="PackedScene" uid="uid://crrbht7mwhgyc" path="res://Prefabs/lander.tscn" id="1_80nbo"]
[ext_resource type="Script" uid="uid://bltj2frs6vqwj" path="res://autoscroll.gd" id="1_feb5d"]
@ -7,6 +7,7 @@
[ext_resource type="PackedScene" uid="uid://cfdsa5scvso6m" path="res://Prefabs/spare_battery.tscn" id="4_eow3j"]
[ext_resource type="Script" uid="uid://dd8psfqfobgau" path="res://test_obstacle_spawner.gd" id="6_vef74"]
[ext_resource type="PackedScene" uid="uid://jb677rdhbj83" path="res://Prefabs/obstacle.tscn" id="8_j5wjh"]
[ext_resource type="PackedScene" uid="uid://bbtky034ivm5o" path="res://Prefabs/newObstacle.tscn" id="8_vef74"]
[sub_resource type="Gradient" id="Gradient_mwb40"]
offsets = PackedFloat32Array(0.806763, 1)
@ -25,6 +26,13 @@ noise = SubResource("FastNoiseLite_80nbo")
[sub_resource type="RectangleShape2D" id="RectangleShape2D_feb5d"]
size = Vector2(115, 20)
[sub_resource type="TileSetScenesCollectionSource" id="TileSetScenesCollectionSource_hve3p"]
scenes/1/scene = ExtResource("8_vef74")
[sub_resource type="TileSet" id="TileSet_mfdv2"]
physics_layer_0/collision_layer = 1
sources/0 = SubResource("TileSetScenesCollectionSource_hve3p")
[node name="Game" type="Node2D"]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
@ -69,6 +77,7 @@ script = ExtResource("1_feb5d")
camera_speed = 30.0
[node name="TestObstacleSpawner" type="Node2D" parent="Camera2D"]
process_mode = 4
position = Vector2(673, 0)
script = ExtResource("6_vef74")
@ -86,19 +95,33 @@ position = Vector2(-262.5, 170)
shape = SubResource("RectangleShape2D_feb5d")
[node name="Obstacle" parent="." instance=ExtResource("8_j5wjh")]
process_mode = 4
visible = false
position = Vector2(240, 265)
[node name="Obstacle2" parent="." instance=ExtResource("8_j5wjh")]
process_mode = 4
visible = false
position = Vector2(301, 100)
[node name="Obstacle3" parent="." instance=ExtResource("8_j5wjh")]
process_mode = 4
visible = false
position = Vector2(425, 224)
[node name="Obstacle4" parent="." instance=ExtResource("8_j5wjh")]
process_mode = 4
visible = false
position = Vector2(582, 320)
[node name="Obstacle5" parent="." instance=ExtResource("8_j5wjh")]
process_mode = 4
visible = false
position = Vector2(549, 39)
[node name="TileMapLayer" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAAOABQAAAAAAAAAAQAPABUAAAAAAAAAAQAQABQAAAAAAAAAAQARABUAAAAAAAAAAQASABQAAAAAAAAAAQARAAsAAAAAAAAAAQASAAoAAAAAAAAAAQATAAsAAAAAAAAAAQAUAAoAAAAAAAAAAQAVAAsAAAAAAAAAAQAUAAwAAAAAAAAAAQASAAwAAAAAAAAAAQAdABIAAAAAAAAAAQAeABEAAAAAAAAAAQAeABMAAAAAAAAAAQAfABIAAAAAAAAAAQAgABEAAAAAAAAAAQAgABMAAAAAAAAAAQAhABIAAAAAAAAAAQAeAAMAAAAAAAAAAQAfAAQAAAAAAAAAAQAfAAIAAAAAAAAAAQAgAAMAAAAAAAAAAQAhAAIAAAAAAAAAAQAhAAQAAAAAAAAAAQAiAAMAAAAAAAAAAQAmABUAAAAAAAAAAQAnABQAAAAAAAAAAQAoABMAAAAAAAAAAQApABIAAAAAAAAAAQAqABEAAAAAAAAAAQArABAAAAAAAAAAAQAsAA8AAAAAAAAAAQAtAA4AAAAAAAAAAQAuAA0AAAAAAAAAAQAvAAwAAAAAAAAAAQAwAAsAAAAAAAAAAQAxAAoAAAAAAAAAAQAyAAkAAAAAAAAAAQAzAAgAAAAAAAAAAQBAAAAAAAAAAAAAAQBAAAIAAAAAAAAAAQBAAAQAAAAAAAAAAQBAAAYAAAAAAAAAAQBAAAgAAAAAAAAAAQBAAAoAAAAAAAAAAQA+AAwAAAAAAAAAAQA8AA4AAAAAAAAAAQA6ABAAAAAAAAAAAQA7AA8AAAAAAAAAAQA9AA0AAAAAAAAAAQA/AAsAAAAAAAAAAQA=")
tile_set = SubResource("TileSet_mfdv2")
[connection signal="moved" from="Lander" to="Camera2D" method="_on_lander_moved"]
[connection signal="moved" from="Lander" to="Camera2D/TestObstacleSpawner" method="_on_lander_moved"]