Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

How do U use the "distance" behavior in Stencyl?

I need to know the distance between two actors in order to start a timer.

share|improve this question
add comment

closed as not a real question by bummzack, Josh Petrie, Nick Wiggill, Sam Hocevar, michael.bartnett Jan 9 '13 at 7:30

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 2 down vote accepted

You need to create a Custom Block. With the custom block you can make your own logic, and lucky for you, the page even provides distance between actors (X distance anyway) as the example:

enter image description here

Remember the documentation is always an excellent place to start with questions like this, and Stencyl appears to have great documentation.

share|improve this answer
    
Great!! Thanks, you saved my LD Jam :P (Lesson leared ... check the documentation first :P ) –  mFontoura Dec 17 '12 at 0:52
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.