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

#1 2012-07-14 12:37:36

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

One sprite, multiple objects.

So, I'm working on a game that has randomly generated waves, which involves the number of sprites potentially reaching infinity. Obviously, I can't possibly copy and paste thousands of sprites. I also can't use the stamp block, because the objects will be moving towards the center and have scripts within them.

Could anyone figure this out with me? I have no idea how to do this  sad

Offline

 

#2 2012-07-14 12:40:42

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: One sprite, multiple objects.

The stamping is the only solution. Post the buggy stamping project, would you?


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#3 2012-07-14 12:40:57

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: One sprite, multiple objects.

You have to use stamp. You'll have to save and retrieve the xy coordinates and direction to a list, for each of the objects.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#4 2012-07-14 12:42:39

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: One sprite, multiple objects.

SciTecCf wrote:

The stamping is the only solution. Post the buggy stamping project, would you?

I don't really have it yet, I'm sort of just figuring out how I want this game to work, then putting it together. Most of the game is in my mind, not on my computer.

Offline

 

#5 2012-07-14 13:42:24

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: One sprite, multiple objects.

Alright, here is what I came up with:

http://scratch.mit.edu/projects/DonutCannon/2675404

Too many scripts to write on the forums, please try and fix this please  big_smile

Offline

 

#6 2012-07-16 18:23:41

DonutCannon
New Scratcher
Registered: 2012-07-02
Posts: 29

Re: One sprite, multiple objects.

Bump. Still need help  hmm

Offline

 

#7 2012-07-17 00:27:13

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: One sprite, multiple objects.

Hello! I've fixed your project.  smile
Your replacing scripts were before you moved the character, so it will never get stored in the lists.

LINK HERE


Hai.

Offline

 

Board footer