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

#1801 2012-10-24 11:33:51

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

when I receive [game start]
if touching <sprite 1>
    say [hello]

Offline

 

#1802 2012-10-24 11:38:05

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

when I receive [game start]
if <touching sprite 1>
    say [hello]

Offline

 

#1803 2012-10-24 11:41:51

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

when I receive [game start]
if <touching [sprite 1]>
    point towards [sprite 1]
    say [hello]

Offline

 

#1804 2012-10-24 11:44:55

empathyart
New Scratcher
Registered: 2012-10-24
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

when I receive [game start]
if <touching (sprite 1)>
    point towards [sprite 1]
    say [hello]

Offline

 

#1805 2012-10-24 11:47:45

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

when I receive [FUN!v]
repeat until <dead>>
 PLAY!!!
end

Offline

 

#1806 2012-10-24 11:49:09

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

When I try to use blocks in post
Fail[badly v]

Offline

 

#1807 2012-10-24 11:53:47

edxforme
New Scratcher
Registered: 2012-10-22
Posts: 9

Re: Official [Scratchblocks] Testing Play Area

how to make this script work the way i want to. keep looping vertically (up motion from bottom of stage). or after it touches a sprite at the top of the stage or edge of stage then loop in a split of a second. also send a score to a score box

when flag click
forever
move 4 step

Offline

 

#1808 2012-10-24 11:56:18

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

Guys.

However, please do not turn this into a spam area.  Post until you are comfortable with the Scratchblock syntax and then stop.  Don't make ongoing stories or conversations here.

This is to test out your own scripts, not do silly spamming stuff like

when gf clicked
 say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds
 repeat [<until pie is gone>]
  eat pie
 end


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#1809 2012-10-24 11:57:00

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

Fail Xd!

Offline

 

#1810 2012-10-24 11:59:10

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

When I try to use blocks in post
Fail [badly v]

Offline

 

#1811 2012-10-24 12:01:44

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

when I receive [FAIL!]
Fail [some more v]

Offline

 

#1812 2012-10-24 12:07:10

mythbusteranimator
Scratcher
Registered: 2012-02-28
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

when I receive [NO spam]
 switch to costume [Watch more spam come in :| v]

Last edited by mythbusteranimator (2012-10-24 12:07:16)


http://www.foxtrot.com/comics/2012-04-01-fdb37077.gif
clicky

Offline

 

#1813 2012-10-24 12:08:44

fireaction2001
Scratcher
Registered: 2010-03-24
Posts: 12

Re: Official [Scratchblocks] Testing Play Area

mythbusteranimator wrote:

Guys.

However, please do not turn this into a spam area.  Post until you are comfortable with the Scratchblock syntax and then stop.  Don't make ongoing stories or conversations here.

This is to test out your own scripts, not do silly spamming stuff like

when gf clicked
 say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds
 repeat [<until pie is gone>]
  eat pie
 end

when I receive [That ^ up there v]
[you guys v] should [listen v]
cuz <I'm just practising>

Offline

 

#1814 2012-10-24 15:27:30

legobob23o
Scratcher
Registered: 2012-06-22
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

The wrong guy wrote:

lol

The right guy wrote:

LOL

Offline

 

#1815 2012-10-24 16:25:12

AppsRus
New Scratcher
Registered: 2012-10-24
Posts: 11

Re: Official [Scratchblocks] Testing Play Area

[scratchblocks]
when gf clicked
hide

when [purple] clicked
broadcast [purple]

when i receive [purple]
show
go to x: [0] y: [0]

Offline

 

#1816 2012-10-24 16:31:42

Willpower
Scratcher
Registered: 2012-01-26
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

AppsRus wrote:

when gf clicked 
hide

when [purple] clicked
broadcast [purple]

when i receive [purple]
 show
go to x: [0] y: [0]

Fixed- you forgot /scratchblocks

Last edited by Willpower (2012-10-24 16:32:01)


http://i49.tinypic.com/e84kdj.png

Offline

 

#1817 2012-10-24 16:47:13

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

Re: Official [Scratchblocks] Testing Play Area

Willpower wrote:

AppsRus wrote:

when gf clicked 
hide

when [purple v] clicked
broadcast [purple v]

when i receive [purple v]
 show
go to x: (0) y: (0)

Fixed- you forgot /scratchblocks

Fixed again.


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

Offline

 

#1818 2012-10-24 17:33:48

Xion777
Scratcher
Registered: 2011-05-01
Posts: 8

Re: Official [Scratchblocks] Testing Play Area

This script is a stepping stone to making a full FPS game/simulation.

when gf clicked
forever
   set x to <(mouse x) * [-1]>
   set y to <(mouse y) * [-1]>
end
Use this on a sprite as big as the whole screen.

