1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-29 11:34:22 +00:00
hella-farm/scenes/game/main_game.tscn

97 lines
3.5 KiB
Text
Raw Normal View History

2024-04-14 20:36:14 +00:00
[gd_scene load_steps=13 format=3 uid="uid://cxj5aud02f40j"]
2024-04-14 01:38:04 +00:00
[ext_resource type="Script" path="res://scenes/game/main_game.gd" id="1_wiglu"]
2024-04-14 21:07:19 +00:00
[ext_resource type="PackedScene" path="res://behaviours/spawner.tscn" id="2_bx37o"]
[ext_resource type="PackedScene" uid="uid://dm068vaseh45n" path="res://scenes/game/game_camera.tscn" id="2_db5xs"]
[ext_resource type="PackedScene" uid="uid://brvbtvt4em32" path="res://behaviours/counter.tscn" id="3_p6jw3"]
2024-04-14 20:36:14 +00:00
[ext_resource type="PackedScene" uid="uid://eqb3vfbvjefp" path="res://entities/cloud.tscn" id="3_whlmm"]
[ext_resource type="PackedScene" uid="uid://7j1b55t8tafg" path="res://scenes/game/cursor_magnet.tscn" id="3_xbolm"]
[ext_resource type="PackedScene" uid="uid://uoxwjpmgg27a" path="res://entities/gold.tscn" id="4_eu7q4"]
[ext_resource type="PackedScene" uid="uid://bc2bm8lbol18w" path="res://entities/sheep.tscn" id="5_63bwb"]
2024-04-14 20:36:14 +00:00
[ext_resource type="Texture2D" uid="uid://dyvkvmw7wxwe5" path="res://icon.svg" id="9_8kxq4"]
2024-04-14 01:38:04 +00:00
[sub_resource type="TileSet" id="TileSet_g2dkm"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_p1lg5"]
size = Vector2(1280, 720)
2024-04-14 20:36:14 +00:00
[sub_resource type="CircleShape2D" id="CircleShape2D_3du4x"]
radius = 29.14
2024-04-14 01:38:04 +00:00
[node name="MainGame" type="Node2D"]
script = ExtResource("1_wiglu")
2024-04-14 01:38:04 +00:00
[node name="TileMap" type="TileMap" parent="."]
tile_set = SubResource("TileSet_g2dkm")
format = 2
2024-04-14 20:36:14 +00:00
[node name="CloudSpawner" parent="." instance=ExtResource("2_bx37o")]
position = Vector2(41.795, -60.05)
scene = ExtResource("3_whlmm")
2024-04-14 01:38:04 +00:00
[node name="PlayArea" type="Area2D" parent="."]
[node name="Shape" type="CollisionShape2D" parent="PlayArea"]
shape = SubResource("RectangleShape2D_p1lg5")
debug_color = Color(1, 1, 1, 0)
[node name="GameCamera" parent="." instance=ExtResource("2_db5xs")]
2024-04-14 01:38:04 +00:00
[node name="CursorMagnet" parent="." instance=ExtResource("3_xbolm")]
[node name="GoldCounter" parent="." instance=ExtResource("3_p6jw3")]
[node name="Gold" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(94, 70)
[node name="Gold2" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(239, 96)
[node name="Gold3" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(171, 199)
[node name="Gold4" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(352, 196)
[node name="Gold5" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(377, 96)
[node name="Gold6" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(434, 188)
[node name="Gold7" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(502, 104)
[node name="Gold8" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(249, -51)
[node name="Gold9" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(379, -58)
[node name="Gold10" parent="." instance=ExtResource("4_eu7q4")]
position = Vector2(456, -7)
[node name="Sheep" parent="." instance=ExtResource("5_63bwb")]
position = Vector2(-135, -134)
2024-04-14 17:48:13 +00:00
[node name="SpawnedEntities" type="Node2D" parent="."]
2024-04-14 20:36:14 +00:00
[node name="Cloud" parent="." instance=ExtResource("3_whlmm")]
position = Vector2(-3, -112)
[node name="Node2D" type="Node2D" parent="."]
position = Vector2(590, 317)
scale = Vector2(11.285, 11.285)
[node name="Sprite2D" type="Sprite2D" parent="Node2D"]
scale = Vector2(0.03, 0.029)
texture = ExtResource("9_8kxq4")
[node name="Area2D" type="Area2D" parent="Node2D"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Node2D/Area2D"]
scale = Vector2(0.0886132, 0.0886132)
shape = SubResource("CircleShape2D_3du4x")
[connection signal="mouse_entered" from="Node2D/Area2D" to="CloudSpawner" method="spawn"]