The_Dark_Side_of_Earth/earth.tscn
2025-09-16 00:19:40 +02:00

36 lines
1.2 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://33k5v6skcbsm"]
[ext_resource type="Script" uid="uid://b5fhsy1xlreco" path="res://draw_circle.gd" id="2_2bhor"]
[ext_resource type="Script" uid="uid://m3vyyfk8gnma" path="res://grid.gd" id="3_2bhor"]
[ext_resource type="PackedScene" uid="uid://djawvtdwp423v" path="res://building.tscn" id="3_5i67w"]
[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="Camera2D" type="Camera2D" parent="."]
position = Vector2(47, -3283)
[node name="Grid" type="Node2D" parent="."]
script = ExtResource("3_2bhor")
ground_radius = 3000.0
cell_height = 300.0
num_collumns = 60
debug = true
metadata/_custom_type_script = "uid://m3vyyfk8gnma"
[node name="Building" parent="." instance=ExtResource("3_5i67w")]
position = Vector2(-5212, -1497)
[node name="Building2" parent="." instance=ExtResource("3_5i67w")]
position = Vector2(49, 25)