fix(debug): multi-line string literal in test_level_builder.gd
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
extends Node3D
|
extends Node3D
|
||||||
class_name TestLevelBuilder
|
class_name TestLevelBuilder
|
||||||
## Builds the test level ONLY from code — no .tscn SubResource references.
|
## Builds the test level ONLY from code — no .tscn SubResource references.
|
||||||
## Attach to a Node3D and call build() from _ready().
|
## Automatically builds when attached to the TestLevel root node.
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
build()
|
||||||
|
|
||||||
func build() -> void:
|
func build() -> void:
|
||||||
_build_floor()
|
_build_floor()
|
||||||
@@ -84,8 +87,5 @@ func _build_ui() -> void:
|
|||||||
help.offset_top = 52
|
help.offset_top = 52
|
||||||
help.offset_right = 720
|
help.offset_right = 720
|
||||||
help.offset_bottom = 108
|
help.offset_bottom = 108
|
||||||
help.text = (
|
help.text = "WASD Move | Sprint=Shift | Slide=Ctrl+S | Double-Jump=Space twice | Dash=LShift | Wall-Jump=Jump at wall"
|
||||||
"WASD Move | Sprint=Shift | Slide=Ctrl+S | "
|
|
||||||
"Double-Jump=Space twice | Dash=LShift | Wall-Jump=Jump at wall"
|
|
||||||
)
|
|
||||||
canvas.add_child(help)
|
canvas.add_child(help)
|
||||||
|
|||||||
Reference in New Issue
Block a user