87 lines
3 KiB
Text
87 lines
3 KiB
Text
[gd_scene format=3 uid="uid://xpks7daol1db"]
|
|
|
|
[ext_resource type="Script" uid="uid://cesw3a37hqn08" path="res://Scenes/Map/map.gd" id="1_iio4a"]
|
|
[ext_resource type="PackedScene" uid="uid://c6icyfxslhlmc" path="res://Scenes/Map/map_tile.tscn" id="2_lcs11"]
|
|
|
|
[sub_resource type="Environment" id="Environment_7g6h4"]
|
|
ambient_light_source = 2
|
|
ambient_light_color = Color(0.057391837, 0.057391845, 0.057391837, 1)
|
|
fog_enabled = true
|
|
fog_light_color = Color(0.7149284, 0.74206614, 0.7842839, 1)
|
|
fog_sky_affect = 0.0
|
|
|
|
[sub_resource type="Curve" id="Curve_v0tmn"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_m2fa0"]
|
|
curve = SubResource("Curve_v0tmn")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_6kfdn"]
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(10, 0.2, 10)
|
|
angle_min = 1.0728835e-05
|
|
angle_max = 360.00003
|
|
direction = Vector3(1, 0, 1)
|
|
initial_velocity_min = 0.049999997
|
|
initial_velocity_max = 0.19999999
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 2.0
|
|
scale_max = 4.0
|
|
alpha_curve = SubResource("CurveTexture_m2fa0")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_yju8x"]
|
|
offsets = PackedFloat32Array(0.2, 0.8)
|
|
metadata/_snap_enabled = true
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_11lgl"]
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_lcs11"]
|
|
noise = SubResource("FastNoiseLite_11lgl")
|
|
color_ramp = SubResource("Gradient_yju8x")
|
|
|
|
[sub_resource type="ORMMaterial3D" id="ORMMaterial3D_11lgl"]
|
|
transparency = 1
|
|
vertex_color_use_as_albedo = true
|
|
albedo_color = Color(1, 1, 1, 0.11764706)
|
|
albedo_texture = SubResource("NoiseTexture2D_lcs11")
|
|
proximity_fade_enabled = true
|
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_lcs11"]
|
|
material = SubResource("ORMMaterial3D_11lgl")
|
|
radius = 2.0
|
|
height = 4.0
|
|
|
|
[node name="Map" type="Node3D" unique_id=1765565476]
|
|
script = ExtResource("1_iio4a")
|
|
tile_scene = ExtResource("2_lcs11")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="." unique_id=40432726]
|
|
transform = Transform3D(1, 0, 0, 0, 0.7071068, 0.7071068, 0, -0.7071068, 0.7071068, 0, 6, 5)
|
|
|
|
[node name="MapTile" parent="." unique_id=441860049 instance_placeholder="res://Scenes/Map/map_tile.tscn"]
|
|
|
|
[node name="Control" type="CanvasLayer" parent="." unique_id=1301244712]
|
|
|
|
[node name="Button" type="Button" parent="Control" unique_id=1524228928]
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -73.5
|
|
offset_top = 46.0
|
|
offset_right = 72.5
|
|
offset_bottom = 79.0
|
|
grow_horizontal = 2
|
|
text = "Generate new tile"
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1838982295]
|
|
environment = SubResource("Environment_7g6h4")
|
|
|
|
[node name="EnvFog" type="GPUParticles3D" parent="." unique_id=1381169011]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
amount = 50
|
|
lifetime = 10.0
|
|
process_material = SubResource("ParticleProcessMaterial_6kfdn")
|
|
draw_pass_1 = SubResource("SphereMesh_lcs11")
|
|
|
|
[connection signal="pressed" from="Control/Button" to="." method="_on_button_pressed"]
|