Devlog #1 (or 2)
Here's a quick devlog to cover what I've done over the past few weeks.
The first feature I implemented after I finished the initial load of asset creation was the three tabs of the main screen. The name of each tab can be clicked to bring it to the front, or send it offscreen if it's already in the front. Only one tab can be on-screen at a time.
For a little extra flair, each tab overshoots center-screen slightly and then pulls back, just to make them seem more weighted and real.
Next was the ability to move cards and interact with the board.
(Ignore the moving borders, those are from an unfinished feature)
Each card can be picked up with left click and is held as long as that button is held down. They use an acceleration and velocity system to move towards the mouse, stopping when their center is a few pixels from the mouse. As with the animation for the tabs, I chose this over having the card attached to the mouse's exact position to make the cards feel more physical.
The board can still be retracted with cards on it.
Also pictured there is the dealing system, which deals cards from the deck, first to the slots with the fewest cards, then from left to right if two slots are tied for number of cards.
Of course, the solitaire-style stacking of cards also brought the issue of how cards which cannot return the hand while the card beneath them is in play behave.
Cartomancer-for-hire
Status | In development |
Author | ChimeraMusic |
More posts
- DocumentationOct 19, 2021
- Final DevlogOct 17, 2021
- Devlog #2 (or 3 and 4)Oct 03, 2021
- Game ConceptAug 29, 2021
Leave a comment
Log in with itch.io to leave a comment.