Stylistic experiments & change of workflow (eventually)

For the past week I’ve almost not spent any time in Unity, but GG Maker instead. Maybe it was nostalgia, or maybe it was a desire to try something new. Probably nostalgia. Either way, I downloaded and installed it Wednesday last week and have been using it for a few hours almost every day since then. This does not mean that the desert island project is cancelled or put on hold, it’s still alive. It’s just not been my focus for a few days.

However, after using GG Maker for a week, I’ve decided to split my workflow in two; Unity for smaller, more focused prototypes and using GG Maker for creating more adventure games within the same lore-universe as the desert island game. I still plan to finish it before making the final switch,  as cancelling it at this point would just be stupid considering how much time I’ve spent on it. The reason for this change is that GG Maker allows for much faster iteration for RPG’s with more or less all the systems already in place for creating branching dialogue, proper inventory management and lots of flexibility. Instead of rewriting the code I’ve made for the desert island game to work with other games in the future, I’ll use Unity for more experimental projects.

One week in the making

isometricTownIf you follow me on Twitter you may have already heard about this project. I decided to challenge myself with the style of this game by using the NES color palette, and only those colors. It has proven a bit harder than anticipated, but also a lot of fun. The project I’ve been working on has been a isometric adventure game with more focus on the dialogue and level design, encouraging the player to take different choices to reach various goals. It also uses voxels for the various objects throughout the scene, like those trees, except for the characters which are flat 2D sprites. It certainly gives the game a unique look. Below is a test scene inspired by the desert island game.

isometric

That’s all for this week, ya’ll know you’ll get a new post next week.

Armor

For the past week I mostly spent time on equipment and the underlying systems of getting and using new items and displaying it on the player character. I’ve also made some tweaks to the combat AI, enemies now attempt to taunt you during combat by shouting comments at you. The overworld map is also nearing completion in terms of layout, but enemy placement and optimization still remains.

armor

Testing armor, Leather Armor and Iron Armor.

armorInspector

Armor setup in the Unity Inspector.

Armor have four primary variables, Damage Resistance, Enchant, Enchant Strength and Speed Modifier. Damage Resistance is how much damage is removed from an incoming attack, Enchant is the current enchant on the armor. Possible enchants include reflect damage, speed increase and poison resistance so far. Enchant strength is purely how powerful the enchant is. Speed modifier works like weight, and can both increase and decrease the characters top speed.  When equipping new armor, the Skin is applied to the character, and the models for helmet and shoulderpads are cloned onto the character.

leatherArmor

Player character with leather armor on.

Work has been started on a new dungeon with a fire theme. I’ve only placed the rooms and made the color palette, but I intend to have it complete soon.

redDungeon.png

Fire Dungeon

Sorry for such a short post this week compared to others, but I hope to have a longer one next week. Until then, take care.

 

Mostly visual tweaks for the past week

For the past week, when not playing Black Desert Online(which is pretty damn awesome), I’ve mostly been doing various visual tweaks and not that much code. I like to change things up and do visual one week and code the next to not get completely exhausted at one thing and risking losing interest. This means that for next week, the main focus is code again. Now, let’s look through some of the changes made this week.

New Equipment Window

Last week I showed of the new item screen, which was the first preview. This week it’s almost finished, preview below.

newEquipment

When opening a chest, this window pops up, showing you your current item of the same type found in the chest. Since the player can only have one item equipped per slot and no inventory to store them in, it gives you the choice of either leaving the item or taking it with you. If you choose to take the new item, your previous one is destroyed without the possibility of getting it back. So it’s usually a good idea to not instantly take the new item, but look over the stat changes and enchants. On the task list for next week: Green text if the stat is better, and red if it’s worse. The item slots available are as follows:

  • Main Hand
    • Swords, axes, bow.
  • Shield
    • Use a shield to block damage, obviously. Can not be used with the bow.
  • Armor
    • Armor sets contain a chest piece, sometimes a helmet and new boots.
  • Lockpicks / Keys
    • Used for unlocking doors and chests.

Character texture changes

pointyHeads

Character heads made more like arrows to better show what direction they’re facing.

