New year, new Gideros.
This first 2022 release comes with significant changes.
First, Windows version is now 64 bit, despite it being still installed in '32 bit program location'.
Second, it is based on QT6, which means that most plugins have been touched to be compatible.
Third, the studio now uses main scintilla code, and not QScintilla, enabling tighter integration.
Last, but not least, this Gideros version uses luau instead of lua 5.1, and while luau is itself based on lua 5.1, it borrows features from 5.2,5.3 and 5.4 and drop some from 5.1. We tried our best to reintroduce everything that was dropped to make it compatible with existing gideros project, but you may need to adapt your source code a bit. See here:
https://wiki.gideros.rocks/index.php/Lua_to_Luau_conversion_guideWhy Luau ?
- Because it is a modern version of lua and actively developed
- Because its internals allows more efficient lua shaders
- Because it allows gradual type checking, and could help writing better code
- Because it comes with a code analyzer (Linter), now integrated with Gideros studio, able to spot potential coding issues
- And because it is more optimized
But because luau is internally very different, a few features are no longer available in 2022.1:
- Debugging: we'll try to add it back in next release
- Macro: they may be added back to, or maybe through a 'const' keyword
We hope that, all in all, this is a better release than previous one, and we are confident those changes to Gideros were necessary for the future.
WARNING: Those were huge changes, and although this release has been tested way more deeply than usual, it can still exhibit abnormal behaviour, so be sure to double check your exports.
Download it from here:
http://giderosmobile.com/download
Comments
what does " [desktop] Implement application:set("wintabMode")" do?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
This is what you asked for in another thread.
Dislikes: E1e5en
other: my code does not compile, i'm using the datasaver module (a modification of http://appcodingeasy.com/Gideros-Mobile/Save-and-load-data-module-for-Gideros-Mobile), previously it was just another file in my source file list, but now it complains:
sources/saveloadmenu.lua:105: attempt to call a nil value
when i invoke dataSaver.save()
the module is the one starting with:
module("dataSaver", package.seeall)
so how should i use such a module in new version? ty
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
function vertex(vVertex,vColor,vTexCoord):Shader
what does :... mean for a function? i've never seen such stuff. or is this new to luau? and then what does it mean? specific only for shaders or we can create such functions too?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: SinisterSoft
and close first one
Also:
happens when you type "Something.new("
and no hints here:
Likes: SinisterSoft
Likes: SinisterSoft
Another one:
So whats the point of this entire article ?
Deprecated?
EDIT: nevermind, it works
Likes: MoKaLux
CLTR+ALT+L works fine
Fragmenter - animated loop machine and IKONOMIKON - the memory game
The way that it lets you have suggestions and clues regarding variable usage, etc is magic! Much better than before.
Here is a link to the SSL stuff for Windows. I recommend you install Gideros 2022.1 to the Program Files folder rather than the Program Files (x86) folder - the zip assumes you have done this.
https://www.dropbox.com/s/4nad2uuzde90mja/ExtraLibs.zip?dl=0
https://deluxepixel.com
I changed @ to =
But I needed to change some globals declared in main and put them in init (the screen size for example)
At the beginning my game was crashing a lot (gideros player would shut down) with no feedback from gideros studio.
I narrowed down the issue and found out this was due to calling movie clip asynchronously so I changed that to only call the function.
Now everything works fine I am using box2d (this is the platformer I am working on). I don't have the numbers but it seems to be faster?!
Some minor issues:
- gideros studio when you click a tab you also have to click the code to get the cursor moving
I haven't tested other luau stuff so cannot give feedback yet.
(at)hgy29 you did an amazing job in a short period of time, thank you for making this happen, will donate soon.
Viva Gideros luau
Likes: SinisterSoft
when exporting to windows (win32 or windows) I have a blank screen.
I tried my app first but then with the sample demos and that doesn't work either.
I tried with encrypt and don't encrypt.
FYI2:
same for html5 -> blank screen with no errors
sure, changing the module to a class is not too much of a work. overall i hope modules shall work in long term. also i hope async loading will work (@Mokalux seemed to have issues with it), i have some file loading/saving that is based on it.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
when being fullscreen is either very slow or crashed altogether.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
actually this is logged, so perhaps wintabMode is not a valid option?:
Accepted value for Desktop's application:set()
- windowPosition(x,y)
- windowSize(w,h)
- minimumSize(w,h)
- maximumSize(w,h)
- windowColor(r,g,b)
- windowTitle(text)
- windowModel(type//help)
- cursor(type//help)
- cursorPosition(x,y)
- clipboard(text)
- mkdir(path|dirName//help)
- documentDirectory(path)
- temporaryDirectory(path)
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Fragmenter - animated loop machine and IKONOMIKON - the memory game