java - Libgdx | How to render game when not in focus? -


how render , update game on desktop when i'm not clicked on game window? want render, in background. thanks!

wyatt, in game's main class, override pause(). if main class implements applicationlistener, done automatically. remove super.pause() within override , game render in background.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -