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

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!

Pixel Card Wars: new cards: spells and items

Not a mockup

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

Completing the board

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

Connecting levels: adding the world view ๐Ÿ—บ๏ธ

Juiced combat

I'm adding skills as reward for beating dungeons #roguelike #indiedev #gamedev#screenshotsaturday #codesource. Thatโ€™s part of the progression of the player, together with better items. There's a lot of them but it's quite easy to implement.

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 ๐Ÿ‘‹