2025-09-17 19:25:22 +02:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://jjoyj1ldafkf"]
|
2025-09-15 18:25:00 +02:00
|
|
|
|
2025-09-17 19:25:22 +02:00
|
|
|
[ext_resource type="Script" uid="uid://vgxh2xdevat7" path="res://world/earth.gd" id="1_wxnww"]
|
2025-09-16 12:02:37 +02:00
|
|
|
[ext_resource type="Script" uid="uid://b5fhsy1xlreco" path="res://world/draw_circle.gd" id="2_2bhor"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://m3vyyfk8gnma" path="res://world/grid.gd" id="3_2bhor"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://djawvtdwp423v" path="res://buildings/building.tscn" id="3_nihcy"]
|
2025-09-16 19:43:54 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cmofmd0vf3hx3" path="res://buildings/haunted_house.tscn" id="4_ml5no"]
|
2025-09-15 18:25:00 +02:00
|
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5i67w"]
|
|
|
|
|
radius = 3000.0
|
|
|
|
|
|
|
|
|
|
[node name="Earth" type="Node2D"]
|
2025-09-17 19:25:22 +02:00
|
|
|
script = ExtResource("1_wxnww")
|
2025-09-15 18:25:00 +02:00
|
|
|
|
|
|
|
|
[node name="Ground" type="StaticBody2D" parent="."]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground"]
|
|
|
|
|
shape = SubResource("CircleShape2D_5i67w")
|
|
|
|
|
|
2025-09-16 00:19:40 +02:00
|
|
|
[node name="GroundVisual" type="Node2D" parent="Ground"]
|
2025-09-15 18:25:00 +02:00
|
|
|
script = ExtResource("2_2bhor")
|
|
|
|
|
radius = 3000.0
|
|
|
|
|
|
2025-09-15 19:07:52 +02:00
|
|
|
[node name="Grid" type="Node2D" parent="."]
|
2025-09-16 15:12:40 +02:00
|
|
|
unique_name_in_owner = true
|
2025-09-15 19:03:18 +02:00
|
|
|
script = ExtResource("3_2bhor")
|
|
|
|
|
ground_radius = 3000.0
|
|
|
|
|
cell_height = 300.0
|
2025-09-15 19:07:52 +02:00
|
|
|
num_collumns = 60
|
2025-09-16 16:29:02 +02:00
|
|
|
packed_buildings = Array[PackedScene]([ExtResource("3_nihcy"), ExtResource("4_ml5no")])
|
2025-09-15 19:07:52 +02:00
|
|
|
metadata/_custom_type_script = "uid://m3vyyfk8gnma"
|