ram123 wrote:
I think they should put this <when green flag clicked>
<forever>
<if<touching[ground >
<<move(10)steps>
<end>
This is possible with blocks.
<when green flag clicked>
<forever>
<if> <touching[ ground (sprite)
<move( 10 )steps>
<end>
<end>
Offline
FiremariomkiZX wrote:
More space for the Site. *so like 30MB can be supported*
We are talking about the program. Not the site.
fg123 wrote:
how about when enter key pressed.
Enter key is like the green flag.
Offline
BoltBait wrote:
I would like to be able to link to another project.
For example, at some point in my project, I would like to cause the user to be taken to another scratch project.
I thought this would be a cool feature too, kind of like the old BASIC "chain" command. As I thought about it more, I wasn't sure how you would deal with the multiple environment issues though. You would want it to work in Scratch, which lives in various file systems so you would want to be able to put in a filepath to the target project - but it would have to be OS independent. Then, you also would want it to work online, where you would need a URL to the target project. So that would present some difficulties to the implementation
Offline
True. And, it would also have to be "safe" for the kids.
That is why I would limit it to linking to a project on the Scratch web site ONLY!
Now, personally, I would love to have MUCH more flexibility (like the ability to link to ANY url). But, at a minimum, I would like to be able to link to other scratch projects.
I was thinking that this would be very useful for creating menus of games/projects or long games (like adventure games that get too big for a single project).
Now, what would be really cool, is the ability to send a piece of data along with the chain request! That way, we could continue a long game and save some information (like score or inventory, etc.) between sessions.
Last edited by BoltBait (2009-03-30 16:41:47)
Offline
I would like a
glide (number) seconds to (Sprite)
Offline
bhz wrote:
Bluestribute wrote:
What about a power block. Instead of doing something like:
2*2*2*2*2
You could do:
2^5
It would kinda be like the mod block, but powersWill this work? or is it more complicated than doing x*x*x.....?
http://scratch.mit.edu/projects/bhz/260290
It would work.
In fact, I've done it, and the (( )^( )) block will be out in streak 0.1!
The thing about a block for that, rather than repeated multiplication, is that you can change the number of times it multiplies, not just what number it multiplies.
I will see if I can make a tutorial on how to do this, as it is really rather easy to do.
Offline
bhz wrote:
bounce off color [ ]
bounce off [ ]
This would not work, or would be more trouble than it's worth.
You see, it could turn around when it touches a colour, but that could be done with
<when green flag clicked>
<forever if><touching color[ FFFF00 ]>
<turn cw( 180 )degrees>
<end>
To actually have it bounce, scratch will have to sample the whole screen, single out that colour, find the portion it is hitting, determine the tangent, and rotate the sprite. Also, because of how squeak sketchMorphs work, the same would have to be done on the transparent part of a sprite, to bounce off it.
Also, because one pixel could trigger this block, when it hits scratch will return every direction as that of the surface(as you need at least 2 points to plot a line), and that will not work.
Oh well, good idea, though!
Offline
Stickman704 wrote:
I would like a
glide (number) seconds to (Sprite)
glide [ number ] secs to x: [ ( x position ) of ( sprite ) ] y: [ ( y position ) of ( sprite) ]
Offline
harrypotter345 wrote:
Number the scripts so the following could done:
Stop [Script #]
Stop [Script #] in [seconds] after [happening*]
Play [Script #] after [happening*]
Play [Script #] after [Other script #] has stopped
Stop [Script #] after [Other script #] has started playing
*By happening I mean... flag clicked or after a broadcast has been received.
Genious Idea. That was totally what I was thinking!!!
Offline
alexpja wrote:
FiremariomkiZX wrote:
More space for the Site. *so like 30MB can be supported*
We are talking about the program. Not the site.
fg123 wrote:
how about when enter key pressed.
Enter key is like the green flag.
Enter key is like the green flag?
Yeah, well... It works on Scratch but not on the website so...
I propose that they make it so the green flag is not enter on Scratch. Then make a totally new block: The enter key pressed block.
Ingenious.
Offline
Make it so that a sprite's point of rotation can change!
That would make true 3D games a bit easier to make.
Offline
how about a block like-broadcast (Random broadcast thingy) for (X) secs to (random sprite) or just-broadcast (Random broadcast thingy) to (random sprite).
Last edited by jokoman (2009-04-10 10:22:16)
Offline
I would like to be able to read and write cookies.
This would allow a game to have a local high score list that would last more than just the current run of the program.
Now, if this was implemented, you would have to limit the scope of the cookie code to only the current game. You could do this by prepending the game number to the cookie name.
Last edited by BoltBait (2009-04-13 17:31:13)
Offline
What about a, pen above sprite: sprite 1, block?
Offline
If you are making a game and you move something with the cursor, you don't want the REAL computer cursor in the way so a block that says : [set sprite to cursor] would be nice but i am not sure if it is a possible block to make. The function of the block would be to change the look of your cursor to a sprite in scratch. And it would hide the sprite making the mouse pointer into the sprite instead of the normal look of the cursor.
One of Henley's
...:::Bright Ideas:::...
Offline
The block could make the cursor hide the computer cursor then you have to do all the programming in Scratch to make it work.
Offline
Magnie wrote:
The block could make the cursor hide the computer cursor then you have to do all the programming in Scratch to make it work.
Cursor hide isn't good.How will you build your project if you click the green Flag!?!?!!
Offline
make a "wait until broadcast ______"<wait until><broadcast[ _______
Last edited by happysmiles (2009-04-17 21:59:53)
Offline
jokoman wrote:
how about a block like-broadcast (Random broadcast thingy) for (X) secs to (random sprite) or just-broadcast (Random broadcast thingy) to (random sprite).
Use multiple broadcasts.
For the for X secs part...
If timer in use:
Make a variable. I'll call it v.
The broadcast will be called b.
I'll call the time you want the broadcast to work t.
Scripts:
set [ v ] to [ timer ]
repeat until [ ( timer ) > ( [ v ] + [ t ] ) ]
broadcast [ b ]
Timer not in use:
No variable needed. Just the broadcast b.
the time you want the broadcast to work will again be t.
Scripts:
reset timer
repeat until [ ( timer ) > ( t ) ]
broadcast [ b ]
happysmiles wrote:
make a "wait until broadcast ______"<wait until><broadcast[ _______[/blocks]
Make a variable. I'll call it v.
The broadcast will be called b.
Scripts:
when flag clicked
set [ v ] to [ 0 ]
when I receive [ b ]
set [ v ] to 1
wait [ 1 ] secs
set [ v ] to 0
wait until [ b ] = wait until [ ( b ) = ( 1 ) ]
Last edited by bhz (2009-04-18 16:27:52)
Offline
Flash has a cursor hide command. Cursor changing can't be done because it involves messing with system files.
Offline