Guys, we've had to withdraw this release owing to serious errors where Gideros cannot run correct Lua code in some cases. This seems to be due to a "power patch" which we included to upgrade the Lua language. However, it seems this has broken Lua! We have now removed this from the code base and will create a new version (2016.8.1) in the next few days. Sorry about this, we bit off more than we could chew in trying to "improve" Lua. Thanks for everyone who let us know about the problems. Please continue to use 2016.6 for now, or, if you have 2016.8, please treat it as a beta test. We'll get a replacement very soon
We are proud to announce the release of the latest version of Gideros, Gideros 2016.8
!Download Gideros 2016.8!
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
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.
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 added bitwise operators to Lua
. 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:Export features
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 platformsGideros Features
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 languageTextField parameter for alignment: sampleRenderTarget can be saved to fileLua featuresbuilt-in macro supportbitwise operators with new metamethods
type metatables powerpatch
binary and octal number constants
print() is sent to logcatFixes
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 positioningPlugins
[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 GiderosWe hope you enjoy the new version of Gideros!Download Gideros 2016.8!