The_Dark_Side_of_Earth/buildings/building.tscn

23 lines
1 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://djawvtdwp423v"]
[ext_resource type="Script" uid="uid://b2ji03ekijjnn" path="res://buildings/building.gd" id="1_5j34s"]
[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"]
[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"]
modulate = Color(0.3529412, 0, 0.007843138, 0.007843138)
script = ExtResource("1_5j34s")
[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_qnfc1")
scale = Vector2(250, 250)
texture = ExtResource("2_2yopf")
script = ExtResource("4_qnfc1")