Haden2 / Spectrum

A horror game under development
0 stars 0 forks source link

Pick up item text #5

Closed Haden2 closed 9 years ago

Haden2 commented 9 years ago

Activates when walking into sphere. Stays activated however.

Haden2 commented 9 years ago

I can fix this by creating another variable 'blank' and setting that to equal 0 color. I have done this so now the code with say if I am not touching the pickup tag, return the message to blank. I can surround the sphere with objects that dont have the pickup tag so it goes away.

Haden2 commented 9 years ago

Created four planes around the sphere so the text goes away when backing away from the object. Not the most effective way in the world because I know there is code to do this, but it works. Sooo...

thomas-j-sell commented 9 years ago

It seems very wasteful to create 4 extra objects to deactivate the text. At this point in the project I suggest we find a simpler solution since this will likely come up a lot more. It's easier to get it right now then re-do it a bunch of times later.

Haden2 commented 9 years ago

Yeah, you are right. I actually just need to look back at the tutorials, but I was just trying to fix the issue as soon as possible because it was taking me a long time to get around to it.

thomas-j-sell commented 9 years ago

That's fair. The balance between doing it right and doing it fast is always hard to get right.

Thomas Sell

On Feb 8, 2015, at 10:49 AM, Haden2 notifications@github.com wrote:

Yeah, you are right. I actually just need to look back at the tutorials, but I was just trying to fix the issue as soon as possible because it was taking me a long time to get around to it.

— Reply to this email directly or view it on GitHub.

Haden2 commented 9 years ago

DONE! The four planes are gone and the code works. Moving on to the next thing now.