TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
SOLVED - GoTo Line Equivalent for Stencyl
Pages:
1
SOLVED - GoTo Line Equivalent for Stencyl
dreph
Posts: 142
November 08, 2018, 12:57:00 pm
Is there a way to label a statement, like most other languages, and have a GoTo <label>? Even command prompt has a GOTO function, I just don't think I've seen an equivalent in Stencyl blocks.
« Last Edit: November 09, 2018, 11:27:46 am by dreph »
dreph
Posts: 142
November 08, 2018, 01:07:02 pm
A quick Google search answered the question for me. "Spaghetti code is bad practice, and Haxe does not have this functionality. Use conditional loops instead as they are much more clear"
Back to the drawing boooooard!
Pages:
1