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
→
Question about Regions!
Pages:
1
Question about Regions!
bluebean
Posts: 31
September 04, 2017, 10:46:18 am
So i've been having a bit of trouble using regions.
Nothing too complex, but I can't for the life of me figure out why it's not positioning properly.
I want this region to follow her, which it does perfectly.
However, it doesn't center itself on her like I expected it too and I cant figure out why. Anyone have any ideas?
« Last Edit: September 04, 2017, 10:56:54 am by bluebean »
bluebean
Posts: 31
September 04, 2017, 12:34:36 pm
Not a single guess, huh?
LIBERADO
Posts: 2720
September 04, 2017, 01:14:15 pm
Try this:
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.
bluebean
Posts: 31
September 04, 2017, 01:21:21 pm
It's weird, No matter what numbers I plug into the X or Y it doesn't budge at all.
bluebean
Posts: 31
September 04, 2017, 01:45:40 pm
I have found a solution! Seems I have to make my actors origin point upper left, and not middle for the region to be in the middle of the actor.
KaB00MxRHx
Posts: 30
September 04, 2017, 06:43:55 pm
where do you customize the origin point at ?
Work in progress: Rusty Floyd Shotgun :
http://www.stencyl.com/game/play/37449
bluebean
Posts: 31
September 04, 2017, 06:55:35 pm
Right here! Mine were all set to center, which created the weirdness with the region box. Soon as I started to change them around, the region box also followed. Hope this helps anyone in the future with this problem.
BMJ
Posts: 278
September 08, 2017, 08:18:00 am
bluebean, when you tried Liberado's suggestion, did you remove the 'make [region] follow [actor] block? I ask because even though you found a solution, changing the origin point of an actor's animation can have other, unintended consequences (like when you rotate or scale the actor).
bluebean
Posts: 31
September 10, 2017, 11:38:48 am
I tried it with, and without the block. Cleaned the project multiple times, literally nothing worked, that box refused to adjust itself at all.
Pages:
1