1 year 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

Previously, bullets could ricochet an infinite number of times and it looked very strange, but now I have limited the number of ricochets and it looks more realistic

#MinecraftMemory The last 5 seconds of my life

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

Last week at LVL UP EXPO, we celebrated great games made by Jolters including Baldi's Basics Plus by @BasicallyGames !

Buy it on Game Jolt: https://gamejolt.com/games/baldis-basics-plus/481026

Thanks to Razer for providing the laptops and peripherals!

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

Quests inspired by @WhitethornGames ' Spray Paint Simulator entered your quest log!

Bring color to the world! Restore worn-out surfaces with a fresh coat of paint & watch them come back to life.

Play the free demo to get started: https://bit.ly/spraypaintsimdemo

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)

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

Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!

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