30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://jjoyj1ldafkf"]
|
|
|
|
[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"]
|
|
[ext_resource type="PackedScene" uid="uid://bno6flekdwx88" path="res://buildings/haunted_house.tscn" id="4_ml5no"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_5i67w"]
|
|
radius = 3000.0
|
|
|
|
[node name="Earth" type="Node2D"]
|
|
|
|
[node name="Ground" type="StaticBody2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground"]
|
|
shape = SubResource("CircleShape2D_5i67w")
|
|
|
|
[node name="GroundVisual" type="Node2D" parent="Ground"]
|
|
script = ExtResource("2_2bhor")
|
|
radius = 3000.0
|
|
|
|
[node name="Grid" type="Node2D" parent="."]
|
|
unique_name_in_owner = true
|
|
script = ExtResource("3_2bhor")
|
|
ground_radius = 3000.0
|
|
cell_height = 300.0
|
|
num_collumns = 60
|
|
debug = true
|
|
packed_buildings = Array[PackedScene]([ExtResource("3_nihcy"), ExtResource("4_ml5no")])
|
|
metadata/_custom_type_script = "uid://m3vyyfk8gnma"
|