The_Dark_Side_of_Earth/buildings/building.tscn

24 lines
1 KiB
Text
Raw Normal View History

2025-09-16 16:24:53 +02:00
[gd_scene load_steps=6 format=3 uid="uid://djawvtdwp423v"]
2025-09-16 00:19:40 +02:00
[ext_resource type="Script" uid="uid://b2ji03ekijjnn" path="res://buildings/building.gd" id="1_5j34s"]
2025-09-16 00:19:40 +02:00
[ext_resource type="Texture2D" uid="uid://cy70quh6k3s1j" path="res://icon.svg" id="2_2yopf"]
[ext_resource type="Shader" uid="uid://c7gb1nqwvkr37" path="res://buildings/building.gdshader" id="2_f1gjg"]
[ext_resource type="Script" uid="uid://dj7d4d2xs3nci" path="res://buildings/building_mesh.gd" id="4_qnfc1"]
2025-09-16 00:19:40 +02:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qnfc1"]
resource_local_to_scene = true
shader = ExtResource("2_f1gjg")
shader_parameter/ground_height = 3000.0
shader_parameter/cell_height = 300.0
shader_parameter/num_cells = 60
[node name="Building" type="Node2D"]
script = ExtResource("1_5j34s")
[node name="Sprite2D" type="Sprite2D" parent="."]
self_modulate = Color(0.1764706, 0, 0.003921569, 0.003921569)
2025-09-16 00:19:40 +02:00
material = SubResource("ShaderMaterial_qnfc1")
2025-09-16 11:44:16 +02:00
scale = Vector2(25, 25)
2025-09-16 00:19:40 +02:00
texture = ExtResource("2_2yopf")
script = ExtResource("4_qnfc1")