Tuesday, 17 October 2017

CoffeMonster day 4

Another day, another evening, with each next tick of clock, less and less time left for work on Tech Demo 2 and there is so much to do...  Last weekend  - fighting with some physics bugs and adding additional unit tests which resulted in another bunch of code fixes... Yesterday evening -  improvement to editor controls ... Today ...

Improved axis selection visual feedback.
Grab with alignment
Improved rotation gizmo.
At this moment I feel a little bit disappointed that I won't be able to push everything into TD2. Well as one person team I cannot help too much with this... I taking another slip of mead ... it is so good.

... hmm this is good question what I will be working Today. Input system ? Gui ? Maybe both. There are three closely related problems I would need to tackle:
  1. Blocking of input propagation outside current state.
    Test case: You are in inventory and when pressing escape to quit it you end in game menu.
    Expected behaviour: You should press escape button twice so this happen
     
  2. Detecting which device is currently use.
    Expected behaviour:
    When you use Gamepad it is active but then when you start using mouse&keyboard it switch as active.
  3. Action buttons display in GUI
    Test case: Use mouse or keyboard - icons should display different icon.
    Expected behaviour: Icons should change depending on currently active device.
Not the most exciting tasks but I know they are needed so time to start working on it ... TD2 coming this weekend - there is no time to waste.

This time really short and I probably should apologies for that but I won't :D  With TD2 coming I'm really busy and limited with time but still wanted to give you some update. You hanging around project even when it is not always easiest thing to do so you deserved it.

Greg
Straight from TD2 battlefield.

Sunday, 8 October 2017

CoffeMonster day 3 -TD2 release date

There was plenty of time I thought, no worries but here I standing in front of dilemma: announce release date for TD2 in week or two. This sounds like not a lot but I gaining extra weekend to do stuff... I will play safe. Next post will announce 

TD2 will be release at 22 October 2017.

Even knowing that this is right thing to do I regret somewhere inside that I didn't wrap everything for 15 October. But now it's to late to think about this.


Now only thing that left is to polish what I have. First on my list is slightly annoying problem with small glitch when stepping on obstacles. I right away jumping into investigating what happening there. Issue look simple: disabling some collision when do step up animation not working exactly how I want time to experiment with different approaches. At first nothing come to my mind by then maybe I should try to scale character capsule? Hmm ..Worth trying.. 2 min later I have hacked my way in code to achieve this. Time to see how it will work .

Game starting on my screen... moment later I'm already testing stuff. Running around and trying to reproduce issue but something is still wrong. I need to check physics debug view.


Pressing button to open console and f... I forgot. Console no longer works :/ I broke it long time ago when I remove Lua from core of engine :/ then I broke it even more when I introduced new input system. I could hack debug view in code this would be really simple but console is really useful in testing different features. Second dilemma this day: hack my way or do it properly ? Ehh .. lets do it properly how long it could take to fix it?

Now that I look in past I knew answer from start and I'm not even surprised with answer.

Few hours later after:
  • adding code that parse commands, 
  • unify it between different parsers, 
  • writing around 50 unit tests, 
  • fixing few bugs that shown in unit tests,
  • going for dinner and shopping,
  • cleaning up some of code,
  • writing more unit tests,
  • fixing few more bugs,  
and it finally works.

It's past midnight... I'm little bit tired but still happy with results. In the end I think it was worth it to put all this effort into this feature.



In the end I never got to fix game play issue but I also know that tomorrow is also day and all this stuff that I done today will help me make more progress then. I turned off my computer went to bed.

See you next time.
Greg