Game
little bombs
8 years ago

“Teleporting” and Issues


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

Loading...

Next up

I just realized I never posted an announcement here when I released my first early access build! Anyways, little bombs is now available for download in its very early access state!

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Shadow The Hedgehog X pixel art

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

What do you think guys in my robot?Just a beginner in 3d modeling..

My instagram https://www.instagram.com/rojhonbb/

I-Buki

Mio-Da!

Ibuki Mioda!

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays

I mostly build 3D First Person Shooter game mechanics in Unity, and in this I'm just showing C4 mechanics I made for a little side project I am working on! :)