remove debug/clock default text; add todo
This commit is contained in:
parent
04dc259568
commit
6f2153b40b
2 changed files with 7 additions and 7 deletions
13
main.gd
13
main.gd
|
|
@ -16,12 +16,12 @@ var player: Piece
|
||||||
var level_num := -1
|
var level_num := -1
|
||||||
# TODO: instead of dumb numbered levels, GIVE THEM GOOD NAMES AND MANUALLY ORDER THEM!
|
# TODO: instead of dumb numbered levels, GIVE THEM GOOD NAMES AND MANUALLY ORDER THEM!
|
||||||
var levels: Array[PackedScene] = [
|
var levels: Array[PackedScene] = [
|
||||||
preload("res://level/nightmare_test.tscn"),
|
#preload("res://level/nightmare_test.tscn"),
|
||||||
#preload("res://level/level_00.tscn"),
|
preload("res://level/level_00.tscn"),
|
||||||
#preload("res://level/level_01.tscn"),
|
preload("res://level/level_01.tscn"),
|
||||||
#preload("res://level/level_02.tscn"),
|
preload("res://level/level_02.tscn"),
|
||||||
#preload("res://level/level_03.tscn"),
|
preload("res://level/level_03.tscn"),
|
||||||
#preload("res://level/level_04.tscn"),
|
preload("res://level/level_04.tscn"),
|
||||||
]
|
]
|
||||||
# TODO: screen transition to hide awkward animations lol
|
# TODO: screen transition to hide awkward animations lol
|
||||||
var time := 0:
|
var time := 0:
|
||||||
|
|
@ -45,6 +45,7 @@ func _process(delta: float) -> void:
|
||||||
$UndoButton.disabled = not hist.has_undo()
|
$UndoButton.disabled = not hist.has_undo()
|
||||||
$RedoButton.disabled = not hist.has_redo()
|
$RedoButton.disabled = not hist.has_redo()
|
||||||
$RestartButton.disabled = not hist.has_undo()
|
$RestartButton.disabled = not hist.has_undo()
|
||||||
|
# TODO: make this toggleable
|
||||||
$Clock.text = "T = %d\n%d FPS\n%f hold time\n%f arrf" % \
|
$Clock.text = "T = %d\n%d FPS\n%f hold time\n%f arrf" % \
|
||||||
[time, Engine.get_frames_per_second(), move_hold_time, arrf(move_hold_time)]
|
[time, Engine.get_frames_per_second(), move_hold_time, arrf(move_hold_time)]
|
||||||
var slowmo := Input.is_action_pressed("slowmo");
|
var slowmo := Input.is_action_pressed("slowmo");
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,6 @@ offset_top = 28.0
|
||||||
offset_right = 1244.0
|
offset_right = 1244.0
|
||||||
offset_bottom = 76.0
|
offset_bottom = 76.0
|
||||||
theme_override_font_sizes/normal_font_size = 32
|
theme_override_font_sizes/normal_font_size = 32
|
||||||
text = "T = 0"
|
|
||||||
fit_content = true
|
fit_content = true
|
||||||
|
|
||||||
[node name="SlowmoIndicator" type="Label" parent="."]
|
[node name="SlowmoIndicator" type="Label" parent="."]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue