Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Card Game | Card Displays as LOCKED
- FenishedUndertale
-
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.
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
-
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
- Discussion Forums
- » Help with Scripts
-
» Card Game | Card Displays as LOCKED