-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdemo_wfc_2d_tilemaplayer.tscn
35 lines (26 loc) · 4.89 KB
/
demo_wfc_2d_tilemaplayer.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[gd_scene load_steps=5 format=4 uid="uid://p4e827qbedsw"]
[ext_resource type="TileSet" uid="uid://dgefkshuslimj" path="res://addons/wfc/examples/assets/kenney-tiny-dungeon/tile-set.tres" id="1_gv8id"]
[ext_resource type="Script" path="res://addons/wfc/nodes/generator_2d.gd" id="2_foojs"]
[ext_resource type="PackedScene" uid="uid://dt2nffs32s7o1" path="res://addons/wfc/examples/helpers/progress_indicator.tscn" id="3_rq8od"]
[sub_resource type="GDScript" id="GDScript_n2h4c"]
script/source = "extends Node2D
func _ready() -> void:
$sample.hide()
$target.show()
$WFC2DGenerator.start()
"
[node name="DemoWfc2dTilemaplayer" type="Node2D"]
script = SubResource("GDScript_n2h4c")
[node name="sample" type="TileMapLayer" parent="."]
tile_map_data = PackedByteArray("AAACAAIAAAAAAAAAAAADAAIAAAAAAAAAAAADAAEAAAAAAAAAAAADAAMAAAAAAAEAAAAEAAMAAAAAAAEAAAAEAAIAAAAAAAEAAAAEAAQAAAAAAAIAAAAFAAQAAAAAAAIAAAAFAAMAAAAAAAIAAAAGAAMAAAABAAEAAAAGAAQAAAABAAEAAAABAAIAAAADAAEAAAABAAMAAAADAAEAAAAGAAUAAAABAAIAAAAHAAUAAAACAAIAAAAIAAUAAAACAAIAAAAHAAIAAAACAAAAAAAGAAIAAAABAAAAAAAJAAIAAAADAAAAAAAJAAUAAAADAAIAAAAIAAIAAAACAAAAAAAJAAMAAAADAAEAAAAJAAQAAAADAAEAAAAHAAMAAAACAAEAAAAIAAMAAAACAAEAAAAHAAQAAAAAAAQAAAAIAAQAAAAAAAQAAAAHAAYAAAACAAAAAAAGAAYAAAACAAAAAAAFAAYAAAACAAAAAAAE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ADAAQAAAAaAAAAAAADAAQAAAA=")
tile_set = ExtResource("1_gv8id")
[node name="target" type="TileMapLayer" parent="."]
tile_set = ExtResource("1_gv8id")
[node name="WFC2DGenerator" type="Node" parent="."]
script = ExtResource("2_foojs")
target = NodePath("../target")
rect = Rect2i(0, 0, 121, 68)
positive_sample = NodePath("../sample")
render_intermediate_results = true
[node name="progressIndicator" parent="." node_paths=PackedStringArray("generator") instance=ExtResource("3_rq8od")]
generator = NodePath("../WFC2DGenerator")