12:45pm - I wasn't exactly descriptive at the end of my last work post, was I? Actually I'm pretty sure the problem is that the game enters an infinite loop when the player is dead, where it's still the player's turn but the player isn't alive...
Well I'll take a look and see.
12:56pm - Yeah that's all it was. I did some tinkering and got it to seperate the player death and treat it differently from non-player deaths. Now I'm going to implement a game over dialog.
1:39pm - Well this is really perplexing. When I run my restart_game method, I start by iterating over the actor_list and removing all the actors from the scene, right?
Well for some reason it's only iterating over all but one. It's using the for i in j format so it should be doing every entry in the Array j but it's not, and I can't figure out why. I've used some logging to determine that the array is indeed the right length and contains all the expected values. It's just not being covered in the iterator for some reason, and I can't seem to figure out why.
1:46pm - I fixed it by pulling the removal of the actors from the arrays out. Instead, I just clear the arrays afterwards, since they'd need to be empty then anyways.
It doesn't stop the error I was getting before that, though. I'll have to investigate it more.
2:11pm - I solved the error I was getting. It turned out that the new GreenEnemy instances were finding the old player who hadn't been freed yet when they searched the player group. I fixed it by having them take the last entry in the Player's group instead of the first, so it would logically be the latest one created.
Now everything works again.
3:06pm - I was feeling a bit tired of working, so I took a break to talk to my roomie. I'm back now but I still feel tired of working, but I don't feel like playing either. Vexing.
3:48pm - Still struggling to do anything.
6:13pm - I was able to play some video games for a while, then I talked with friends some. Now I'm trying to decide what to do next.
One of the things on my todo lists is "Experiment with 3D Platformers" and I've mostly been waiting to get a model to practice with from my friend Bouch but I could probably mess around with the blue crash test dummy looking guy I found around that time too... I'm not sure I want to do that anymore than I want to work on my Roguelike Project though.
9:22pm - Spent some quality time with my roomie, and remembered why I was so keen on experimenting with 3D platformers before. It was because I was inspired to try making a multiplayer 3D platformer for my friends and I, and maybe a bigger multiplayer experience to test what was possible.
5:53am - I crashed hard around 10pm when I realized I was having trouble staying upright. I did a bit of research on Godot's networking system, but I was too tired to really absorb anything. Next time!
Well I'll take a look and see.
12:56pm - Yeah that's all it was. I did some tinkering and got it to seperate the player death and treat it differently from non-player deaths. Now I'm going to implement a game over dialog.
1:39pm - Well this is really perplexing. When I run my restart_game method, I start by iterating over the actor_list and removing all the actors from the scene, right?
Well for some reason it's only iterating over all but one. It's using the for i in j format so it should be doing every entry in the Array j but it's not, and I can't figure out why. I've used some logging to determine that the array is indeed the right length and contains all the expected values. It's just not being covered in the iterator for some reason, and I can't seem to figure out why.
1:46pm - I fixed it by pulling the removal of the actors from the arrays out. Instead, I just clear the arrays afterwards, since they'd need to be empty then anyways.
It doesn't stop the error I was getting before that, though. I'll have to investigate it more.
2:11pm - I solved the error I was getting. It turned out that the new GreenEnemy instances were finding the old player who hadn't been freed yet when they searched the player group. I fixed it by having them take the last entry in the Player's group instead of the first, so it would logically be the latest one created.
Now everything works again.
3:06pm - I was feeling a bit tired of working, so I took a break to talk to my roomie. I'm back now but I still feel tired of working, but I don't feel like playing either. Vexing.
3:48pm - Still struggling to do anything.
6:13pm - I was able to play some video games for a while, then I talked with friends some. Now I'm trying to decide what to do next.
One of the things on my todo lists is "Experiment with 3D Platformers" and I've mostly been waiting to get a model to practice with from my friend Bouch but I could probably mess around with the blue crash test dummy looking guy I found around that time too... I'm not sure I want to do that anymore than I want to work on my Roguelike Project though.
9:22pm - Spent some quality time with my roomie, and remembered why I was so keen on experimenting with 3D platformers before. It was because I was inspired to try making a multiplayer 3D platformer for my friends and I, and maybe a bigger multiplayer experience to test what was possible.
5:53am - I crashed hard around 10pm when I realized I was having trouble staying upright. I did a bit of research on Godot's networking system, but I was too tired to really absorb anything. Next time!