Over the weekend I started playing around with the ability to drop from the bottom of the level so your character ends up on the top and I did the same with the sides. This should solve an issue I noticed in my first real playtest with other people because everyone would just sit on the bottom of the map and fight without ever jumping around near the top.
I then decided to make all of the players the same type of bomb to make sure there were no issues with the attack collisions, but doing this broke the little bit of a GUI that I started… I probably spent 5 hours racking my brain trying different ways to do that I could do it, but there seems to be an issue with the way I have everything parented. I have a PlayerController class which spawns the Player and I created a PlayerGUI class which the Player spawns when they’re created, but for some reason, when one player would get hurt, they would all lose health and gain score instead of just the two players that are involved in the dropping of the bomb and getting hit.
Another issue I found is that the Player Number (1-4) isn’t actually saving to the player’s object despite the fact that I’m clearly saving it when spawning the Player from the Controller class.
To temporarily solve this, I deleted all of my previous GUI info and just have the Player draw their number, health and score to the screen. This works up until the point where they “die” because the instance is deactivated and can no longer draw to the screen.
I’m basically going to need to retry the PlayerGUI class idea in some form, but I’m going to build a few test classes to see where it’s going wrong.
ALSO, shout out to the person who sent me my first penny at some point!! I was having some confidence issues after all of this and that little token of positivity was very much appreciated!! :D
0 comments