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

#1 2009-04-18 04:46:26

onedudeuk
Scratcher
Registered: 2009-01-11
Posts: 100+

Wild Re

WILD RE 1.0b - download at http://scratch.mit.edu/projects/onedudeuk/496058

Modifying apps to run in WILD RE 1.0b

Replace all “When green flag clicked” blocks with “When I receive run[appname]”, replacing [appname] with the name of your app. Next, change the names of all the sprites (you can leave the costume names the same) to [appname]_[spritename], replacing [spritename] with the previous name of the sprite. Do this with variables and broadcasts.

Next, add the following scripts to all of your sprites:

When green flag clicked
Go to x=*** y=*** (you don’t need to change these, as long as the sprite is where you want it to be!)
Hide

When I receive run[appname]
Show

When I receive closeopenprograms
Hide

When I receive shutitdown
Hide

Also remember about the run menu, and that it will take some space, so ensure that you have tested it for extra bugs, and other graphical errors.

Installing apps for WILD RE

Click extras, and click import project.
Select the WILD RE app (it needs to have been modified as described above).

Now create a Start menu block to run it:
Make a new sprite
It should be a grey 2 (third grey from the right, at the bottom) rectangle, with the name of the app written on it, with a black border. This will be costume 1. Make another one, replacing the grey with blue. Now move it to a good place and add the following scripts:

When green flag clicked
Go to x=*** y=*** (see below)
Hide
Switch to costume 1
Forever
If touching <mouse pointer>
Switch to costume 2
Wait until <not <touching mouse pointer> >
<end if>
Switch to costume one
<end forever>

When I receive openrunmenu
Wait until <  < touching mousepointer > and < mouse down > >
If < ( runmenuopen ) = ( 1 ) >
Broadcast aboutwild
Else
Stop script
<end if>

When I receive closeopenprograms
Hide

When I receive shutitdown
Hide

When I receive closerunmenu
Hide

Last edited by onedudeuk (2009-04-20 03:59:02)


http://i.imgur.com/1FaX3.gif
http://i.imgur.com/yu0s1.gif

Offline

 

Board footer