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

#2951 2013-03-24 19:34:59

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

Re: Official [Scratchblocks] Testing Play Area

Marios-Star wrote:

<color [#8C52E7] is touching [Sprite1 v]?>
I hope I did this right!

Fixed.


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

Offline

 

#2952 2013-03-24 21:53:41

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: Official [Scratchblocks] Testing Play Area

set x to <pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random(1) to (2)>to (8)>to(77156564564894894564564564444552222050511111189877899977788822101201215645)>to (3.14159)>to (666)>to (8876)>to (22)>to (21)>to (877)>to (7866656)>to (0)>to (7666666)>to (888872)>to (9)>to(5)>to (4)>
set x to [#00FBFF]

Last edited by gfchll (2013-03-24 21:58:48)


HELLO EVERYBODY!

Offline

 

#2953 2013-03-24 23:45:06

OrcaCat
Scratcher
Registered: 2010-06-30
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

if <[]=[]>
set x to [#666]

Last edited by OrcaCat (2013-03-24 23:53:15)


     Awesome music     Electrode's theme     Epic music
Bye, 1.x.  sad                             Hello, 2.x!  smile

Offline

 

#2954 2013-03-25 09:29:17

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

Re: Official [Scratchblocks] Testing Play Area

OrcaCat wrote:

if <[]=[]>
set x to [#666666]

Were you trying to do this?


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

Offline

 

#2955 2013-03-25 09:35:42

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

Re: Official [Scratchblocks] Testing Play Area

Testing...

if <(pick random (1) to (10)) = (pick random (1) to (5) to (10))>
 say [Success!] for (2) secs
 think [Awesome!] for (2) secs
end
Unsuccessful. I wanted to put 3 inputs on the "pick random (1) to (10)" block.


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

Offline

 

#2956 2013-03-25 10:21:35

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Marios-Star wrote:

color [#8C52E7] is touching [sprite1 v] 
I hope I did this right!

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
color [8C52E7] is touching [mouse pointer v]
And also so you could do this, too.
color [8C52E7] is touching [edge v]


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2957 2013-03-25 10:25:06

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

PresidentialNyan wrote:

Marios-Star wrote:

<color [#8C52E7] is touching [sprite1 v]>
I hope I did this right!

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [8C52E7] is touching [mouse pointer v]>
And also so you could do this, too.
<color [8C52E7] is touching [edge v]>

there. Fixed my own post. It wouldn't let me edit it.


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2958 2013-03-25 10:28:10

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Marios-Star wrote:

<color [#8C52E7] is touching [sprite1 v]>
I hope I did this right!

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [#8C52E7] is touching [mouse pointer v]>
And also so you could do this, too.
<color [#8C52E7] is touching [edge v]>

there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2959 2013-03-25 10:31:19

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Me wrote:

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [#8C52E7] is touching [mouse pointer v]?>
And also so you could do this, too.
<color [#8C52E7] is touching [edge v]?>

there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

I'm not fixin' it 1 more time!  mad


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2960 2013-03-25 10:35:22

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Me wrote:


there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

I'm not fixin' it 1 more time!  mad

ok, maybe 1 more time, thats it!!!  mad


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2961 2013-03-25 17:39:10

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Me wrote:


there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

I'm not fixin' it 1 more time!  mad

THERE. DONE!!!  mad


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2962 2013-03-25 17:42:36

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Me wrote:

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]?>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]?>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [#8C52E7] is touching [mouse pointer v]>
And also so you could do this, too.
<color [#8C52E7] is touching [edge v]>

there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

fixed for the third time. I tried, people. I tried.


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2963 2013-03-25 17:47:47

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

Me wrote:

Me wrote:

Me wrote:


yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]?>
end
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]?>
 end
end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [#8C52E7] is touching [mouse pointer v]?>
And also so you could do this, too.
<color [#8C52E7] is touching [edge v]?>

there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

Alright, FIXED!!!!!!!!!  big_smile  yay cool!!!!!!!!!!!!!!!  smile   smile   smile   smile


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2964 2013-03-25 18:00:12

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

Re: Official [Scratchblocks] Testing Play Area

PresidentialNyan wrote:

Me wrote:

Me wrote:

yes, but you could just do the scripts for sprite 1 as this:

when gf clicked
forever if <touching color [#8C52E7]?>
Although, in 2.0 you will have to do this:
when gf clicked
forever
 if <touching color [#8C52E7]?>
 end
But your idea would also work. However, it isn't on scratch. If only scratch had something like this for the stage:
<color [#8C52E7] is touching [mouse pointer v]?>
And also so you could do this, too.
<color [#8C52E7] is touching [edge v]?>
there. Fixed my own post. It wouldn't let me edit it.

fixed my own for the second time! :0

Alright, FIXED!!!!!!!!!  big_smile  yay cool!!!!!!!!!!!!!!!  smile   smile   smile   smile

Fixed completely; you had some extra "end" 's.

With regards,

ErnieParke


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

Offline

 

#2965 2013-03-25 18:16:23

ElliottB1
Scratcher
Registered: 2013-02-08
Posts: 13

Re: Official [Scratchblocks] Testing Play Area

You want glitches?

when gf clicked
when gf clicked
when gf clicked


http://muzy-posts.s3.amazonaws.com/i/freefeed/aot9c0buc97143qbsd6egoq4vmfnrif4.jpg Be like Patrick.

Offline

 

#2966 2013-03-25 19:50:06

ElliottB1
Scratcher
Registered: 2013-02-08
Posts: 13

Re: Official [Scratchblocks] Testing Play Area

(Hi (Hi (Hi (Hi (Hi (Hi (Hi)))))))


http://muzy-posts.s3.amazonaws.com/i/freefeed/aot9c0buc97143qbsd6egoq4vmfnrif4.jpg Be like Patrick.

Offline

 

#2967 2013-03-25 19:54:06

ElliottB1
Scratcher
Registered: 2013-02-08
Posts: 13

Re: Official [Scratchblocks] Testing Play Area

gfchll wrote:

set x to <pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random(1) to (2)>to (8)>to(77156564564894894564564564444552222050511111189877899977788822101201215645)>to (3.14159)>to (666)>to (8876)>to (22)>to (21)>to (877)>to (7866656)>to (0)>to (7666666)>to (888872)>to (9)>to(5)>to (4)>
set x to [#00FBFF]

<Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel <Tunnel>>>>>>>>>>>>


http://muzy-posts.s3.amazonaws.com/i/freefeed/aot9c0buc97143qbsd6egoq4vmfnrif4.jpg Be like Patrick.

Offline

 

#2968 2013-03-26 01:53:56

HamsterMan2000
Scratcher
Registered: 2008-12-20
Posts: 62

Re: Official [Scratchblocks] Testing Play Area


when gf clicked

go to front

go to x: (-162) y: (-101)

set [GravityX v] to [0.9]

set [GravityY v] to [-0.5]

set [xvel v] to [0]

set [yvel v] to [0]

forever  

change [yvel v] by (GravityY)

if <key [right arrow v] pressed?> 

change [xvel v] by (0.7)

end

if <key [left arrow v] pressed?> 

change [xvel v] by (-0.7)

end

set [xvel v] to ((xvel) * (GravityX))

change x by (xvel)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (-5)

change x by ((xvel) * (-1))

if <key [up arrow v] pressed?>

if <(xvel) > [0]>

set [xvel v] to [-8]

set [yvel v] to [10]

else

if <(xvel) < [0]> 

set [xvel v] to [8]

set [yvel v] to [10]

end

end

else

set [xvel v] to [0]

end

end

end

end

end

end

end

change y by (yvel)

if <touching color [#000008]?> 

change y by ((yvel) * (-1))

set [yvel v] to [0]

end

change y by (-1)

if <touching color [#000008]?> 

if <key [up arrow v] pressed?> 

set [yvel v] to [10]

end

end

change y by (1)

end


http://i.imgur.com/DB8bLI9.png

Offline

 

#2969 2013-03-26 11:09:04

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

Re: Official [Scratchblocks] Testing Play Area

Could everyone please stop making those big scripts,like the round ones, and the tunnel ones. It lags my browser and it's really annoying.


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

Offline

 

#2970 2013-03-26 11:14:37

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

Re: Official [Scratchblocks] Testing Play Area

ask [How are you?] and wait
if <(answer) = [Well]>
 say [I'm glad you are well] for [2] secs
else
 say [Is something wrong?] for [2] secs
end
end


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

Offline

 

#2971 2013-03-26 11:17:07

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

Re: Official [Scratchblocks] Testing Play Area

gfchll wrote:

set x to <pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random<pick random <pick random(1) to (2)>to (8)>to(77156564564894894564564564444552222050511111189877899977788822101201215645)>to (3.14159)>to (666)>to (8876)>to (22)>to (21)>to (877)>to (7866656)>to (0)>to (7666666)>to (888872)>to (9)>to(5)>to (4)>
set x to [#00FBFF]

Please don't do this, it lags  hmm


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

Offline

 

#2972 2013-03-26 11:51:42

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

HamsterMan2000 wrote:


when gf clicked

go to front

go to x: (-162) y: (-101)

set [GravityX v] to [0.9]

set [GravityY v] to [-0.5]

set [xvel v] to [0]

set [yvel v] to [0]

forever  

change [yvel v] by (GravityY)

if <key [right arrow v] pressed?> 

change [xvel v] by (0.7)

end

if <key [left arrow v] pressed?> 

change [xvel v] by (-0.7)

end

set [xvel v] to ((xvel) * (GravityX))

change x by (xvel)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (-5)

change x by ((xvel) * (-1))

if <key [up arrow v] pressed?>

if <(xvel) > [0]>

set [xvel v] to [-8]

set [yvel v] to [10]

else

if <(xvel) < [0]> 

set [xvel v] to [8]

set [yvel v] to [10]

end

end

else

set [xvel v] to [0]

end

end

end

end

end

end

end

change y by (yvel)

if <touching color [#000008]?> 

change y by ((yvel) * (-1))

set [yvel v] to [0]

end

change y by (-1)

if <touching color [#000008]?> 

if <key [up arrow v] pressed?> 

set [yvel v] to [10]

end

end

change y by (1)

end

i think those are r2dav2's platformer base scripts. Don't copy.  hmm
they might not be, just a warning not to copy scratchers.

Last edited by PresidentialNyan (2013-03-26 11:52:42)


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2973 2013-03-26 12:34:45

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

Re: Official [Scratchblocks] Testing Play Area

PresidentialNyan wrote:

HamsterMan2000 wrote:


when gf clicked

go to front

go to x: (-162) y: (-101)

set [GravityX v] to [0.9]

set [GravityY v] to [-0.5]

set [xvel v] to [0]

set [yvel v] to [0]

forever  

change [yvel v] by (GravityY)

if <key [right arrow v] pressed?> 

change [xvel v] by (0.7)

end

if <key [left arrow v] pressed?> 

change [xvel v] by (-0.7)

end

set [xvel v] to ((xvel) * (GravityX))

change x by (xvel)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (1)

if <touching color [#000008]?> 

change y by (-5)

change x by ((xvel) * (-1))

if <key [up arrow v] pressed?>

if <(xvel) > [0]>

set [xvel v] to [-8]

set [yvel v] to [10]

else

if <(xvel) < [0]> 

set [xvel v] to [8]

set [yvel v] to [10]

end

end

else

set [xvel v] to [0]

end

end

end

end

end

end

end

change y by (yvel)

if <touching color [#000008]?> 

change y by ((yvel) * (-1))

set [yvel v] to [0]

end

change y by (-1)

if <touching color [#000008]?> 

if <key [up arrow v] pressed?> 

set [yvel v] to [10]

end

end

change y by (1)

end

i think those are r2dav2's platformer base scripts. Don't copy.  hmm
they might not be, just a warning not to copy scratchers.

A lot of users use these scripts for their platformers. It's not copying. And besides, this is a play area for Scratchblocks it's not really copying.


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

Offline

 

#2974 2013-03-26 12:35:15

PresidentialNyan
Scratcher
Registered: 2013-02-23
Posts: 59

Re: Official [Scratchblocks] Testing Play Area

[scratchblocks]
<touching color [light blue v]?>
<touching color [orange v]?>
<touching color [green v]?>
[/scratchbocks]
i hope i did these right!  big_smile


http://i43.tinypic.com/4ruira.jpg

Offline

 

#2975 2013-03-26 12:57:01

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

Re: Official [Scratchblocks] Testing Play Area

PresidentialNyan wrote:

<touching color [light blue v]?>
<touching color [orange v]?>
<touching color [green v]?>
i hope i did these right!  big_smile

Fixed; you forgot an "l" in "Scratchblocks" .  wink

With regards,

ErnieParke


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

Offline

 

Board footer