• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Is there an asynchronous event for when the app on mobile is minimized?

kamiyasi

Member
I'm testing my project on my Android tablet, and I noticed that if I minimize the project to go to the home screen, then pull it back up again, then gpu_set_texrepeat gets set to false, or at least it appears to.
I have 3D elements drawn using the buffer that use textures outside of the 0-1 UV space. When I minimize and maximize the app on the tablet, the texture region outside the 0-1 UV space changes to stretched lines of pixels. If there is an asynchronous event that can tell when the app is maximized, I can set gpu_set_texrepeat to true on a frame where this happens, which I have a feeling will likely fix this issue.
 
Top