Saturday, November 7, 2015

New logic for moving enemies

I was having an issue where moving the enemies was causing a ton of lag. They way I originally did it was by having all the enemies look for players around them every frame and if there was a player near them it would start to move.

I'm now making it the opposite. As the player moves around, it will call the Move() function for every enemy near it. This should make it a lot less laggy:)

Wednesday, November 4, 2015

So many issues with cells

I've been working on getting the cell system working and it's being really difficult. For some reason the enemies can't see players when they get near and I have no idea. It's been taking me a while to figure this out, but once I finish I'll be adding a new game element. It completely changes how the game plays and I'm super excited for it! Expect updates around next week.