From d54673ead324bdd662c81265f827d0201cf31150 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 8 Nov 2024 14:26:17 +0000 Subject: [PATCH] SimpleCharacter: Fix axis confusion in tooltip Previously this description claimed that x is vertical and y horizontal. Fix this, and clarify some other terms. --- .../simple_nodes/simple_character/simple_character.gd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/block_code/simple_nodes/simple_character/simple_character.gd b/addons/block_code/simple_nodes/simple_character/simple_character.gd index 674095f2..ec4f9799 100644 --- a/addons/block_code/simple_nodes/simple_character/simple_character.gd +++ b/addons/block_code/simple_nodes/simple_character/simple_character.gd @@ -185,11 +185,11 @@ static func setup_custom_blocks(): block_definition.display_template = "move with {player: NIL} buttons as {kind: NIL}" block_definition.description = """Move the character using the “Player 1” or “Player 2” controls as configured in Godot. -“Top-down” enables the character to move in both x (vertical) and y (horizontal) dimensions, as if the camera is above the character, looking down. No gravity is added. +“Top-down” enables the character to move in both x (horizontal) and y (vertical) dimensions, as if the camera is above the character, looking down. No gravity is added. -“Platformer” enables the character to move as if the camera is looking from the side, like a side-scroller. Gravity is applied on the x (vertical) axis, making the character fall down until they collide. +“Platformer” enables the character to move as if the camera is looking from the side, like a side-scroller. Gravity is applied on the y (vertical) axis, making the character fall down until they collide with something. -“Spaceship” uses the left/right controls to turn the character and up/down controls to go forward or backward.""" +“Spaceship” uses the left/right controls to rotate the character and up/down controls to go forward or backward in the direction they are pointing.""" # TODO: delta here is assumed to be the parameter name of # the _process or _physics_process method: block_definition.code_template = "move_with_player_buttons({player}, {kind}, delta)"