File tree 5 files changed +2916
-2890
lines changed
5 files changed +2916
-2890
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,21 @@ generators:
20
20
persistence : 0.5
21
21
lacunarity : 2
22
22
aliases :
23
+ # Available tiles:
24
+ # 1_extended
25
+ # 2_extended
26
+ # 3_extended
27
+ # blocks
28
+ # buildings
29
+ # dirt
30
+ # flooring
31
+ # grass
32
+ # objects
33
+ # plants
34
+ # rock
35
+ # sand
36
+ # snow
37
+ # water
23
38
curse : 4_extended
24
39
steps :
25
40
- height*curse :
Original file line number Diff line number Diff line change 1
1
extends Control
2
2
3
- onready var seeed = $ Yaml/Stack/Seed
3
+ onready var seeed = $ Yaml/Stack/Settings/Seed
4
+ onready var variance = $ Yaml/Stack/Settings/Variance
4
5
onready var textbox = $ Yaml/Stack/Config
5
6
onready var error_label = $ Yaml/Stack/Box/Error
6
- onready var load_button = $ Yaml/Stack/Box/Button
7
+ onready var generate_button = $ Yaml/Stack/Box/Button
7
8
onready var zoom_slider = $ Zoom/Stack/Slider
8
9
onready var texture_stack = $ Noise/Stack
9
10
onready var texture_box = $ Box
@@ -12,11 +13,9 @@ onready var tilegen = preload("res://assets/scripts/tilegen.gd").new()
12
13
signal loaded
13
14
signal zoom
14
15
15
- # TODO add zoom in and out buttons
16
-
17
16
# Called when the node enters the scene tree for the first time.
18
17
func _ready ():
19
- load_button .connect ("pressed" , self , "_pressed" )
18
+ generate_button .connect ("pressed" , self , "_pressed" )
20
19
zoom_slider .connect ("value_changed" , self , "_value_changed" )
21
20
22
21
@@ -30,6 +29,7 @@ func _value_changed(value):
30
29
31
30
func load_config ():
32
31
var sed = seeed .text
32
+ print (sed )
33
33
if sed != "" :
34
34
if int (sed ) != 0 :
35
35
sed = int (sed )
You can’t perform that action at this time.
0 commit comments