Revisiting the Card Rendering pipeline
I decided to revisit how the cards are being managed and rendered. There were a couple of steps involved.
The first part was re-writing the card shader; the new shader is a simple Normal Map sprite shader, taking in a texture and a normal map.
For each pixel on the image, the Normal Map contains the angle of the surface at that pixel; it's encoded as X (Red), Y (Green) and Z (Blue) in the texture map. The blue-ish cards are the Normal Maps (blue because most of the surfaces point straight towards the camera.
The second step was to rebuild card movement; to show off the nice Normal Maps, I wanted a big of rotation on the cards when they move; the simplest way to do that in Unity was driving it all through the physics system.
Finally, having made this new system I got inspired to create a collectible card system:
There's right now 15 cards, each one unlocks through story or side-quests. Katie's card, for example, unlocks from giving her the True Flawless Fire Gem. Having collected a card back you can use it in Elsewhere, and when you play poker.
Apart from that, I'm close to finishing Act V+ (the next public release). Hopefully I'll get a version out for testing today, clean up any new bugs, and release it tomorrow or the day after. Enjoy!
Get Love of Magic
Love of Magic
An adult game about romance, magic and poker.
Status | In development |
Author | droid productions |
Genre | Visual Novel, Card Game, Role Playing |
Tags | Erotic, Fantasy, Funny, Romance, Story Rich, Unity |
Languages | English |
Accessibility | Color-blind friendly |
More posts
- Book 1 NG+ CompleteJul 21, 2024
- Book 1 New Game+Mar 15, 2024
- Love of Magic Trilogy CompleteSep 28, 2023
- Updated Book 1 + The End is NeighSep 22, 2023
- Book 1 Video UpdateJul 08, 2023
- Act XV+Jun 28, 2023
- Act XVApr 23, 2023
- Act XIV+: Steamy Days in EdinburghFeb 22, 2023
Comments
Log in with itch.io to leave a comment.
looking good, cant wait to see it all
Uploading now!