Characters have also received some visual tweaks, most notably in their color schemes and their heads. Previously their heads were squares, but I changed their shape slightly by making the faces pointier instead to make it more clear which way they are facing and also making them seem a bit more “natural” by scaling joints to get some curvature and different shading over the models. These changes are most notable when a character enters ragdoll-mode with arms and legs flying all over. Fun stuff.

actors

New clothing and color palettes. Also decided to remove the face textures and go with a clean look instead. More colors are in the works.

Doing animation tweaks and changing the base mesh lead to the attack animation getting screwed up, as well as the walking animation not looping properly. The running animation loops perfectly though. Weird. In the second screenshot you can also see that the player holds the sword out to the side, and trying to attack somehow inverts the animation. For some reason this has only affected the player and not other objects, despite them being the same mesh with a different texture applied to it. Aiming to have this fixed until next week.

Enterable buildings without loading

Previously if you were to enter a house, the game would load that house interior as a separate scene. I’ve been experimenting some with having the houses be actual objects in the overworld scene allowing you to enter them without any loading, just open/unlock the door and enter and the roof disappears. Preview gif below.houseRoof

Although the houses are cramped and small, this fits well with the overall design of Querden and the architectural style of the island. With most of the population being poor, having a bigger house is reserved for the elite. Not all houses are enterable, but those who are will be marked with various patterns that you should be able to recognize. Sometimes a house may be enterable, but the door is locked. If you have the key you can unlock the door, but if you don’t you should try to get your hands on some lockpicks to pick the lock.

That’s all for this week. Check back in 7 days for a new post about development.I’ll try to limit my hours with Black Desert and get some more work done this week. I might write a small review of the game if I find that I have the time for it, we’ll see.

Dungeon crawling

For the past week, the primary focus of development have been to get a dungeon prototype working. It’s a little rough around the edges still, but it works. And that’s the most important. Dungeon layouts are inspired by the first Legend of Zelda on NES, being made up of rooms that must either be cleared, have a puzzle solved or a key to unlock doors in order to continue. With the basic groundwork laid out, it is now time to create all the different elements to create puzzles and more interesting rooms. So far I have created buttons, hit triggers and boxes that can be pushed around, as well as some traps.

dungeonEntrance

Entrance room of the testing dungeon

Whenever you enter a room with enemies in it, the doors are locked and you must defeat them in order to unlock the doors again. Should you die, you’re returned to the dungeon entrance and must start over again. Since death comes easy, dungeons often contain a well of restoration to restore your health which you can return to when you need some health. Beware though, as they have a limited supply before they run dry and you can’t drink from them any more.

wellOfRestoration

Well of Restoration room

Another important aspect of dungeon crawling is the loot you’ll find. Dungeons contain the most powerful items in the game, and it’s often crucial to get it in order to defeat the boss. Boss rooms are clearly marked, so you’ll always know when you’re about to enter it. It’s usually a good idea to save a few drinks in the well before going in. Defeating a boss rewards you with a health boost and some sweet gear.

newItem

Getting new equipment

bossEntrance

Boss room door

Another tweak added by popular demand of people who have playtested the game so far is different control schemes based on if you’re using a gamepad or not. Previously the player character would look in the direction you’re walking, either with WASD or the arrow keys. Now you can walk freely and look in the direction of the mouse instead. Basic stuff, but it’s much easier to get used to. Using a gamepad you walk with the left stick and look with the right stick. Standard top down controls in other words.

That’s all this week, come back next tuesday for more.

NPC chatter & dungeons

Over the past week I managed to get Unity working properly again, which means I’m back to developing more or less daily. Most of the past week has been spent on finishing the various areas of the map and planning what to put in them and design of dungeons. They’re coming along slow but steady.

NPC Chatter

I also made a small system that lets the NPC’s say random stuff from a predefined list. I posted a link to a GIF of it in action to Twitter, but in case you missed it, here it is again:

dialogue.gif

