Paddle2See wrote:
Hey folks - I've been noticing a lot of really long quote conversations taking place in this topic. That's not what this area is for - please just use this space for learning how to use the blocks - not conversations. Thanks
Ok, Paddle.
Offline
Unite wrote:
when gf clicked if <not<touching[sprite 2 v]?>> <forever> change y by(2)
Did you mean that? Or were you testing a bug? (click "quote" to see the correct syntax - you can click "go back" afterwards.)
scripts [fixed v] by [Splodgey v]
Offline
Splodgey wrote:
Unite wrote:
when gf clicked if <not<touching[sprite 2 v]?>> <forever> change y by(2)Did you mean that? Or were you testing a bug? (click "quote" to see the correct syntax - you can click "go back" afterwards.)
scripts [fixed v] by [Splodgey v]
Ya, thanx! That is the formula for gravity right? (If sprite 2 is a sprite representing the ground)
Offline
Unite wrote:
Splodgey wrote:
Unite wrote:
when gf clicked forever if <not<touching[ground v]?>> change y by(-2)Did you mean that? Or were you testing a bug? (click "quote" to see the correct syntax - you can click "go back" afterwards.)
scripts [fixed v] by [Splodgey v]Ya, thanx! That is the formula for gravity right? (If sprite 2 is a sprite representing the ground)
That is (up) But more accurately:
when gf clicked set [yvel v] to [0] forever if <touching[ground v]?> change [yvel v] by (-1) else set [yvel v] to [1] //I can't be bothered to write out the whole script for slopes... end change y by (yvel)
Offline
http://scratch.mit.edu/tbgforums/viewtopic.php?id=6965
Last edited by Squawkers13 (2012-03-28 10:37:21)
Offline
Hi.
when gf [#ffffff] clicked repeat till <obsolete!> go to [mouse-pointer] end think [Scripts in your posts! v] for (3) minsBye.
Offline
Munchey wrote:
when gf clicked forever turn cw (15) degrees say [Hi! Can You see this?] for (2) secs if <mouse down?> change [mouse clicks v] by (1) end end
scripts fixed by [MorgulFan v] end [/scratchblocks
Offline
when gf clicked repeat until <(timer) > [10]> go to [mouse-pointer v] end think [Scripts in your posts!] for (3) secs
Offline
when gf clicked forever if <<<month>=<April>>and<<day>=[1]>> set [scratch name v] to [Neigh] if <<newest post>=[doesn't get the joke]> repeat until <not<<newest post>=[doesn't get the joke]>> laugh at their seriousness end end end
Offline
when gf clicked
Offline
k9lego wrote:
when gf clicked
when I receive [hat block talk v] say [xD]
Offline
stop all sounds stop all pinks stop all glitches //if that was a real block that the purpose of this block is to [comment v] //stops all bugs it would be epic see above block //but it is impossible for the scratch team to make :( see above block // because a program doesn't know what is see above block //a glitch and what isn't stop all when i receive [bugs with scratchblocks tag v] think [hey... stop all pinks should be obsolete but stop all sounds should be pink...] wait... testing... stop all blues stop all oranges stop all purples stop all greens stop all yellows nope, didn't work
Last edited by joefarebrother (2012-04-03 16:06:59)
Offline
Cozyhut3 wrote:
Oh good, I was about to try this out, then I found this. XD
when gf clicked obsolete!
scripts [fixed v] by [Splodgey v] //Don't forget to end the syntax!
Offline
when green flag clicked forever if (key [left arrow v] pressed?) set [X Velocity v] to [2.5] repeat until <not (key [left arrow v] pressed?)> change [X Velocity v] by (0.03) if <(X Velocity) > [7]> set [X Velocity v] to [7] if (key [right arrow v] pressed?) set [X Velocity v] to [-2.5] repeat until <not (key [right arrow v] pressed?)> change [X Velocity v] by (-0.03) if <((X Velocity)) < [-7]> set [X Velocity v] to [-7] endA very nice velocity script that was in my Mario game.
Offline