Introducing Card Lang

When I was first starting the project that would become Solaria Tactics I knew that if you're going to make a card game, you better make the cards easy to design and tweak. There's going to be hundreds of cards each with special rules, conditions, actions and other crazy stuff I want to add. Designing all these cards and making sure they work as intended would be a big challenge then especially with a developer team of one. So the challenge was take a card description like "Deal 5 damage to all minions" and encode that into something the game engine can understand and execute when y…

Read more »

A Better Isometric Camera Control

Greetings from Solaria! This is the first dev blog post of many as I progress on the development of Solaria Tactics. Hopefully these will be useful for other developers on their long journeys in game development. Since the game is an isometric tactics game with simultaneous turns I really need to have a good camera control script so you can see what you need to and reposition it quickly for a better view in the heat of the moment. Unfortunately all the scripts I found online were incomplete at best and had glaring faults at worst. I needed something that had Click and drag panning that exactly…

Read more »

The Asynchronous Journey

I love song covers. Yes, not all of them live up to capture all the spirit of the original recording, but getting through all the bad ones is suddenly worth it when you find the good ones. You might know the ones I'm talking about, they might be faster, cleaner, heavier sounding, different solo's, or all of the above. You know it's good when they take the song in a new direction that invokes a new vibe but with all the familiarity of the original. It's really what music is all about... taking what's out there and putting a different spin on it to put another mind in a trance. Let me step…

Read more »

Upgrade your brain virtual machine

Posted on

All of our brains use models to experience everyday life. An easy example is seeing the egg splat on the floor in your head right as it rolls off the table which somehow invokes the physics collider simulator you have going on up there. Everyone we interact with has the person base class with some properties about their gender, age, etc. which defines all the basic assumptions (and stereotypes we've picked up) about how the person will act. If I hit this person they'll be angry of course. Then down through all the convoluted hierarchy of your brain's person class there's a person instance fo…

Read more »

Leaflet Zip Code Map Part 2

Leaflet Zip Code Map Part 1 In this part of the tutorial we'll be focusing on what you need to do to get a front end set up to serve up the map and consume the wonderful zip code data. In case you missed it, here's what we're going for: HTML The html required on the page is almost as basic as it gets since most stuff is loaded in dynamically. The main pieces are: The map div <div class="control" id="map-loader"></div> The Coloring function dropdown if needed And your script includes of course: I'm using Numeral.js for number formatting on the popup, d3 for the h…

Read more »