EN
Agent_Ash
Agent_Ash
17 subscribers

Playing Cards in Alice: Toys of Madness

The Cards weapon in Alice: Toys of Madness contains an array of 52 values (4 suits x 13 values). If the array is above 0, the next card is pulled from it; if empty, it's recreated. So, you never get duplicates until you've fired all 52 cards. The card value determines damage.  
There are 52 sprites for the cards that are drawn in separate layers by the weapon, and 52 textures for the models used by the projectiles. Thankfully, the file size is tiny 😅
The damage varies between 1 (for Ace) and up to 10 (10, Jack, Queen and King). Thus you actually know the damage you'll deal before you fire.
I originally had an idea for Jokers appearing in the deck as well, as 'crit' damage cards... and might still do it eventually!

Subscription levels

Supporter

$ 1,03 per month
Thank you for helping me make mods and write guides!
This level gets you a Supporter role on my discord server.
+ chat

Fan

$ 2,58 per month
You're a true fan!
This gets you a Fan role on my Discord server, and a place in the credits for my works!
+ chat

Brother in Arms

$ 4,2 per month
Thank you so much!
This gets you a vanity role of your choice on my Discord server, a place in the credits for my works, and early access to development builds of my mods!
+ chat
Go up