This is a post about my upcoming game Pixel Card Wars which is not yet on GameJolt, but on itch for preview: https://hgames.itch.io/pixel-card-wars/
Today, I'd like to show you how gamedev typically proceeds in my case. First, I wanted to add this card to the game, the librarian:
https://i.imgur.com/3gCqCCD.png
At the beginning of your turn, this guy makes you draw an additional card. OK cool, so what? Well this means I could not assume that the player's hand contains at most 5 cards, i.e. the following design was becoming incomplete:
https://i.imgur.com/4dWyq7u.png
With more than 5 cards, the sixth card would overlap to the right of the game's area. So I added support for stacking cards as follows:
https://i.imgur.com/hxcCzUA.png
But damn, how ugly this is! To make up, I added borders to the cards, so that it looks better:
https://i.imgur.com/F3SXTpH.png
So starting with adding a card, I ended up doing rectangle size computations for proper stacking.. and drawing pixels for extra borders. But the result is nice I believe, and the game is now more flexible: no more upper bound on the number of cards in the hand 🎉
0 comments