понедельник, 30 января 2017 г.

среда, 25 января 2017 г.

Debris for explosion

After some tweaking with atlas introduced animated debris for explosion. Debris adds more realistic atmosphere to battle.





They animated, but has only 4 frames. For short lifespan it enough. Debris will be on screen only for 1 second.

Maybe debris should have trail for visual effect of explosion.


вторник, 24 января 2017 г.

HP bar now displays damage taken by armor

Developing live structures now visible. Hit point bar displayed and dimmed by shader by percent amount of damage taken


As seen in details - it only dims core texture to see it as 'damaged'.


One interesting thing happens. When I tried to set shader constant value from 0 to 1 it does not works. After some investigation I found valid range of (0,61..0,68). So strange behaviour.

But this hack works and I should move to next part of game. Maybe I do not understand how shaders handled in AppGameKit, but currently it enough to make special effects.

Some workaround is small price for ease of development.

воскресенье, 22 января 2017 г.

Enemy platform and laser tracking

Playing with laser shooting and tracking enemy platform added. Now turrets follow target and shoot at it.


As seen in previous image lasers look at target and shoot at once. I will introduce shooting time for every laser for more realistic gameplay (every laser is object, and should handle state of shooting for itself)

Basically turret logic for rotating and shooting is implemented. Now I can concentrate on making hit points and testing it with explosions (lasers should display their hp also)

When you implement all game logic by yourself in procedural language, then you found yourself writing old fashioned OOP code over procedures/structures.

This level of control is good for understand what happens and where. I select AppGameKit because of it. In Unity my game made too complicated to keep in mind and UML diagrams does not solve problem, because code is evolving but keeping diagrams in line is tedious.


понедельник, 9 января 2017 г.

Placing basic lasers on ship

After some research, I found tinypng.com and it decrease size of images drastically. (up to 79%)

Added lasers as objects and placed it on ship. Remember old good times when I should restart game/app to see some small changes. And this loop gives feedback needed for development continues

Lasers controlled by basic script. AGK is very procedural, but games is data driven anyway.

Good OOP practice is good for large team. It has it's own price - support this scaffold can be tedious and error prone. And after some time you can forget details. So you should write UML diagrams and update it with code. This applicable to Unity and Unreal.

KISS (Keep It Simple Stupid) principle shines in all perfection - simple code written faster and has less bugs, and I can remember what it does only looking on it, not at all these UML diagrams.

This can be ridiculous to tweak small amount of pixels, but it very satisfying. Game development now shines again with this immediate feedback. And I have sense of programer, not only designer. So good sense of control.

пятница, 6 января 2017 г.

Basic lasers with movement and shot

Introduced tracking of mouse cursor for laser tower. Displayed laser shot from laser tip towards mouse.

Simple game needed to be created in simple tool. Unity too heavy for my small game. On AppGameKit I made this cannon in hours. Will look how much hours will be spent on making it with AI.



понедельник, 2 января 2017 г.

Introduced animated menu

Menu shows animated from right.

AppGameKit is easy to start with. Hope it helps me make me this game faster.

Now it shows highlighted when mouse hover over button. AGK is very programer friendly, but not for designers.

Pressing with highlighting and particles spawned.

I think, that something should be animated on menu. So it will be ships with random weapons and after introducing battle mechanics - small battle simulation (automatic)

воскресенье, 1 января 2017 г.

First steps with AGK

Defold is great engine, and I like it, but AppGameKit I use for year now and it pretty good also.

As you can see - logo developed in two hours looking good.

![](https://n3b6p5n5.ssl.hwcdn.net/data/fireside/posts/3/146/214896/media/logo_35-hm2htpzu.png)

Demo online http://gamejolt.com/games/boomtrix/65677