File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ signal removed(i)
5
5
signal swapped (i , j )
6
6
signal sorted (i , j )
7
7
8
- const DEFAULT_SIZE = 32
8
+ const DEFAULT_SIZE = 16
9
9
enum DATA_TYPES {
10
10
RANDOM_UNIQUE ,
11
11
TRUE_RANDOM ,
Original file line number Diff line number Diff line change @@ -164,14 +164,14 @@ margin_right = 163.0
164
164
margin_bottom = 90.0
165
165
166
166
[node name ="Sizes" type ="Label" parent ="Levels/Level/Right/Info/ScoresContainer/Scores/Data" ]
167
- margin_right = 30 .0
167
+ margin_right = 20 .0
168
168
margin_bottom = 63.0
169
- text = "8
169
+ text = "16
170
170
32
171
- 128 "
171
+ 64 "
172
172
173
173
[node name ="Times" type ="Label" parent ="Levels/Level/Right/Info/ScoresContainer/Scores/Data" ]
174
- margin_left = 38 .0
174
+ margin_left = 28 .0
175
175
margin_right = 163.0
176
176
margin_bottom = 63.0
177
177
size_flags_horizontal = 3
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ const LEVELS = [
15
15
16
16
const MIN_WAIT = 1.0 / 64
17
17
const MAX_WAIT = 4
18
- const MIN_SIZE = 8
19
- const MAX_SIZE = 128
18
+ const MIN_SIZE = 16
19
+ const MAX_SIZE = 64
20
20
21
21
var _index = LEVELS .find (GlobalScene .get_param ("level" , LEVELS [0 ]))
22
22
var _level : ComparisonSort
@@ -98,10 +98,10 @@ func _input(event):
98
98
if event .is_action_pressed ("ui_right" , true ):
99
99
_switch_level (_index + 1 )
100
100
if event .is_action_pressed ("bigger" ):
101
- _size = min (_size * 4 , MAX_SIZE )
101
+ _size = min (_size * 2 , MAX_SIZE )
102
102
_reload ()
103
103
if event .is_action_pressed ("smaller" ):
104
- _size = max (_size / 4 , MIN_SIZE )
104
+ _size = max (_size / 2 , MIN_SIZE )
105
105
_reload ()
106
106
if event .is_action_pressed ("faster" ):
107
107
$ Timer .wait_time = max ($ Timer .wait_time / 4 , MIN_WAIT )
You can’t perform that action at this time.
0 commit comments