Discuss Scratch

FenishedUndertale
Scratcher
55 posts

Card Game | Card Displays as LOCKED

Project > https://scratch.mit.edu/projects/963524538/

Hey, new problem. I managed to get the cards display for separate lists and display it's stats. But I want to show some cards as Locked. I want certain cards to show as locked when displayed.
Catscratcher07
Scratcher
1000+ posts

Card Game | Card Displays as LOCKED

make a list (as in, an actual list, not a custom block pretending to be a list) with an item for each card, in the clone displayment loop:
if <(item ((cardID) v) of [cardsLocked? v] :: list) = [0]> then 
do whatever you do to get cards to there correct costume


else
switch costume to [LOCKED v]
end

Powered by DjangoBB