Skip to content
Snippets Groups Projects
Commit f3cd48b4 authored by dg's avatar dg
Browse files

Increased UI display speed. LogFlasher, LogDisplay, HotkeysDisplay,...

Increased UI display speed. LogFlasher, LogDisplay, HotkeysDisplay, ActorsSeenDisplay, Tooltip and PlayerDisplay classes have changed and are now easier (and faster) to use. Converting is easy:
 * In your Game:display() change lines like self.log:display():toScreen(self.display_x, self.display_y)
 * to simply: self.log:toScreen()
 * To convert your own PlayerDisplay have a look at ToME's one, but basically you just need to create a texture with :glTexture() and then update it at the end of yoru display() and add a new toScreen() method


git-svn-id: http://svn.net-core.org/repos/t-engine4@1174 51575b47-30f0-44d4-a5cc-537603b46e54
parent db497bff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment