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

#1 2007-09-04 05:14:39

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

placing copies of sprites (actual scratch program)

This is an idea that I have thought through. On game maker (another game desighning program that I have), you can do 'place instance of object 32... Can that happen on scratch, a suggestion for this to work scratch style is.

<when green flag clicked>
   <forever>
      <if <mouse down>>
         <create copy at <mouse pointer>>
             <wait <0.2> secs>

<when copied>
   <when green flag clicked>
        <forever>
             <if....>
                 <...............>
                     <..............>

I thought you could do that without making a whole new game programmer.

EDIT: wowser! I didn't want the blocks to appear!

Last edited by JoelP (2007-09-04 05:18:45)


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#2 2007-09-04 05:17:12

JoelP
Scratcher
Registered: 2007-07-20
Posts: 100+

Re: placing copies of sprites (actual scratch program)

sorry, I meant to post this in suggestions! can someone move this?

Last edited by JoelP (2007-09-04 05:17:32)


do you want to see  real 3D ? come here and have a 3D runaround. the game will soon be a fighting game, as you can see when you press space   http://scratch.mit.edu/projects/JoelP/33274

Offline

 

#3 2007-09-05 00:06:07

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: placing copies of sprites (actual scratch program)

Moved.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#4 2007-09-05 21:01:33

Scratchie
Scratcher
Registered: 2007-08-24
Posts: 29

Re: placing copies of sprites (actual scratch program)

Cool I have gamemaker too!

Offline

 

#5 2007-09-05 23:16:38

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

Re: placing copies of sprites (actual scratch program)

Ah yes, there are commands in flash action script that allow you to create new instances of sprites. One command called attachMovie(); and another is called duplicateMovieClip(); . Attach movie attaches a sprite from the library and duplicate Movie Clip duplicates an existing sprite on the stage. When you make new instances of sprites with these commands you can also change some of it's attributes like position, transparency length width,ect. Some sort of simple "cloning" feature in scratch would be so great and would eliminate the need for people to create many copies of a sprite.


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

 

#6 2007-09-09 16:01:23

hparker
Scratcher
Registered: 2007-09-09
Posts: 1

Re: placing copies of sprites (actual scratch program)

I would also really like to see such a sprite cloning feature.

Offline

 

#7 2007-09-12 03:41:18

Mick
Scratcher
Registered: 2007-03-23
Posts: 100+

Re: placing copies of sprites (actual scratch program)

wow there are so many sugestions! Scratch 1.11 is gonna be great even if they only use half the ideas!  smile

<play sound[ Yay!

Last edited by Mick (2007-09-12 03:41:38)


Go to www.legoless.com
It's my blog.  big_smile

Offline

 

Board footer