Can somebody give me a script of how to make it so the up and down arrow keys increase and decrease pen size?
Offline
forever if <key [some key v] pressed?> change pen size by (up or down)You should program more. It really helps, even on animations.
Offline
That script makes no sense at all. And I stink at animating and scripting, I'll obviously fail.
Offline
Download this. I made it in a few minutes when I got bored, so don't expect quality, except from the scripting. And if you use any of my scripts, give credit please.
Last edited by Firedrake969 (2012-08-18 16:57:55)
Offline
Firedrake969 wrote:
when gf clicked forever if <key [up arrow v] pressed?> change pen size by (5) end if <key [down arrow v] pressed?> change pen size by (-5)
I made it a bit more clearer
Offline
northmeister wrote:
Firedrake969 wrote:
when gf clicked set [pen size v] to (5) forever if <key [up arrow v] pressed?> change pen size by (5) change [pen size v] by (5) if <key [down arrow v] pressed?> change pen size by (-5) change [pen size v] by (-5) if <key [space v] pressed?> change pen size by ((pen size) * (-1) + 1) set [pen size v] to (1)I made it a bit more clearer
Yea, I was just too lazy to put it all. I added variables to make it so that players can see the pen size. And remember, credit!
EDIT: [rant]OH MY GOD WHY WON'T THIS WORK I'M TRYING TO FIX IT BUT I CAN'T FIGURE OUT HOW TO TYPE IT!!!![/rant]
Last edited by Firedrake969 (2012-08-18 17:11:02)
Offline
I just figured it out on my own plus that script has obviously been used by other scratchers so I don't have to give any credit.
Offline
Not the one I'm trying to fix in the post before yours.... And not the variables. I just thought of that....
Last edited by Firedrake969 (2012-08-18 17:09:35)
Offline
Firedrake969 wrote:
northmeister wrote:
Firedrake969 wrote:
when gf clicked set [pen size v] to (5) forever if <key [up arrow v] pressed?> change pen size by (5) change [pen size v] by (5) end if <key [down arrow v] pressed?> change pen size by (-5) change [pen size v] by (-5) end if <key [space v] pressed?> change pen size by (((pen size) * (-1)) + (1)) set [pen size v] to (1) endI made it a bit more clearer
Yea, I was just too lazy to put it all. I added variables to make it so that players can see the pen size. And remember, credit!
EDIT: [rant]OH MY GOD WHY WON'T THIS WORK I'M TRYING TO FIX IT BUT I CAN'T FIGURE OUT HOW TO TYPE IT!!!![/rant]
Fixed.
Offline
I learned scripts on my own with a little help from my dad...they are pretty easy once you get the hang of it.
when gf clicked say [I don't script much, I'm mostly into animating and drawing. I'm working on a new game though.] for (5) secs
Last edited by Whitefur (2012-08-18 17:58:18)
Offline
Yeah... I'm not using variables
Offline
Whitefur wrote:
I learned scripts on my own with a little help from my dad...they are pretty easy once you get the hang of it.
when gf clicked say [I don't script much, I'm mostly into animating and drawing. I'm working on a new game though.] for (5) secs
Fixed.
Offline
when gf clicked forever think [I'm a failure at anything I at least try to do.] for (1000000000) secs
Last edited by angelica101 (2012-08-18 18:08:43)
Offline
when gf clicked forever think [I shouldn't be on the front page.] (infinite) secs
Offline
angelica101 wrote:
when gf clicked forever think [I'm a failure at anything I at least try to do.] for (1000000000) secs
when gf clicked forever think [You are not a failure. For example, you made wonderful, flawless scratch blocks.] for (3.1415926535…) secs
Offline
It looks like this poor forum thread has wandered from it's stated purpose into the vile land of spam - I will mercifully terminate it's tainted existence. Please keep your subjects on-topic
Offline