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
→
How to keep actors from being placed on top of each other?
Pages:
1
How to keep actors from being placed on top of each other?
Wonko the Sane
Posts: 19
April 04, 2011, 07:02:58 pm
Basically, I have a scene behavior which
should
place actors in a grid pattern. However, when I run it, it places all the actors on top of each other. I can tell they're all there (because of actor behaviors), but it looks like they should be put in a grid. What am I doing wrong?
Wow! A signature! How fascinating! How amazing! How- *falls asleep*
Luyren
Posts: 2807
April 04, 2011, 07:08:26 pm
Probably because of the repeat inside the repeat. (
we need to go deeper... ._.)
Though I coul be wrong about this.
And you're creating the actors at startx/starty, when I think you should be creating them at x and y (your attributes that are incremented).
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Wonko the Sane
Posts: 19
April 04, 2011, 07:14:26 pm
ahh... But I can't do it with out a repeat inside a repeat. And yes, I should be using x and y.
Wow! A signature! How fascinating! How amazing! How- *falls asleep*
Pages:
1