-
Notifications
You must be signed in to change notification settings - Fork 8
The LGTextObject
Grisgram edited this page Sep 14, 2025
·
2 revisions
This is a small object which acts as the parent for all UI controls.
It offers a text property which gets automatically resolved through LG when the object is created.
The reason, why we spend this object its own wiki page is the function it offers:
/// @func LG_reapply()
/// @desc Re-evaluates the original LG string provided when this object
/// has been created.
/// As LG string can contain variables it might be useful to be able
/// to refresh/update the content.
LG_reapply = function() {So, if your LG-string contains variables that might change, just call LG_reapply() to evaluate the LG string again, just as if this object has been newly created.
Raptor free: Animation ● StateMachine ● Files(Sync) ● Macros ● Logger ● Controllers ● LG Localization ● Particle Effects ● Tools, other Objects and Helpers
Raptor pro: RACE (The Random Content Engine) ● Savegame System ● UI Subsystem ● Shaders ● Files(Async) ● RichJson ● Scriptor
Back to Repo ● Wiki Home ● Copyright © coldrock.games
- Home
- Working with raptor
- Create a Game
- raptor's object model
- Macros
- Logger
- Controllers
- StateMachine
- Animation
- Particle Effects
- LG Localization
- Interfaces
- Tools, other Objects and Helpers
Raptor Pro Modules