RU
Agent_Ash
Agent_Ash
14 подписчиков

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!

Уровни подписки

Supporter

$ 1,13 в месяц
Thank you for helping me make mods and write guides!
This level gets you a Supporter role on my discord server.
+ чат

Fan

$ 2,82 в месяц
You're a true fan!
This gets you a Fan role on my Discord server, and a place in the credits for my works!
+ чат

Brother in Arms

$ 4,6 в месяц
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!
+ чат
Наверх