Game
Dungeon Mercenary




3 years ago

Pixel Card Wars: How gamedev proceeds (hand design)


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

Loading...

Next up

Creating the game's page on GJ, new team: Evil

Completing the board

Back to indie dev...

My in-development cards game now has its own webpage on itch: https://hgames.itch.io/pixel-card-wars I think I'll ultimately post it on GameJolt, but devlog will only be on itch. Please follow it here!

Juiced combat

During the last week, I've added traps. They can either be initially visible (early levels) or be noticed randomly when you walk by (later levels). Hope you'll like them!

I've added a new procedurally generated room: the wizard office #gamedev #indiedev #pixelart #screenshotsaturday #roguelike Beware not to touch its belongings!

I have created a page dedicated to Pixel Card Wars on GJ: https://gamejolt.com/games/pixel-card-wars/699977 I will continue documenting Pixel Card Wars development here! See you 👋

Pixel Card Wars: new cards: spells and items

I've revamped #monsters descriptions in my #roguelike. No more sentences, only tables :-) #indiedev #gamedev #screenshotsaturday #pixelart I'll be easier to internationalize. Hope you like them!