How gamedev proceeds (hand design)
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:
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:
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:
But damn, how ugly this is! To make up, I added borders to the cards, so that it looks better:
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 🎉
Pixel Card Wars
Strategic pixel card games, Warhammerish strategies
Status | Released |
Author | smelc3 |
Genre | Card Game, Strategy |
Tags | 2D, Deck Building, Minimalist, Pixel Art, Singleplayer, Tactical, Turn-based |
More posts
- Adding the world view 🗺️Jul 26, 2022
- New team: Evil 🦹Mar 13, 2022
- New team: Zealous Knights 🛡️Jan 08, 2022
- Loot view: transitioning between levelsOct 13, 2021
- Adding mana 💧 automating balance check ⚖️Jul 27, 2021
- New cards: spells and itemsDec 15, 2020
- Humans/Undead skirmish in welcome pageOct 06, 2020
- Implementing scoringAug 31, 2020
- Starting Pixel Card Wars own devlogAug 22, 2020
Leave a comment
Log in with itch.io to leave a comment.