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

#1 2011-05-07 08:07:52

tochicool
New Scratcher
Registered: 2011-05-07
Posts: 1

Creating Instances?

Is there such thing?

If there is, tell me how to use it...
If there isn't, it's a VERY good suggestion...

Offline

 

#2 2011-05-07 12:59:21

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Creating Instances?

Are you talking about object and classes? No, Scratch uses sprites, not an object-oriented system.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#3 2011-05-07 15:49:13

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Creating Instances?

http://scratch.mit.edu/projects/Cyclone103/262337

Unfortunately you can't really make infinite instances (at least not within one frame), but using a cut-and-paste method you can make several.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#4 2011-05-07 20:26:04

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Creating Instances?

Harakou wrote:

Are you talking about object and classes? No, Scratch uses sprites, not an object-oriented system.

Well, it's object oriented but not class based.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer