Discuss Scratch

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
30 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
30 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]
Enigineer_tech
Scratcher
48 posts

Help with sprites

ty
DUCK__Developer
Scratcher
77 posts

Help with sprites

redshift-cb wrote:

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
how do you color blocks
UncappedCyanMarker
Scratcher
26 posts

Help with sprites

DUCK__Developer wrote:

redshift-cb wrote:

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
how do you color blocks

use color=whatever color you want (but put rectangle brackets at both ends

Last edited by UncappedCyanMarker (Today 06:30:53)

Powered by DjangoBB