File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ signal removed(i)
55signal swapped (i , j )
66signal sorted (i , j )
77
8- const DEFAULT_SIZE = 32
8+ const DEFAULT_SIZE = 16
99enum DATA_TYPES {
1010 RANDOM_UNIQUE ,
1111 TRUE_RANDOM ,
Original file line number Diff line number Diff line change @@ -164,14 +164,14 @@ margin_right = 163.0
164164margin_bottom = 90.0
165165
166166[node name ="Sizes" type ="Label" parent ="Levels/Level/Right/Info/ScoresContainer/Scores/Data" ]
167- margin_right = 30 .0
167+ margin_right = 20 .0
168168margin_bottom = 63.0
169- text = "8
169+ text = "16
17017032
171- 128 "
171+ 64 "
172172
173173[node name ="Times" type ="Label" parent ="Levels/Level/Right/Info/ScoresContainer/Scores/Data" ]
174- margin_left = 38 .0
174+ margin_left = 28 .0
175175margin_right = 163.0
176176margin_bottom = 63.0
177177size_flags_horizontal = 3
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ const LEVELS = [
1515
1616const MIN_WAIT = 1.0 / 64
1717const MAX_WAIT = 4
18- const MIN_SIZE = 8
19- const MAX_SIZE = 128
18+ const MIN_SIZE = 16
19+ const MAX_SIZE = 64
2020
2121var _index = LEVELS .find (GlobalScene .get_param ("level" , LEVELS [0 ]))
2222var _level : ComparisonSort
@@ -98,10 +98,10 @@ func _input(event):
9898 if event .is_action_pressed ("ui_right" , true ):
9999 _switch_level (_index + 1 )
100100 if event .is_action_pressed ("bigger" ):
101- _size = min (_size * 4 , MAX_SIZE )
101+ _size = min (_size * 2 , MAX_SIZE )
102102 _reload ()
103103 if event .is_action_pressed ("smaller" ):
104- _size = max (_size / 4 , MIN_SIZE )
104+ _size = max (_size / 2 , MIN_SIZE )
105105 _reload ()
106106 if event .is_action_pressed ("faster" ):
107107 $ Timer .wait_time = max ($ Timer .wait_time / 4 , MIN_WAIT )
You can’t perform that action at this time.
0 commit comments