Difference between revisions of "Core"

From GiderosMobile
m
Line 45: Line 45:
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
 
|}
 
|}
 +
 +
{{GIDEROS IMPORTANT LINKS}}

Revision as of 13:55, 30 January 2020


Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2012.2
Inherits from: Object

Description

Gideros Core functions.

Examples

MySprite = Core.class(Sprite)
--my custom sprite class
function MySprite:init()
end

Methods

Core.asyncCall Launch function on separate thread as background task
Core.class Creates and returns new Gideros class
Core.frameStatistics Return table with data about frame
Core.profilerReport Output profiling results
Core.profilerReset Clear recorded profiling data
Core.profilerStart Start profiling lua code
Core.profilerStop Stop profiling
Core.random Generate a random number
Core.randomSeed Set the random generator seed
Core.yield Yield function running as background task

Events

Constants