Game
Space Wars: Ship Battles
6 years ago

Progress on bots in Space Wars: Ship Battles


Originally released Aug 20th 2018

Something more than a week ago, I made a post on how I would add bot support to Space Wars: Ship Battles, and I have been silent ever since. This might have led you to think I abandoned this project, but that’s not the case. I have been busy implementing the bots, but have encountered quite some problems. So here are some things I have encountered.

Navmesh not working

In my post I talked about that it would be much easier because I was using unity, and that has the Navmesh which handles the pathfinding for the bots, but it didn’t work. So I actually had to implement A*, and it was buggy as hell, so (after a few days) I switched back to the Navmesh, and it worked.

Teleporter not working

As you might know, the way for players to move between ships is to walk into a teleporter, but bots didn’t like that. What I tried was to tell the bots:

if you are on your own ship, and you want to attack, then move to the teleporter, and if you are on the enemy ship and want to attack, then walk between waypoints (this is just temporary)

But it didn’t work, so I replaced the teleporter with some weird tunnel between the ships, and then removed the code for telling the bot to first walk to the teleporter and made it so it would just walk to the waypoints, and that worked. I then removed the weird tunnel, but made it so that the bots still think it exists, while it actually walks into the teleporter (which is on the path between the ships), and it just teleports to the enemy ship, and then walks between waypoints.

So this is what I’ve been busy with over the past week and a half.



0 comments

Loading...

Next up

Successful landing

#screenshotsaturday

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

A sneak peek at the new OST, can you guess what this song will be used for? 🤔

It's old and it glows. Experience the nostalgic tile-matching puzzle game in it's new glory!

Game : https://gamejolt.com/games/colortris/499578

ColorTris gameplay - Peach squares

______________________

Music : https://soundcloud.com/the-musical-ghost/ghost-kozmos-tetris-the…

Ladies & gentlemen.. The Blender logo factory! I had a ton of un making this animation. I'll be making a short tutorial on picking up/dropping object in Blender for animations next week! What do you think?

Aston Martin Vantage 2019

Day 4, Achieved

#AstonMartin #FastChallenge #speedmodeling

Let's gooo! Sub-15 minutes achieved thanks to a new skip found by @mazou !

My new Endfall demo Any% world record is 14:48! Used safe strats and got too excited here and there, but I'm satisfied. Thanks to @ElPichon for the game, and y'all beat my time! ;D