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

#1 2007-12-03 20:26:41

Kingoflego
Scratcher
Registered: 2007-07-15
Posts: 78

Ideas for blocks

First of all, a  <show?> block that tells if a sprite is showing.
Also, a (sound #) variable.

This isn't a block suggestion, and the scratch team probably won't do this, but video support?
It would be awesome!


What if this were not a hypothetical question?
My featured games: Geometry Land. (Hopefully more soon!)

Offline

 

#2 2007-12-03 20:31:18

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Ideas for blocks

It would be cool to include "showing? of  <sprite1>" in the state variable sensor, along with all the effect variables (ghost effect, color effect, whirl effect, ...)

I'm not sure what the "sound #" variable would do.  Is a sprite limited to playing only one sound at a time?  (I know it can play multiple notes and drum beats at once, but I'm not sure about sounds.)  If it can only play one sound at a time, then being able to detect what that sound is should be part of the state variable sensor also.

Offline

 

#3 2007-12-05 13:00:25

bigB
Scratcher
Registered: 2007-06-09
Posts: 100+

Re: Ideas for blocks

i would like an automaticly created variable 'costume' for each sprite.
this might make up for the fact that you can no longer change costume by a chosen number


http://scratch.mit.edu/projects/bigB/260981 Draw to Text
http://scratch.mit.edu/projects/bigB/181829 3D Stunt Flyer

Offline

 

#4 2007-12-05 18:27:38

danp357
Scratcher
Registered: 2007-11-11
Posts: 7

Re: Ideas for blocks

I think that there should be a debris block. (I remember seeing it on another thread, but I don't remember which.) I would love to be able to get 10 or 20 copies of a sprite but only having to change the code of one for them all to change in behavior.

Last edited by danp357 (2007-12-05 19:06:55)


Am I supposed to write something here? I guess I just did....

Offline

 

#5 2007-12-05 20:41:17

Pikachanian
Scratcher
Registered: 2007-10-25
Posts: 22

Re: Ideas for blocks

It Would be Cool if there was a make sprite ____ block and a import scripts _-_ block.


Hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi hi @:0
(Look at the end of it to see Elvis.)
I'm only 11, and I have an IQ of 124! According to 3 different tests!

Offline

 

#6 2007-12-05 20:51:40

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Ideas for blocks

I think it would be useful if there was a block to control the length and width of sprites. Then health bars would be easy to make  smile


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#7 2008-01-03 16:18:06

Lucario621
Community Moderator
Registered: 2007-10-03
Posts: 1000+

Re: Ideas for blocks

I think there was a block so you would squish the sprite in x value or stretch it in x value or same with y value.


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

Offline

 

#8 2008-01-04 12:18:25

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Ideas for blocks

Lucario621 wrote:

I think there was a block so you would squish the sprite in x value or stretch it in x value or same with y value.

No there's no such thing in Scratch.

archmage wrote:

I think it would be useful if there was a block to control the length and width of sprites. Then health bars would be easy to make

There is a way to make really good-looking bars, but it requires several sprites.... yes, a "squish" bar would good.  smile


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#9 2008-01-04 12:25:00

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Ideas for blocks

It is not that hard to create health bars... You only have to use pen commands.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#10 2008-01-05 10:19:55

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Ideas for blocks

One cheap way to make health bars is to have two sprites.  One is a bar corresponding to full health, the other is a sprite about twice as high, with a slit in it.  The sprite with a hole is in front of the bar sprite.  Sliding the bar up and down behind the slit makes more or less of the bar visible.  This is faster than using the pen, and doesn't require "clear" commands.

Offline

 

#11 2008-01-05 10:29:07

AlveKatt
Scratcher
Registered: 2007-08-12
Posts: 100+

Re: Ideas for blocks

The note control blocks needs pitch blocks to complete the set. For those prog rock synths if nothing else. Also, what about effect blocks? Forexample, rather than having fifteen electric guitars to chooze from you can add a distortion block for that death metal sound..

Come to think of it, I couldn't find any good guitar in the instrument block for making really heavy, low tuned, metal like Meshuggah or Arch enemy.

Offline

 

Board footer