Yue Posted July 31, 2017 Share Posted July 31, 2017 logLW = Texture:Load("Logos/LeadWerks.tex") -- Logo LeadWerks. oldTime = Time:Millisecs() while Time:Millisecs() < oldTime + 5000 do if ventana:Closed() == 100 then return false end lienzo:DrawImage(logLW, lienzo:GetWidth()/2-241,lienzo:GetHeight()/2-73) lienzo:Sync() end logLW:Release() lienzo:Sync() The previous code shows for a moment before moving to the load bar of the stage. The idea is to delete the image when exiting, however, entering the loading bar of the image is still displayed. Any suggestions? Quote Link to comment Share on other sites More sharing options...
macklebee Posted July 31, 2017 Share Posted July 31, 2017 If that code is in your game loop, then oldTime will never be 5 seconds more than the current Time:Millisecs(). 1 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
GorzenDev Posted August 1, 2017 Share Posted August 1, 2017 have you tried context:Clear() ? undocumented somehow... at the start of your loop. context:Clear() in your case lienzo:Clear() 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.