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

#1 2009-08-17 10:16:43

SmartIrishKid
Scratcher
Registered: 2008-07-19
Posts: 1000+

Subsprites

You know how Game Maker allows sprites to be created from other sprites?  Well, here is my idea for how sprite duplication could be implemented in Scratch.

Basic idea
Sprites, called "subsprites," can be created from another sprite, called the "parent".  Each subsprite will have its own scripts, and any given subsprite can be created as many times as needed.

Subsprite menu
The "Subsprites" menu can be placed in the row of tabs, next to "Scripts", "Costumes", and "Sounds".  You will be able to choose from a list of subsprites, similar to the normal sprite menu, beneath which will be shown the subsprite's scripts, costumes, sounds, etc.

New blocks
1. Create subsprite ___
This will create a subsprite.  Activated from the parent sprite.
2. Destroy
This destroys the subsprite.
3. When activated
A conditional block that runs when the subsprite is created.
4. relative x/y
Calculates the subsprite's position relative to the parent sprite.
5. Shared variables
The variable and list menus will include the option "For this subsprite only".

If anybody has other suggestions for Subsprites, they can share them.


Discuss future Scratch RPGs, online games, and more!

Offline

 

#2 2009-08-18 12:25:48

sccar3
Scratcher
Registered: 2008-09-04
Posts: 100+

Re: Subsprites

I love the idea! and it would be great for guitar hero games!


http://1.bp.blogspot.com/-WInb2DZ2LBM/UQaLETx3VII/AAAAAAAAAmQ/ZOpSwEPggiE/s1600/The%2BElder%2BScrolls%2BOnline%2BSignup%2BBeta.jpg

Offline

 

Board footer