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

#3476 2013-05-04 20:31:13

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

Re: Official [Scratchblocks] Testing Play Area

Kyle2Death wrote:

Something for music...

when clicked
go to x:
-226
y:
170
switch to costume
Music1
set
Music
to
1
repeat until
Lives:
=
0
if
Music
=
1
switch to costume
Music1
repeat until
Music
=
0
if
touching
mouse-pointer
?
switch to costume
Music2
if
not
touching
mouse-pointer
?
switch to costume
Music1
if
Music
=
0
stop all pinks
switch to costume
Music Off1
repeat until
Music
=
1
if
touching
mouse-pointer
?
switch to costume
Music Off2
if
not
touching
mouse-pointer
?
switch to costume
Music Off1
stop script
when
Music
clicked
if
Music
=
1
set
Music
to
0
else
set
Music
to
1
stop script
when clicked
show
set volume to
100
%
forever
repeat until
Music
=
0
play sound
Garlagan_Thundag
until done

Lol.
smile

Fixed

now its fixed.


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

Offline

 

#3477 2013-05-05 00:39:51

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

Re: Official [Scratchblocks] Testing Play Area

When clicked
Set
hello
to
hello

Offline

 

#3478 2013-05-05 00:44:27

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

Re: Official [Scratchblocks] Testing Play Area

http://scratch.mit.edu/static/projects/beyen/3258528_sm.png

Offline

 

#3479 2013-05-05 01:19:57

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

Re: Official [Scratchblocks] Testing Play Area

((o(*゚▽゚*)o))
XD

Offline

 

#3480 2013-05-05 09:48:56

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

Re: Official [Scratchblocks] Testing Play Area


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

Offline

 

#3481 2013-05-05 11:47:07

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Official [Scratchblocks] Testing Play Area

On the Cash Register (Coin):
[scratchblocks]
when gf clicked
hide
hide <variable (Amount)
set <(Amount) to <0>

Offline

 

#3482 2013-05-05 11:54:50

7734f
Scratcher
Registered: 2010-12-23
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

jevks wrote:

On the Cash Register (Coin):

when clicked
hide
hide variable
Amount
set
Amount
to
0

There ya go  wink


http://internetometer.com/image/38992.png   http://i37.tinypic.com/2qixx6c.png

Offline

 

#3483 2013-05-05 11:55:23

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Official [Scratchblocks] Testing Play Area

On the Cash Register (Coin):
[scratchblocks]
when gf clicked
hide variable (Amount)
set (Amount) to 0

Offline

 

#3484 2013-05-05 12:02:14

jevks
New Scratcher
Registered: 2013-04-20
Posts: 16

Re: Official [Scratchblocks] Testing Play Area

On the Cash Register (Coin):

when clicked
hide variable
Amount
set
Amount
to 0

When I receive
Ball Price
show
broadcast
Till
show variable
Amount

Same code as above made for hat and key too.

This code is made for each coin....

When I receive
Ball Price
if
hide
change Amount by 1
go to x: -144 y:-120>
else
if Amount =
1
broadcast
Part 3
>

Each coin has a code like this one above for hat and key too

Offline

 

#3485 2013-05-06 02:12:36

nathan_tanara
New Scratcher
Registered: 2013-03-01
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

show video url :
 
small mode
play

Offline

 

#3486 2013-05-06 02:46:15

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

Re: Official [Scratchblocks] Testing Play Area

jevks wrote:

On the Cash Register (Coin):

when clicked
hide variable
Amount
set
Amount
to
0

When I receive
Ball Price
show
broadcast
Till
show variable
Amount

Same code as above made for hat and key too.

This code is made for each coin....

When I receive
Ball Price
if
touching
Coin
?
hide
change
Amount
by
1
go to x:
-144
y:
-120
else
if
Amount
=
1
broadcast
Part 3

Each coin has a code like this one above for hat and key too

Fixed.

Offline

 

#3487 2013-05-06 04:14:44

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

Re: Official [Scratchblocks] Testing Play Area

set
hide
to
point in direction
º
XDDDDDDDDDDDD
say

Offline

 

#3488 2013-05-06 07:50:37

dr3w8
Scratcher
Registered: 2011-07-29
Posts: 81

Re: Official [Scratchblocks] Testing Play Area

when I receive
Scratch is closing May 6-8
go to
Somewhere other than Scratch
wait
259200
secs
3 days
go to
Scratch
say
Scratch is back!
for
Scratch
*
2.0
secs


http://i46.tinypic.com/1zfr32r.gif
http://i37.tinypic.com/2qixx6c.png

Offline

 

#3489 2013-05-06 08:37:35

themakerbaker
Scratcher
Registered: 2013-04-02
Posts: 13

Re: Official [Scratchblocks] Testing Play Area

This is for a platforming game, make sure the ground is black:

when clicked
forever
if
touching color
?
change y by
5
if
not
touching color
?
change y by
-5
if
key
space
pressed?
repeat
10
change y by
10
if
key
right arrow
pressed?
point in direction
90
move
6
steps
if
key
left arrow
pressed?
point in direction
-90
move
6
steps
repeat
10
change y by
-10
if
key
right arrow
pressed?
point in direction
90
move
6
steps
if
key
left arrow
pressed?
point in direction
-90
move
6
steps
if
key
right arrow
pressed?
point in direction
90
move
6
steps
if
key
left arrow
pressed?
point in direction
-90
move
6
steps

Try it  wink

Offline

 

#3490 2013-05-06 09:36:07

legomanz
Scratcher
Registered: 2011-06-18
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

testing

when clicked
repeat until
timer
>
10
go to
mouse-pointer
say
testing
for
3
secs

my 100th post!!!!


http://i49.tinypic.com/2n0vnfm.png

Offline

 

Board footer