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

#1 2010-06-09 16:00:50

Morph
Scratcher
Registered: 2008-11-23
Posts: 12

3 Random Sprites...

Hey guys,
I'm making a Blackjack game where a player plays a computer.

I need Scratch to select 3 random sprites (cards) for the person to start the round with. Anyone know the script to do this? I think it's something like this:


<pick random( ** )to(**

Anyone help me here, just remember they are SPRITES not COSTUMES. Thanks  big_smile


Post this as your signature if you use Photoshop for your Scratch Projects!
http://i47.tinypic.com/34f0cvc.jpg

Offline

 

#2 2010-06-09 16:27:36

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: 3 Random Sprites...

Set card 1 to (pick random _ to _)
Set card 2 to...

Well, you get tge drift.


http://i46.tinypic.com/dw7zft.png

Offline

 

#3 2010-06-09 16:40:52

Morph
Scratcher
Registered: 2008-11-23
Posts: 12

Re: 3 Random Sprites...

Thanks, helped a lot  smile


Post this as your signature if you use Photoshop for your Scratch Projects!
http://i47.tinypic.com/34f0cvc.jpg

Offline

 

Board footer