Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with sprites
- Enigineer_tech
-
Scratcher
48 posts
Help with sprites
https://scratch.mit.edu/projects/1389218486/ I need help with sprites. I have too many but don't know how to use clones either
- redshift-cb
-
Scratcher
32 posts
Help with sprites
from what i know you can merge all the buttons into one sprite, make a clone of each of them, and make them do their scripts based on the costume, like this
define shop setup
switch costume to [bronze wrench v]
create clone of [myself v]
switch costume to [bronze gear v]
create clone of [myself v]
switch costume to [bronze screws v]
create clone of [myself v] // do this with all the sprites
when i start as a clone
if <(costume [name v]) = [bronze wrench]> then
forever
... // code of your stuff and repeat this for all your scripts
Last edited by redshift-cb (Yesterday 16:10:11)
- Enigineer_tech
-
Scratcher
48 posts
Help with sprites
um can you tell me how to make it where I can still hover over it and see how much it cost
- redshift-cb
-
Scratcher
32 posts
Help with sprites
if <(costume [name v]) = [bronze wrench]> then
forever
if <touching [mouse pointer v]?> then
switch costume to [bronze wrench cost v]
else
switch costume to [bronze wrench v]
- DUCK__Developer
-
Scratcher
80 posts
Help with sprites
from what i know you can merge all the buttons into one sprite, make a clone of each of them, and make them do their scripts based on the costume, like thishow do you color blocksdefine shop setup
switch costume to [bronze wrench v]
create clone of [myself v]
switch costume to [bronze gear v]
create clone of [myself v]
switch costume to [bronze screws v]
create clone of [myself v] // do this with all the sprites
when i start as a clone
if <(costume [name v]) = [bronze wrench]> then
forever
... // code of your stuff and repeat this for all your scripts
- UncappedCyanMarker
-
Scratcher
26 posts
Help with sprites
from what i know you can merge all the buttons into one sprite, make a clone of each of them, and make them do their scripts based on the costume, like thishow do you color blocksdefine shop setup
switch costume to [bronze wrench v]
create clone of [myself v]
switch costume to [bronze gear v]
create clone of [myself v]
switch costume to [bronze screws v]
create clone of [myself v] // do this with all the sprites
when i start as a clone
if <(costume [name v]) = [bronze wrench]> then
forever
... // code of your stuff and repeat this for all your scripts
use color=whatever color you want (but put rectangle brackets at both ends
Last edited by UncappedCyanMarker (Today 06:30:53)
- Discussion Forums
- » Help with Scripts
-
» Help with sprites