This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#3426 2013-05-01 12:26:43

Kyle2Death
Scratcher
Registered: 2013-04-01
Posts: 19

Re: Official [Scratchblocks] Testing Play Area

when [post v] clicked
go to (Win)
lol

Offline

 

#3427 2013-05-01 14:50:45

nibsy745
New Scratcher
Registered: 2013-05-01
Posts: 1

Re: Official [Scratchblocks] Testing Play Area

Ideas for scripts pls  smile

Offline

 

#3428 2013-05-01 18:52:03

Liamadams
Scratcher
Registered: 2012-12-08
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

nibsy745 wrote:

Ideas for scripts pls  smile

when gf clicked
forever    
 if <touching [mouse pointer v]?>
  set size to (100)%
 else
  set size to (80)%
 end
there ya go! Try that.  smile

Last edited by Liamadams (2013-05-01 18:52:26)


http://i39.tinypic.com/3309476.jpg

Offline

 

#3429 2013-05-01 18:56:44

Liamadams
Scratcher
Registered: 2012-12-08
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

Kyle2Death wrote:

when [post] clicked
go to [Win v]
lol

fixed.


http://i39.tinypic.com/3309476.jpg

Offline

 

#3430 2013-05-01 19:01:39

MinecraftParty77
Scratcher
Registered: 2013-03-06
Posts: 6

Re: Official [Scratchblocks] Testing Play Area

Does anyone know how to make a sprite point and move away from the mouse pointer?

This is what i have to work with...

when gf clicked
forever
   point towards [mouse-pointer v]
   move (1) steps
end

Last edited by MinecraftParty77 (2013-05-01 19:03:23)

Offline

 

#3431 2013-05-01 19:22:10

mlcg123456789
Scratcher
Registered: 2013-02-10
Posts: 6

Re: Official [Scratchblocks] Testing Play Area

MinecraftParty77 wrote:

Does anyone know how to make a sprite point and move away from the mouse pointer?

This is what i have to work with...

when gf clicked
forever
   point towards [mouse-pointer v]
   move (1) steps
end

Here is your solution:

when gf clicked
forever
   point towards [mouse-pointer v]
   turn cw (180) degrees
   move (1) steps
end
I hope that I am helping you.

Offline

 

#3432 2013-05-01 20:23:31

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

Or you could do:

when gf clicked
forever
   point towards [mouse-pointer v]
   move (-1) steps
end
For less glitchy-ness.
If you don't like the way the Sprite is point, go to your costume and flip it.

Hope this is what you want! : )

Offline

 

#3433 2013-05-01 20:29:55

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
hide
wait (10) sec
show

Offline

 

#3434 2013-05-01 20:37:54

Flyboy
Scratcher
Registered: 2007-12-08
Posts: 76

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

when gf clicked
hide
wait (10) secs
show

Fixed.


Remix this! http://img695.imageshack.us/img695/1689/flyboy.png-'07-today

Offline

 

#3435 2013-05-01 20:41:07

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

when gf clicked
hide
wait (10) secs
show

Offline

 

#3436 2013-05-01 20:50:49

ErnieParke
Scratcher
Registered: 2010-12-03
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

Or you could do:

when gf clicked
forever
   point towards [mouse-pointer v]
   move (-1) steps
For less glitchy-ness.
If you don't like the way the Sprite is point, go to your costume and flip it.

Hope this is what you want! : )

Fixed; there isn't supposed to be an "end" in the forever loop.

With regards,

ErnieParke


http://i46.tinypic.com/35ismmc.png

Offline

 

#3437 2013-05-01 21:13:52

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

set x to ((round (mouse x / 16)) * 16)

Offline

 

#3438 2013-05-01 21:17:06

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

set x to [[round [mouse x / 16]] * 16]

Offline

 

#3439 2013-05-01 21:29:34

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

dracae wrote:

set x to <<round <mouse x / 16>> * 16>

Offline

 

#3440 2013-05-01 21:31:48

Flyboy
Scratcher
Registered: 2007-12-08
Posts: 76

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

set x to <<round <(mouse x) / (16)>> * (16)>

Fixed


Remix this! http://img695.imageshack.us/img695/1689/flyboy.png-'07-today

Offline

 

#3441 2013-05-01 21:35:05

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

set x to [<round [mouse x / 16]> * 16]

Offline

 

#3442 2013-05-01 21:46:52

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

Sorry, posted without seeing comic.
Anyways, Flyboy, thank you SOOOOO MUCH!  big_smile

Offline

 

#3443 2013-05-01 21:50:52

dracae
New Scratcher
Registered: 2013-04-05
Posts: 42

Re: Official [Scratchblocks] Testing Play Area

(Arrgh! I can't edit...)
Comic? WAT? I meant script... >.<

Offline

 

#3444 2013-05-01 22:14:18

Liamadams
Scratcher
Registered: 2012-12-08
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

dracae wrote:

set x to ((round ((mouse x) / (16))) * (16))

fixed.
Also you can't edit because you are a new scratcher, i have no idea why, but thats how the scratch team created it.

Last edited by Liamadams (2013-05-01 22:15:12)


http://i39.tinypic.com/3309476.jpg

Offline

 

#3445 2013-05-01 22:16:28

Liamadams
Scratcher
Registered: 2012-12-08
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

Liamadams wrote:

dracae wrote:

set x to ((round ((mouse x) / (16))) * (16))

fixed.
Also you can't edit because you are a new scratcher, i have no idea why, but thats how the scratch team created it.

oh wait, Flyboy alreay fixed it.  tongue


http://i39.tinypic.com/3309476.jpg

Offline

 

#3446 2013-05-01 22:18:29

Liamadams
Scratcher
Registered: 2012-12-08
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

BOOOOOOOOOO 2.0!!!!!!!!!!!!!!!


http://i39.tinypic.com/3309476.jpg

Offline

 

#3447 2013-05-02 04:49:38

beyen
Scratcher
Registered: 2013-04-02
Posts: 53

Re: Official [Scratchblocks] Testing Play Area

Offline

 

#3448 2013-05-02 05:08:40

beyen
Scratcher
Registered: 2013-04-02
Posts: 53

Re: Official [Scratchblocks] Testing Play Area

line playing 1s1s1c:

when gf clicked
point in direction (0 v)
set [position v] to [75]
set [size v] to [0]
set [clones v] to [0]
pen up
hide
forever
  clear
  if <(clones) = [1]>
    stamp
    go to x: (25) y:(-150)
    move (position) steps
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    go to x: (-25) y:(-150)
    move (position) steps
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
  else
    go to x: (0) y:(-150)
    move (position) steps
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
    set pen size to <(2) * (size)>
    set pen color to <(10) * (size)>
    pen down
    change y by (10)
    pen up
end
sorry it is long.

Offline

 

#3449 2013-05-02 11:28:31

WabbaHarry
New Scratcher
Registered: 2012-11-06
Posts: 21

Re: Official [Scratchblocks] Testing Play Area

lol

Offline

 

#3450 2013-05-03 03:59:08

beyen
Scratcher
Registered: 2013-04-02
Posts: 53

Re: Official [Scratchblocks] Testing Play Area

http://scratch.mit.edu/static/projects/beyen/3290145_sm.png
my best project!

when gf clicked
check out the project!

Offline

 

Board footer