1 year ago

So I made a smart aiming of the tank turret at a moving target. This required a long mathematical formula, but it did not affect the optimization (I used 1500 tanks on one screen and there were no lags!)




3 comments

Loading...

Next up

I decided to do a tank race to test the AI. Participants: 4 bots and me (gray tank)

Now the tank turret rotates realistically - at different speeds, depending on the movement of the tank. I tried to do this before, but it turned out very poorly and strange things happened

(Tank turning speed increased by ~4 times)

#MinecraftMemory The last 5 seconds of my life

yes... Spiritwell is still being worked on...

I am developing my own game engine. Currently, I am adding a graphical user interface. Later, I plan to create games and applications using this engine. The screenshot shows two buttons and a text input field with their colliders (red rectangles)

A new batch of screenshots is ready for Thursday's Harpies Update. Here's a little sneak peek at the new Manufactory building.

Rotation of two different types of tanks.

Next, I should improve their aiming, since at the moment tanks cannot hit a moving targets. Well, I think it won't be difficult to make smarter aiming. I hope

First AI tests

At the moment, bots are like zombies - they follow the player and can avoid obstacles in their path, but they don’t always succeed

They are very stupid, but I will try to make them smart

Some rooms will conceal unpleasant things

I added a new type of tank to the game - self-propelled artillery. It does not have a turret and the rotation angle of the barrel is limited. It deals more damage per shot, but has low speed.

I also improved some parts of the game (see article)