10 months ago

I've been making AI for my game for over a month. It was a long and difficult process, I even lost several kilograms. The result is on the GIF. In my opinion it turned out very well, although not perfect


The main thing is that all this brings me pleasure, coding is probably exactly what I wanted to do in my life



2 comments

Loading...

Next up

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

I recently started developing my first game to improve my programming skills. In this 2D game you need to control a tank and destroy other tanks. I'm currently adding various features to the game. This game doesn't have a name yet

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

Happy Video Game Day! 🎮

Celebrate by completing our quests!

(They'll be in your quest log until September 19th.)

I improved my old tank control code. It used to be 400+ lines, but now it's only 66. Only 66, Carl!

This is very cool, but while I was rewriting my code, many bugs appeared, for example, when I clicked on WASD, I controlled all the tanks at once (GIF)

@GabrieleGiuseppini has added exclusive Floating Sandbox avatar frames, stickers, and backgrounds for all of you!

Set sail to the shop and collect 'em all! https://gamejolt.com/#shop

#gjbroadcast

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!)

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)

Happy #WIPWednesday!

Are you working on a game?

Making some art?

Practicing a song?

Something else?

Tell us in the comments!

#MinecraftMemory The last 5 seconds of my life