GUI Help and Tips

From TorqueWiki

Jump to: navigation, search

Problem: when using GuiBitmapButtonCtrl.setBitmap(), the application is very slow (e.g animations are not played fluently)

Solution: It seems that changing the texture of a BUTTON uses up too many resources. In this case use a normal GuiBitmapCtrl and a GuiMouseEventCtrl for button functionality instead.


Problem: When changing the game resolution the rows of GuiFrameSetCtrl are changing as well.

Solution: In GuiFrameSetCtrl the field autoBalacing must be set to true!!

Personal tools
Games
Game Development
Modeling for Torque
Torque Game Builder (2D)
Console