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
→
the STOP block
Pages:
1
the STOP block
timbirks
Posts: 75
November 14, 2014, 01:27:42 am
Hi all, just a quick question. In 'When Updating' I have an IF block which constantly checks if 'something' is 'something' during a level, when something IS something it creates an actor, however it keeps checking and creates lots of the same actor. When and where would I use a 'stop' block to cancel the check, or do I use a 'cancel' block? thanks for any advice!
Super Crash Land v1.2 - Available to Download now from Google Play absolutely free!
https://play.google.com/store/apps/details?id=com.timbirks.supercrashlandv12
Justin
Posts: 4716
November 14, 2014, 01:40:12 am
Perhaps you should use a boolean to keep track of whether you've already created the object, so that you only create the object if your original expression is true, and the object hasn't been created yet.
For Live Support
: Join our
discord
server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)
Pages:
1