Thursday, March 31, 2016

Dev talk #1

Hi!
Today, I want you tell you about dev progress, but not like in changelog or new feature announcement. I want, well, just talk about what I'm doing. 

So, let's start with present day. This morning, I started to migrating a whole lot of functions from one of the core scripts - Game Controller to other scripts. But everything started with player controls. I have created brand new script - Player Input that holds every player control (manual or AI). This script sends data to old player controler.

This way, I can have one prefab with two scripts (later, I needed separate prefab for single, coop and versus player models) that can be quickly changed and upgraded, and because reworked Game Controller is responsible for telling a player object, which player (single, coop, versus and in future - online) it is, I don't need to remember to change settings in every player every time I apply changes to player prefab.

Because of changes I mentioned above, I needed to clean-up game controller and make new controller-like objects: GUI controller and audio controller. GUI controller still needs some tweaks to boost its efficiency and audio controller will be developed in future, when I will be implementing new music and reworking sound.

But for now, I will focus on those damn textures. I also need to implement local co-op to the end. I need GUI panel for co-op player to display his stats. I am also going to create friendly AI to play with.

What about multiplayer? Not very soon. First thing I need to add is account management and stats and options saving. Then, I will be thinking about some kind of a multiplayer.

ps. I just have started messing with sql databases ;-)

No comments: