Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Adding a Interact Pop UP but now i got bugs...

Hello all Jacob here, This week I worked on the Pop up for interaction. The problem with it was that the pop-up wouldn't work consistently. I would look at an object to interact with it and it would show up and then shut off, which is fine but when I looked at another object it wouldn't work. My thought process was to put text and image in an empty game object so that can it be turned off, turned on, and moved easily.  Starting it worked but then the next object it would fail and then break.  I added an offset and string message so that it can change on the fly. Another problem we ran into this week was GitHub issues and which we solved by making a new branch off the last commit that had a functional game I had to redo my UI across the scenes so that they all matched up and jeez it was rough but fixed now.





The solution I figured out was to hide the gameObject and hide it and just have it teleport to the object you are looking at and update the text with the message needed next to the E icon to interact with the object then when you look away just teleport back to a hidden transform so that the game object isn't turned off and on but rather just moved and updated with the text on the fly.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.