Difference between revisions of "Core"
From GiderosMobile
Line 13: | Line 13: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
− | [[Core.asyncCall]] ''<translate>Launch function on separate thread as background task</translate>''<br/> | + | [[Special:MyLanguage/Core.asyncCall|Core.asyncCall]] ''<translate>Launch function on separate thread as background task</translate>''<br/> |
− | [[Core.class]] ''<translate>Creates and returns new Gideros class</translate>''<br/> | + | [[Special:MyLanguage/Core.class|Core.class]] ''<translate>Creates and returns new Gideros class</translate>''<br/> |
− | [[Core.frameStatistics]] ''<translate>Return table with data about frame</translate>''<br/> | + | [[Special:MyLanguage/Core.frameStatistics|Core.frameStatistics]] ''<translate>Return table with data about frame</translate>''<br/> |
− | [[Core.profilerReport]] ''<translate>Output profiling results</translate>''<br/> | + | [[Special:MyLanguage/Core.profilerReport|Core.profilerReport]] ''<translate>Output profiling results</translate>''<br/> |
− | [[Core.profilerReset]] ''<translate>Clear recorded profiling data</translate>''<br/> | + | [[Special:MyLanguage/Core.profilerReset|Core.profilerReset]] ''<translate>Clear recorded profiling data</translate>''<br/> |
− | [[Core.profilerStart]] ''<translate>Start profiling lua code</translate>''<br/> | + | [[Special:MyLanguage/Core.profilerStart|Core.profilerStart]] ''<translate>Start profiling lua code</translate>''<br/> |
− | [[Core.profilerStop]] ''<translate>Stop profiling</translate>''<br/> | + | [[Special:MyLanguage/Core.profilerStop|Core.profilerStop]] ''<translate>Stop profiling</translate>''<br/> |
− | [[Core.random]] ''<translate>Generate a random number</translate>''<br/> | + | [[Special:MyLanguage/Core.random|Core.random]] ''<translate>Generate a random number</translate>''<br/> |
− | [[Core.randomSeed]] ''<translate>Set the random generator seed</translate>''<br/> | + | [[Special:MyLanguage/Core.randomSeed|Core.randomSeed]] ''<translate>Set the random generator seed</translate>''<br/> |
− | [[Core.yield]] ''<translate>Yield function running as background task</translate>''<br/> | + | [[Special:MyLanguage/Core.yield|Core.yield]] ''<translate>Yield function running as background task</translate>''<br/> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 16:34, 23 August 2018
Supported platforms: mac, pc
Available since: Gideros 2012.2
Description
Gideros Core functions
Examples
Example
MySprite = Core.class(Sprite)
--my custom sprite class
function MySprite:init()
end
MethodsCore.asyncCall Launch function on separate thread as background task |
EventsConstants |