Then on another sprite as big as the screen, place this script.

when gf clicked
forever
   set x to <<(mouse x) * [-1]> + [360]>
   set y to <(mouse y) * [-1]>
end
This will place the sprite to the left...or right....whatever, this will be put on one of those side.

Make another sprite (as big as the whole screen) place this script in.

when gf clicked
forever
   set x to <<(mouse x) * [-1]> + [-360]>
   set y to <(mouse y) * [-1]>
end
Its just the same as the other sprite but 360 is now -360.

Then, duplicate all those sprites and on each one replace...

set y to <(mouse y ) * [-1]>
To this...

set y to <<(mouse y ) * [-1]> + [480]>
If you do that then you will also have a bottom row of sprites that will move as well.

You do not need a top row if you have a blue sky, you can just make the background blue and that would work.(Just saves you some extra work!)

Sincerely, Xion777

Last edited by Xion777 (2012-10-24 17:41:20)


Paradiddle

Offline

 

#1819 2012-10-24 19:25:28

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

mythbusteranimator wrote:

Guys.

However, please do not turn this into a spam area.  Post until you are comfortable with the Scratchblock syntax and then stop.  Don't make ongoing stories or conversations here.

This is to test out your own scripts, not do silly spamming stuff like

when gf clicked
 say [I LOVE PIE!!!:D:D:D:D:D:D] for [2] seconds
 repeat [<until pie is gone>]
  eat pie
 end

you can do that only if you do not keep doing that. It is testing area, right?


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#1820 2012-10-24 19:41:29

KrIsMa
Scratcher
Registered: 2011-09-20
Posts: 500+

Re: Official [Scratchblocks] Testing Play Area

Xion777 wrote:

This script is a stepping stone to making a full FPS game/simulation.

when gf clicked
forever
   set x to <(mouse x) * [-1]>
   set y to <(mouse y) * [-1]>
end
Use this on a sprite as big as the whole screen.

Then on another sprite as big as the screen, place this script.

when gf clicked
forever
   set x to <<(mouse x) * [-1]> + [360]>
   set y to <(mouse y) * [-1]>
end
This will place the sprite to the left...or right....whatever, this will be put on one of those side.

Make another sprite (as big as the whole screen) place this script in.

when gf clicked
forever
   set x to <<(mouse x) * [-1]> + [-360]>
   set y to <(mouse y) * [-1]>
end
Its just the same as the other sprite but 360 is now -360.

Then, duplicate all those sprites and on each one replace...

set y to <(mouse y ) * [-1]>
To this...

set y to <<(mouse y ) * [-1]> + [480]>
If you do that then you will also have a bottom row of sprites that will move as well.

You do not need a top row if you have a blue sky, you can just make the background blue and that would work.(Just saves you some extra work!)

Sincerely, Xion777

Cool scripts!


http://blocks.scratchr.org/API.php?user=KrIsMa&amp;action=onlineStatus&amp;online=http://i49.tinypic.com/2pzic0m.png&amp;offline=http://i49.tinypic.com/r7p10n.png
The Scratch Team (and fellow scratchers!) is/are so nice!!!

Offline

 

#1821 2012-10-24 19:44:44

dvd4
Scratcher
Registered: 2010-06-30
Posts: 1000+

Re: Official [Scratchblocks] Testing Play Area

legobob23o wrote:

The wrong guy wrote:

lol

The right guy wrote:

LOL

-_- // seriously !
lol // is ok


I made a mod  big_smile  It's called blook!
http://i49.tinypic.com/16ia63p.png

Offline

 

#1822 2012-10-24 22:13:39

scripttutorials
New Scratcher
Registered: 2012-10-21
Posts: 25

Re: Official [Scratchblocks] Testing Play Area

empathyart wrote:

when I receive [game start v]
if <touching [sprite 1 v]?>
    say [hello]

Offline

 

#1823 2012-10-24 22:37:20

scripttutorials
New Scratcher
Registered: 2012-10-21
Posts: 25

Re: Official [Scratchblocks] Testing Play Area

[scratchblocks]
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
say
think
[/scratchbocks]

Offline

 

#1824 2012-10-24 22:42:01

scripttutorials
New Scratcher
Registered: 2012-10-21
Posts: 25

Re: Official [Scratchblocks] Testing Play Area

scripttutorials wrote:

when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
when <<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>> clicked
when <<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>> gf clicked
say
think

fixed

Offline

 

#1825 2012-10-24 22:45:44

scripttutorials
New Scratcher
Registered: 2012-10-21
Posts: 25

Re: Official [Scratchblocks] Testing Play Area

wonder if text sizes and font styles work...
|
V
[size=big]Test[/size
[style=cambria]Test[/style]

Offline

 

Board footer