by John | Jan 14, 2024 | DevBlog
Updated some of the NPC AI stuff. I have to think this out a bit better, but for now it’s okay. Essentially, I made it so the ship will detect the player when within range and will come after him. No firing or anything like that yet. It’s more like a stalker at this...
by John | Jan 13, 2024 | DevBlog
I wanted to get the NPC ships into the game so I could see a little life happening. There was some old AI code I’d used that still works fine, but it’s not the best. Definitely needs work, but it’s a start. Also hooked it up so the NPCs appear on the mini-map. The...
by John | Jan 8, 2024 | DevBlog
Now that the basic map junk is done, including the ability to select travel routes, the next step is to make it so the ship can actually fly from one sector to another without the player’s input. Enter Hyperspace! Essentially, the goal here is to do the following...
by John | Jan 7, 2024 | DevBlog
Thought more about the map and how you would want to build up a click path. I don’t want there to be too many path jumps, so I’ve limited it to 3. But, hey, it’s 3 and that’s better than 1! This was a bit tricky because of how I’m doing all the path drawing. I ended...
by John | Jan 6, 2024 | DevBlog
Jumping on the back of being able to load in the universe and sector maps from JSON, I wanted to build out the view when the player pulled up the map. This way they’d see where they are in the massive cosmic landscape so they could plan their travels accordingly. I...