so a lot happened:
the code is getting more complex but I managed to connect the map scene to the combat scene. I also made some improvements to the map generation. there was a bug that caused only 4 cards to be generated, because it was random, now it fills almost the entire map because it's based on a number of cards. I need to find a middle ground between the two.
now combat cards are drawn and I can add any other type of cards, because I input an array and it fills a position in the path every 3 cards. entering a combat card causes combat to start (almost too immediately).
defeating the enemies takes you out of the combat and back to the map, and you can enter another combat card. combat cards get depleted, but I haven't work on art for the world yet.
this is an actual game now, It's only missing defeat conditions and some end, but it's just a matter of adding more world cards.
I also added a menu for changing resolution, volume, going fullscreen and exiting the game.
I also added an animation to tell the player that a card is reshuffled, the card kinda falls near the general "deck" area and out of the screen (need to tweak it too).
when it comes to new cards, I added only two:
use the head: damages an enemy but also damages allies, and then the card returns to the hand to be used again. this card is diabolical.
shiv: the first rogue card, this card damages a random enemy when drawn. the effect it has is that it draws a card.
so: barbarian has cards that generate cards of his own class, discard random cards, heal a little, and can also damage friendly characters.
wizard will get powerful one use spells like fireball, and some cards that return to hand after being discarded.
rogue will have cards that deal damage when drawn or shuffle other cards into the deck. I'm also thinking some traps and maybe effects like bleed. I need to think more about it, for now if there's a mechanic that I like, I will add it.
the cards have a number but I'm not using it, the cards will not have a cost, you can play as many cards as you want until your hand is empty. "let's just say you don't pay with points". this is what will make my game different from others deck-builders.
So I need a new use for these points, like some special ability that charges, or just experience.
on the art side, doing renders I think will be too difficult, so I will be drawing all the cards by hand and then (maybe) painting them.
I was going to use gimp but I'm tired of the stupid GTK3 sliders, it's very annoying. gimp used to be good back in I think 2.6, but they ruined it.
So I tried another program I had very little experience with: Krita. Krita is so much better than gimp, it has shortcuts, I can add a layer by pressing Insert
. I made a potion and was much faster and more comfortable.
don't mind the grunge, these are from an old drawing.
I'm going to replace most of the art, at least the art in the cards. the character will remain as it is, and the enemies are a maybe.
Now I gotta go and start drawing.