All articles tagged as:

game-dev

Planned App-solescence

Planned App-solescence

Today is both a good day and a bad day. Bad because I finally have to come to terms with the game I spent four years making is no longer available on the App Store or the Google Play Store which effectively means you can’t run it anywhere anymore. The bittersweet part is that it’s given me the excuse to open source the game as well as my previous game project Solaria Tactics.… Read more »

Hex Map Area Borders

Today we’re going to learn how to create a nice border around the perimeter of an area in a hex map using Unity and a LineRenderer. Here I have it as a dotted purple line but you can make it look like anything you want with the flexibility of the line renderer! The foundation of the hex code here is adapted from the Hex Map Series by Catlike Coding which has been super helpful for getting started.… Read more »

Minimizing string GC in Unity

An easy trap to fall into when you’re starting out in Unity is creating strings each frame in your update loop. Say you have score that can change from a bunch of things: eliminating foes, jumping on a block, collecting a ring, or just existing. Whatever floats your boat. Then in your score updater component you just do: void Update(){ textComponent.text = "Score: " + score.ToString(); } Easy and done. Problem is, you’re now creating a string (which are immutable in C# and allocate memory) each frame.… Read more »

Actions and Selections with Card Lang

When the events we set up in part 1 of exploring the card language fire it would be quite nice if they could actually do something! This is where actions get their chance to shine. There are a ton of different actions a card can take but we’ll start out with just a few example ones like doing damage to pieces (Hit), healing them, or drawing a card. Just as we can have multiple events on a card we should also be able to have multiple actions for each event.… Read more »

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.… 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.… Read more »