5:44pm - Well I'm down at the McDonalds again workin' on my stuff. I was pretty depressed early on today but I convinced myself to go out and get cheap gas for cheap gas day and also come to the McDoneru's for some good food and hard work.
Now, my current issue is a bug where the BrainChase brain reports seeing or not seeing each unit twice in a row. So it'll say it didn't see the player, then say it didn't see the player, then say it didn't see the next unit twice, and so on until it sees itself twice.
So, let's go into the code and see if we can't figure out why that's happening...
5:49pm - Okay so I'm actually looking at Reddit instead of working just now, and I looked to the side and ther was an ad saying "The cost of providing universal basic income will shock you!" with a pic of Trudeau on it. I don't see a lot of ads but Reddit is one of the sites that has ads that get through adblock since they started selling out. The ad broker, Taboola, has an x button on their ads that lets you report them for whatever so you see ads tailored more to you I suppose. I reported this one as offensive.
Who in the hell is paying for anti-UBI ads on Reddit? It really makes me angry. I guess the UBI is a hot button issue for me, especially since the Ontario PC government cancelled the UBI test project and abandonned all the people on it who they had told 'Go ahead and quit your crap job and go back to school or raise your kids or whatever! We've got your back!'.
Fuckers. :/
Anyways that's enough of a rant for the moment. Back to
6:18pm - Back to work!
6:22pm - I was adding the actor to the Actors list on the World in two different places. ^.^;;
Anyways I fixed that. And the sensing seems to work.
The next step is Pathfinding.
This is kind of a doosey.
The problem is that pathfinding may take more than a single frame and lock up the UI while the AI is thinking. I don't want that to happen. But, I don't want the enemies to move until they've got their path found.
So, that brings us back to Multithreading. The AI has to start a background task to find the path, and not process its turn until it gets it back, but it can't block the main thread.
I'm pretty sure I can do this, but I'll have to think about how, and I'm not sure I'm ready to do this kind of thing tonight.
6:54pm - If I wasn't having enough problems with my emotional state and my mental state, those darn teenagers are here again. They must live close to here or something. Anyways I think I'm going to head out since I can't do any research like this.
Bleh. Barely an hour and mostly spent on Reddit. Oh well.
Now, my current issue is a bug where the BrainChase brain reports seeing or not seeing each unit twice in a row. So it'll say it didn't see the player, then say it didn't see the player, then say it didn't see the next unit twice, and so on until it sees itself twice.
So, let's go into the code and see if we can't figure out why that's happening...
5:49pm - Okay so I'm actually looking at Reddit instead of working just now, and I looked to the side and ther was an ad saying "The cost of providing universal basic income will shock you!" with a pic of Trudeau on it. I don't see a lot of ads but Reddit is one of the sites that has ads that get through adblock since they started selling out. The ad broker, Taboola, has an x button on their ads that lets you report them for whatever so you see ads tailored more to you I suppose. I reported this one as offensive.
Who in the hell is paying for anti-UBI ads on Reddit? It really makes me angry. I guess the UBI is a hot button issue for me, especially since the Ontario PC government cancelled the UBI test project and abandonned all the people on it who they had told 'Go ahead and quit your crap job and go back to school or raise your kids or whatever! We've got your back!'.
Fuckers. :/
Anyways that's enough of a rant for the moment. Back to
6:18pm - Back to work!
6:22pm - I was adding the actor to the Actors list on the World in two different places. ^.^;;
Anyways I fixed that. And the sensing seems to work.
The next step is Pathfinding.
This is kind of a doosey.
The problem is that pathfinding may take more than a single frame and lock up the UI while the AI is thinking. I don't want that to happen. But, I don't want the enemies to move until they've got their path found.
So, that brings us back to Multithreading. The AI has to start a background task to find the path, and not process its turn until it gets it back, but it can't block the main thread.
I'm pretty sure I can do this, but I'll have to think about how, and I'm not sure I'm ready to do this kind of thing tonight.
6:54pm - If I wasn't having enough problems with my emotional state and my mental state, those darn teenagers are here again. They must live close to here or something. Anyways I think I'm going to head out since I can't do any research like this.
Bleh. Barely an hour and mostly spent on Reddit. Oh well.