Problem with the Inventory PopUp
Author: Ethan Ortega
Problem: Initially the popup would display when the player interacted with a collectible but I was reworking it to also display with all inventory items. Through this, the problem arose of the text that was being displayed being overridden when you collected multiple items at once. This was due to the items not being cued to be displayed. Originally the animation wouldn't wait to be finished before starting the next one.
Solution: I decided to rework how I was displaying the text by first making a queue. When the function was being called, the item that was being interacted with was inserted into the queue. When there was more than one thing in the queue, it would check if there was an animation already playing. It would constantly check if there were things in the queue and if so it would check if there was an animation occurring to display the text. If there's not, it can play and display the animation for the item at the front of the queue. If there is something in the queue and an animation is playing, that item would wait for the animation to be finished before it got displayed.
Shutdown
Status | Released |
Authors | TheSenate2002, ekicks0, Vrixic, CameronEuston, Boomishhe, mditcharo |
Genre | Puzzle, Adventure |
Tags | First-Person, Singleplayer |
Languages | English |
More posts
- The FinallyApr 27, 2023
- Post Mortem VideoApr 27, 2023
- Fixing issue with Hud not being validApr 27, 2023
- Finalization of GameplayApr 27, 2023
- Circuit Puzzle ChangesApr 27, 2023
- Touching Up SoundsApr 22, 2023
- Level MusicApr 22, 2023
- Getting people to play the gameApr 21, 2023
- Tuning the Lighting in Level 3Apr 21, 2023
- Static Mesh Mass ScaleApr 21, 2023
Leave a comment
Log in with itch.io to leave a comment.