- Joined
- Apr 22, 2012
- Messages
- 131
- Reaction score
- 25
- First Language
- English
- Primarily Uses
- N/A
I don't know if this was already asked. I just want to know how to create a next line when the text reaches the width of the window. Here's the script
The $goal here is the objective itself.
Thanks for helping!
Code:
def draw_objective(x, y)
change_color(system_color)
draw_text(x, y + line_height * 0, contents.width, line_height, "Current objective:")
change_color(normal_color)
draw_text(x, y + line_height * 1, contents.width, line_height, $goal)
end
Thanks for helping!

