Code in simple Lua language using Gideros IDEģ. This results in high performance apps and gamesġ.Lua runtime machine converts the callbacks to C++ functions and.Scripting language powered by Lua, 10th most widely used computer.Gideros Studio has a layered architecture.– Much easier to learn for Flash developers The scripting logic is similar to Action Script.New developers, who always wanted to write a game but bouncedīack by technical difficulties, learning curves and high investment.Ex-Flash developers who find it difficult to learn new technologies.Teachers providing courses related to mobile development.Focus on the application design and logic, not technical hurdles.Measure your application with built-in analytics.Once codebase: develop once, publish everywhere.Benefit from native performance of the device with OpenGL.Tools and utilites that comes with Gideros Studio.set mouse state, where index: 0 - left mouse, 1 - right, 2 - middle, 3 - unused, 4 - unused. sets mouse position (data only, no visual changes) IO: setKeysDown(key_code, bool) - "key_code" is a gideros regular "ke圜ode" - adds text to active text input widget IO: setModKeyDown(key_code, bool) - "key_code" is a gideros MOD key - set any key state set ALT/SHIFT/CTRL/SUPER (META) key state reset key states (including ALT/SHIFT/CTRL/SUPER (META)) Number = IO: getMouseDownSec(mouse_button) Number = IO: getMetricsActiveAllocations() IO: setConfigWindowsMemor圜ompactTimer(number) Number = IO: getConfigWindowsMemor圜ompactTimer() IO: setConfigWindowsMoveFromTitleBarOnly(bool) IO: setConfigWindowsResizeFromEdges(bool)īool = IO: getConfigWindowsMoveFromTitleBarOnly() IO: setDisplayFramebufferScale(number, number)īool = IO: getConfigInputTextCursorBlink()īool = IO: getConfigWindowsResizeFromEdges() Number, number = IO: getDisplayFramebufferScale() Number = IO: getMouseDoubleClickMaxDist() IO: saveIniSettings() - if path is not defined the it uses default path, which is set by IO:setIniFilename() Dir)įlag = Style: getAntiAliasedLinesUseTex()Īlpha = Style: getDisabledAlpha() DEFAULT STYLES Dir)ĭir = Style: getWindowMenuButtonPosition() Style: setWindowMenuButtonPosition(ImGui. X, y = Style: getDisplaySafeAreaPadding() Value = Style: getTabMinWidthForCloseButton() Style: setTabMinWidthForCloseButton(value) Col, color, alpha)Ĭolor, alpha = Style: getColor(ImGui. Stage: addEventListener( "ke圜har ", function( e) UI: onKe圜har(e) end) Style setters/getters Get style settings instance Stage: addEventListener( "keyDown ", function( e) UI: onKeyDown(e) end) Stage: addEventListener( "keyUp ", function( e) UI: onKeyUp(e) end) Stage: addEventListener( "touchesEnd ", function( e) ui: onTouchEnd(e) end) Stage: addEventListener( "touchesBegin ", function( e) ui: onTouchBegin(e) end) Stage: addEventListener( "touchesMove ", function( e) ui: onTouchMove(e) end) Stage: addEventListener( "touchesCancel ", function( e) ui: onTouchCancel(e) end) Stage: addEventListener( "mouseWheel ", function( e) UI: onMouseWheel(e) end) Stage: addEventListener( "mouseUp ", function( e) UI: onMouseUp(e) end) Stage: addEventListener( "mouseDown ", function( e) UI: onMouseDown(e) end) Stage: addEventListener( "mouseMove ", function( e) UI: onMouseMove(e) end) Stage: addEventListener( "mouseHover ", function( e) UI: onMouseHover(e) end) ImGui: pushFont(font) - font (table): object returned by FontAtlas:addFont(.) or FontAtlas:getFont() W, h, x, y, glyph_id, offset_x, offset_y, font, is_packed_flag = FontAtlas: getCustomRectByIndex(index) Number = FontAtlas: addCustomRectFontGlyph(font, id, width, height, advance_x ) Number = FontAtlas: addCustomRectRegular(width, height) Table = FontAtlas: getFonts() - returns a table with all fonts (included default) options (table): all parameters are optional - fontDataOwnedByAtlas - bool - pixelSnapH - bool - mergeMode - bool - fontNo - number - oversampleH - number - oversampleV - number - glyphExtraSpacingX - number - glyphExtraSpacingY - number - glyphOffsetX - number - glyphOffsetY - number - glyphMinAdvanceX - number - glyphMaxAdvanceX - number - rasterizerFlags - number - rasterizerMultiply - number - glyphs - table: - text(string): represents avaliable chars - chars(table): list of specific char code (example: įont = FontAtlas: getFont() - get font by index (if index is 0 or nil you will get default font instance)įontAtlas: build() - call after multiple FontAtlas:addFont(.) calls to update ImGui font atlas Font = FontAtlas: addFont(ttf_font_path, font_size )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |