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
→
Old Questions (from 1.x/2.x)
→
Get "Grow Self" Blocks Properties
Pages:
1
Get "Grow Self" Blocks Properties
twinter3
Posts: 98
March 02, 2012, 08:57:31 am
Is there any way through iOS when using the grow block to get the size of the actor is in realtime. "Width of Self" stays the same when it is resizing over time.
Thanks!
captaincomic
Posts: 6108
March 02, 2012, 12:39:04 pm
If you grow an actor to X percent width and Y percent height:
After finished growing the actual width will be
<<X / 100> * <width of <Self>>>.
And the actual height will bw
<<Y / 100> * <height of <Self>>.
If you would also need the size while the actor is still growing, it would be more difficult...
RayonMazter
Posts: 123
March 05, 2012, 09:13:35 am
I thought it was crazy too that it worked that way...
http://community.stencyl.com/index.php/topic,5145.msg33748.html#msg33748
old post, relating to the same thing.
Pages:
1