We are proud to announce the release of the latest version of Gideros, Gideros 2016.8.1!
Download Gideros 2016.8.1!
An exciting feature of the new release is an automatic plugin export mechanism. As many of you will know, adding plugins to exported Gideros apps (eg to incorporate ads, analytics, game controllers etc) currently involves delving in to the "All Plugins" folder of your Gideros installation and manually copying files into the exported project. This is tedious and accident prone and means reading through complex docs like these. The new mechanism means Gideros can do this for you, just click on the "Select Plugins" button in the Export dialog and select the plugins you want (see screenshot).
The automatic plugins also make Direct APK export more useful as it was previously restricted to "vanilla" Android apps without plugins. Now you just select all the plugins you want using "Select Plugins" and everything is baked into the APK Gideros auto-generates! No need for Eclipse or Android Studio!
Currently automatic plugin export is only available for Android but we will add iOS later (for plugins Gideros doesn't yet export automatically, you can still do things manually as before).
Another great new feature is macros. Currently Lua has no constants, you just have to define variables like
Now you can define symbolic constants like this
pi @ 3.14159
and then simply use "pi" in the code as normal. When the Lua code is byte compiled, the constants are replaced with their literal values which saves CPU time. You can also do more advanced stuff like this.
pi @ |math.atan(1.0)*4|
Note the delimiters. And even,
-- macro definition
time_ @ |local _time_ = os.timer()|
_time @ |print("TIME:", os.timer() - _time_)|
-- macro usage
local x = 0
time_ for i = 1, 1e8 do x = x + i end _time
We've also <b>added bitwise operators to Lua</b>. I'll leave it to @SinisterSoft to explain these in more detail! (it's basically like in C or Java)
And our Lua now supports binary and octal number constants as Lua 5.3 does:
To deal with 64-bit integers Lua was extended with
int64 library. You can create int64 numbers from Lua numbers with
# prefix and convert them back to Lua numbers with postfix
() or to Lua strings with postfix
Here's the full list of additions and bugfixes:
Android Studio upgraded Gradle version
Gideros Studio non blocking export dialog with progress
Plugin installer now works with built in exports
added lots of plugin installer scripts for Android (Android Studio, Eclipse, APK exports)
allow providing default app and tv icons that are replaced on export for all supported platforms
allow providing default horizontal and vertical splash images that are replaced on export for all supported platforms
Upgrade to latest OpenAL sound library for better sound latency
shaders code can be supplied in-line from Lua
textures can be created from raw pixel data
global frame counter in Core.frameStatistics
Core.frameStatistics now returns table method to get shader language
TextField parameter for alignment: sample
RenderTarget can be saved to file
built-in macro support
bitwise operators with new metamethods
binary and octal number constants
print() is sent to logcat
correct requesting Open GL on desktop (due to upgrade to Qt 5.6: caused Gideros Player to crash on startup for some users)
lua and luac binaries compilation with mingw
particles are now visible after removed
Android player check file for null pointer when loading existing projects
Timer's behavior to run as set
Path2d texture positioning
[Controller] fixed Moga lib for Android 21
[Gaming Google Play] show all leaderboards support
[Gaming Google Play] step by step achievements handling on GMS
[Gaming Google Play] improved API for achievements
[Camera] initial alpha version for drawing camera texture in Gideros
We hope you enjoy the new version of Gideros!
Download Gideros 2016.8.1!