Tuesday, June 27, 2017

Colony_30 "New Features & Controls"

So I've come to the conclusion that the starter 'story note' is really hard to read with the naked eye. When the beta comes out you'll know what I'm talking about, for now, take my word for it - It's a piece of paper with a bunch of writing on it that's hard to read.

Now I had planned to add a 'Notes' section to the game because I wanted the player to 'write down' recipes as they discovered them, but as I was developing the Notes section I decided that it would also work well for the player to write down game lore and story.

So that's the new addition! When your character writes something new in their notes it will be displayed at the top. To read your notes, well I'm releasing the official control map for The Colony!


Some of these things haven't been implemented yet like Crouching, player stats, console, toggle debug display, and map. But this is the official planned controls map and because I'm so confident in these keybinds, I felt comfortable releasing them.

I've also added Raw Meat and Stone Axe to the game!




Now I had already made the Stone Axe model (shown to you previously in Colony_24):


But it's now officially in the game and can be used to chop down trees and deal damage!
As for the meat, it is not yet able to be consumed (that is not yet a feature) but it's the next thing on my to-do list!

And finally, to top things off I've added sickness and temperature to the game! Your character can now get sick, and there is a 'World temperature' and a 'body temperature'. World temperature is the outdoor and effects your body temperature, and body temperature is pretty self-explanatory.

Right now temperature doesn't do anything, but in the future, it will directly affect the sickness of your character. You can get sick though because I've made so you can drink water from the stream. Now drinking this water here and there isn't a bad thing, but keep in mind that fresh water doesn't mean clean water. If you refill your thirst you probably won't notice anything, but if you constantly rely on the stream water for all your thirst needs then you will notice your character begin to get sick.

Even cooler is you can 'catch a sickness'. This means that if your character is no longer healthy and left untreated then they can get sicker and sicker over time. There is a 'virus-fighting' factor, but when you first catch the sickness this is very low and is unable to fight off the sickness on its own.

So there's now Notes, temperature, stone axe, raw meat, and sickness implemented into the game! Talk about moving fast! I've also fixed a few bugs related to rain and made rain a lot less stressful on the PC. With all these features implemented, the beta feels like it's getting closer and closer!

Don't forget you can sign up for the beta here, and thanks for all provided feedback!

Thanks for reading, feel free to leave a comment, and I'll see you in the next one! Stay awesome :)

Monday, June 26, 2017

Colony_29 "Optimization & Performance Update"

I was talking with a friend on Skype and he told me about Unity's Profiler. It's basically a game developers best friend. It tells me what in the game is causing a performance decrease.

Using this tool I was able to isolate parts of my programming that caused massive lag to the game, and the result was:

My PC Performance (Max Graphics Settings):

Before Optimization Update: 57fps


After Optimization Update: 239fps



I couldn't have asked for a better result! I make it sound simple, but this process was re-programming hundreds of lines of code, changing behavior, and coming up with new methods to achieve results. This was only about an hour and a half of work and yet look at the massive difference! And this is editor performance, the standalone game will be running even better (in fact I bet on the standalone game I could probably get 260+fps no problem).

This is great news because it means that the game is MUCH more optimized for lower-end PC's now! Which is a good thing, because that's most of my community! It also means that lower-end PC's should be able to play the game on default settings, which is fantastic.

Thanks for reading, feel free to leave a comment, and I'll see you in the next one!

Sunday, June 25, 2017

Colony_28 "Animals - Part 2"

Very productive day as I hope most days are. Beginning in the simpler things, I've added wind that shakes bushes and trees:


It's not the coolest thing in the world, but it's one of those misc. things that help add detail and give life to the scene. This new change applies to trees and bushes alike.

The next thing I did was re-work a lot of the new Animal's AI for pathfinding. The original pathfinding worked more-or-less but caused problems like the animal getting stuck in-between trees or walking in place infinitely.

But most importantly, the animal now attacks the player when it gets near and damage is dealt to the player accordingly. And even cooler than that, the players screen changes depending on how much blood they have!

The players screen after being attacked to near-death by the tiger
With this implemented, it means that land animals are now almost fully functioning! The only thing left to add is making so they can take damage, eat, and drink!

Soon animals will be crossed off the list, then it's more Tools/Recipes, and then the Building System! Once all of those are crossed off the list (and probably other misc. features), then the Beta will be announced!

P.S I also added the sound effect of the wind against the trees. It's the minor things that add life to the game.

Thanks for reading, feel free to leave a comment, and I'll see you in the next one!

Saturday, June 24, 2017

Colony_27 "Animals"

So far in terms of animals we have a bird that moves tree-to-tree giving off a chirp now and then, and thats been it. But since I first implemented that bird I've been working on here-and-there a new system for animals. This system is not simply they move place-to-place and need food and water, this system will make animals crave food and water like their life depended on it. The more they've gone without it the more irrational they become, and if they get low enough, the weaker they become.

When you go up against an animal, it wont simply be X amount of hits to kill, they go this fast, they deal this much damage. Instead it will be, I know that the bunny population in the area is low, I know that this animal eats bunnies, so I know that this animal in this area is probably weaker than it usually would be. The focus of this game has always been about survival using your brain, not just some stats and grinding.

Now that's all good in theory, but what do I actually have done so far? Currently there are spots for birds to fly to and that's about it for birds.

Originally I was going to program one big script to manage all animals, but that turned out to be over-complicated and a lot less efficient than just making multiple scripts. So now that the Bird AI is programmed separately from land animals I was able to make a lot more progress.

If you want a more in-depth explanation of the new animal system, you can click "Read more" at the bottom of this post. But what I've done so far is successfully make the animals able to wander place-to-place, switch between animation states, and chase after the player when the player gets near (the tiger specifically growls before chasing). Doesn't sound like much, but that's over 250 lines of code!



If you're interested click the Read More Button!

Friday, June 16, 2017

One Week Pause

It's a really inconvenient thing to do but I'm going to have to pause all game development for one week. Then once I'm back it will take me another day or so to get an update ready for the blog.

We're making great progress, and right now I'm working heavily on animals and then I'll be working on core gameplay like crafting and tools.  So this isn't some boring post, here's a teaser for the post that will be on the blog in about a week:


Thanks for reading, and I'll see you all in a week!

Wednesday, June 14, 2017

Colony_26 "Hotbar Equipment, Stone Biome, and plans"

Today was completely focused on equipment, more specifically: Hotbar equipment. Hotbar equipment is anything that is equipable in your hotbar. This is tools, notes, weapons, and traps.

The new stone pickaxe model:


In terms of actual programming, certain things can now be equipped and your character with his arms will bring up whatever it is you have equipped, and each equipable hotbar item comes with its own set of animations (No lazily shared animations)!

I've also implemented a new biome to the map: Stone. And even already attached the coal deposit to it. This biome will be for mining:


I also wrote about 180 lines of code for the mining system that I described yesterday, now I just need to make a tool to do it with.

I've also worked to change textures for a few items, and improved some of the original textures.

After I post this, I'm going to be focusing on figuring out how the player will acquire some of these tools (figure out a bunch of recipes), probably add a few items to the game and I also want to work on animals. As it currently stands there is only one animal in the game: a bird, and all it really does atm is move tree-to-tree and chirping now and then.

Thanks for reading, feel free to leave a comment, and I'll see you in the next one! :)