Game
Space Wars: Ship Battles
7 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

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Successful landing

#screenshotsaturday

Path of Kami: The Evolution of the Lore

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Horror WIP A track that will be featured in a future horror game soundtrack! Stay tuned!

Likes appreciated ✌️

#gamedev #composer #horrorgame #indiegame #IndieGameDev #soundtrack

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

Today I tackled drawing different variations of facial expressions for one of the main characters in Eden. What do you think of it? :) Eden: https://gamejolt.com/games/Eden/592698

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

Who's is this little cutey👸 here? Thanks🙏 for a gorgeous fanart @WheNa! Feel free to share your arts, screenshots, or videos with #playzelter or #zelter hashtags! #pixelart #animating #unity3d #animated #indiegames #unrealengine #animate #conceptart