понедельник, 19 октября 2015 г.

Night highlight for ship and modules

Power-lines highlight
Decide to make my ship more interesting on night and add highlight of power-lines with animation to it.

Now when night falls you can see your modules. Thinking about adding highlight to enemy as well. But will make it as game mechanic - use energy and reveal enemy with hi-tech radar (not only types, but additional information)

You can see it in action:


Dynamic enemies
I eventually understand, that dynamic ships is more interesting and can add spice to game. And implementing them by hand is very tedious also.
So, after some tweaking I introduced code to make ships dynamically with design which module can be placed to which slot.





This new logic extend gameplay and increase content in game from 24 ships to hundreds.