It simply instantiates a UI Text element in a world space canvas and positions it over the agent, removing it from memory after five seconds. Every NPC will have custom dialogue/comments specific for them, each with a unique personality. You might even be able to get some hints for treasure or quests by listening to what people have to say. There are a lot of possibilities with this to create some fun situations, and new lines can easily be added during gameplay, making it possible to have the world react to your actions throughout. But that might be a bit of a overkill, I’m just one guy working on this after all.

Dungeons

When it comes to dungeons I have mapped out a few on paper, but I still have to create a variety of “tile sets” that can be snapped together in Unity to create the dungeons and caves and whatnot.  I have yet to decide a total number of dungeons, but I want all of them to follow the same philosophy of the overworld; clearly defined style to make it easy to recognize what type of dungeon you are in, but also keeping that sharp low-poly style. Another important thing that is going to take up some time is the dungeon flow design. Not only do they have to look unique, they have to feel unique as well. Different enemies, unique loot, traps, events, some backstory and hidden rooms. The checklist for each dungeon is long, but as soon as I have made a few sets of modular objects the development should be sped up considerably.

That’s all for this week, make sure to come back next tuesday for a new post with more development news of the game.

Style

For this week, I thought I’d do a small write-up of the style in the game. As you have probably seen from the screenshots in the previous post, the game features a low poly style with sharp edges. Different this week from last though is that I decided to go with minimal texture detail on detail objects and instead go with flat colors, leaving only characters and the terrain with proper texturing, and giving houses a colored area near the ground. They now look like this, giving more variety to towns and settlements. marillaNew.pngThis also makes it very fast to create new color schemes for buildings, since their UV maps are set up by projecting the UV map from one side, placing all the edges on top of each other, making a nice looping texture wrap.houseUVCreating new color templates simply consists of replacing the red bottom of the UV with another color, as shown here:houseColors

For the environment however, I don’t use any textures except for the trees. Even then, they only consist of two colors; the bark and the leaves. These textures are made in the same way as the textures for the houses, but with some re positioning of the UVs to make everything fit and to prevent bleeding colors. Objects such as rocks, cacti and grass is just a single color defined in their material properties along with some shininess.

twins

The twins, two large mountains

mines

Querden Mine, one of the dungeons

As I mentioned, characters also have textures on them. Instead of making unique meshes for every character, I’m instead just going with applying premade skins to them and giving them armor meshes on top of their default body if necessary. I draw the textures in Blender, import them to Unity and then set their filtering mode to Point to reduce edge blurring and give that sharp look I’m going for.

actorTextureBlue

Since the actors are made up of only 41 faces, making new textures is a pretty fast process that I still haven’t gotten fully around to doing yet. Oh well, with time we’ll get there.

Another aspect of the color design I’m working on is to give each area it’s own unique palette to make it easier to know what area you’re currently in. I also plan to extend this to the character textures, so if you meet a person you can tell from their clothing their social status or where they come from.

Next week I plan to write about player interaction with the world and some of the activities you’ll be able to partake in.

Here we go

Hi, thanks for checking out my blog! Here I’d like to share my thoughts on game design, development and my thoughts on various released games. And of course, writing about the games I make myself.

I’ve been making games as a hobby for several years, starting with Engine001 (now known as GG Maker) in 2008, learning the basics of game development by doing scripting and art, until I made the switch over to Unity in 2010, making the switch from 2D to 3D.

With my first post, I’d like to kick the whole thing off with my current project which currently has no name. We’ll get there, eventually. The game takes place on an island named Ceth, home of heat and sand. The main city, Querden, is plagued by drug usage and corruption. You as a player control a courier, living in Querden. The story is not finished yet, but I’ll write more posts about this in the future.

Here’s some screenshots:

The gameplay loop consists of exploring dungeons, fighting enemies, avoiding death by thirst and picking the locks of doors. Weapons can be enchanted with abilities like dazing and poison and killing your enemies by triggering traps. Planned features include vendors to buy new/upgrade weapons and armor, more varied architecture, perk system and probably lots more as time goes on.

That’s it for this introductory post. My plan is to write update entries once a week, preferably on Tuesdays, starting this week. Prepare for more in-depth articles about the various gameplay elements, code and the art. Cya