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
→
What happened to grow by block?
Pages:
1
What happened to grow by block?
Darkhog
Posts: 1243
May 03, 2011, 04:56:29 pm
I remember that in addition to grow to block we had also grow by block. What happened to it? I don't see it in actors/tweening...
There are no impossible things. There is only lack of skills.
Don't click
this
if your computer has less than 641 kilobytes of RAM.
Stencyl stencyling stencylish stencylers
Joe
Posts: 2478
May 04, 2011, 12:21:07 pm
We may have had one at some point. In any case, you can do the same thing with the grow to block, though. You just have to do a little bit of math.
Darkhog
Posts: 1243
May 04, 2011, 12:22:23 pm
Can you give me formula? I am not good at math, especially trigonometric.
There are no impossible things. There is only lack of skills.
Don't click
this
if your computer has less than 641 kilobytes of RAM.
Stencyl stencyling stencylish stencylers
Alexin
Posts: 3127
May 04, 2011, 12:31:29 pm
There's no trigonometry involve, but only proportions.
If a square is 100 pixels wide and you want it to grow to 200, then it grows twice (200 / 100 = 2). In other words, you want it to grow by 2. I think you can figure out the rest.
"Find the fun"
alexin@stencyl.com
Darkhog
Posts: 1243
May 05, 2011, 01:09:47 am
Yeah, but in both grow to and grow by we had earlier percents are used, not actual pixels.
There are no impossible things. There is only lack of skills.
Don't click
this
if your computer has less than 641 kilobytes of RAM.
Stencyl stencyling stencylish stencylers
Alexin
Posts: 3127
May 05, 2011, 04:17:36 am
Then convert it to percentage... 2 * 100 = 200%
"Find the fun"
alexin@stencyl.com
Alexin
Posts: 3127
May 07, 2011, 05:19:27 pm
Darkhog, do you need any more help about this?
"Find the fun"
alexin@stencyl.com
Darkhog
Posts: 1243
May 08, 2011, 03:26:38 am
For now no, but only because I don't have time for this now (setting my new Polish Stencyl community).
So I may have questions later.
There are no impossible things. There is only lack of skills.
Don't click
this
if your computer has less than 641 kilobytes of RAM.
Stencyl stencyling stencylish stencylers
Pages:
1