@keszegh, I double checked wintab setting, and I am sorry to tell that I didn't add it in the right place. I mistakenly add it in an inner 'if', where it is never called. This is easy to fix, and I think a 2022.1.1 will come very soon given the amount of things that went wrong in this version. Thanks to all for your reports.
@hgy29 I found that luau provides new type: "vector" and have a C api for that:
lua_pushvector(L, x, y, z [, w])// depends on LUA_VECTOR_SIZE in luaconf.cpp
float* lua_tovector(lua_State* L, int idx)
float* luaL_checkvector(lua_State* L, int narg)
float* luaL_optvector(lua_State* L, int narg, const float* def)
bool lua_isvector(lua_State* L, int idx)
and a type enum:
LUA_TVECTOR
But as far as I can tell there is no way to use it from lua side. I wonder is it some sort of beta feature? Can be very usefull with imgui sliders
Hi everyone, I want to give some feedback for Gideros 2022.1 luau version. Thanks to hgy29, rrraptor(imgui master) and sinistersoft for the new Gideros 2022.1 and older versions. plus Paul,Nicke,antix,keszegh,mokalux and other Giderans for their contributions. I have been following you guyz for a long time but my English skills is not enough sometimes and I am not good coder, just stubborn and couldn't produce serious project so far. If I am available for some reasons I will try to produce a project in the future.
I tested Gideros 2022.1 on System information: Wine build: wine-7.0-rc5 Platform: x86_64 Version: Windows 7 Host system: Linux Host version: 5.16.0-arch1-1
The most of the examples work fine but the ones that don't work are below. 3D Horse 3D Animation benchmarkFunctions and Addons
Some of them have shader issues, I will add some comparison screenshots. 3D Instancing VR Oculus 3D Collisions
Luau does not like string methods (string.sub, string.dump, string.find etc.) and dataSaver implementation.
Before I have tried to convert a codepen-io javascript example with rrraptor fastnoise plugin, works on Linux Gideros 2021.11 build but The Gideros 2022.1 gives wine-debug output(pls look at attached files)
Player crashed without any output for some old examples(works well with 2021.11). Need to guide old bit plugin conversion changes.
By the way if someone want to try Gideros 2022.1 on wine. You should load corefonts by "winetricks corefonts" command on linux side. Because Qt6 and Scintilla font rendering have some issues. You should change GiderosStudio to dark theme for better fonts.
TEST =1000000function runTest(VecFunc)local vec1 = VecFunc(1, 2, 3)local vec2 = VecFunc(2, 1, 1)local ts =os.clock()for i =1, TEST dolocal v = vec1 + vec2
v = vec1 - vec2
v = vec1 /2
v = vec1 / vec2
v = vec1.Magnitude
v = vec1:Dot(vec2)
v = vec1['Dot'](vec2, vec1)endprint(os.clock() - ts)end
runTest(vector)-- Luau native vector
runTest(vec3)-- My implementation in luau
Native: around 0.2 seconds (for 1m iterations!) Luau: around 2.1 seconds
block comment/uncomment as in zbs would be cool, i'm quite used to it.
I thought we had it already, but it seems no. What would be the shortcuts for those ?
ctrl+U toggles block comment/uncomment (i think it comments if there is at least one line with -- somewhere in front (perhaps with some spaces before) and uncomments otherwise)
ctrl+U toggles block comment/uncomment (i think it comments if there is at least one line with -- somewhere in front (perhaps with some spaces before) and uncomments otherwise)
ctrl+U is already taken: • Control - U : Make all lowercase • Control - Shift - U : Make all UPPERCASE
ctrl+U toggles block comment/uncomment (i think it comments if there is at least one line with -- somewhere in front (perhaps with some spaces before) and uncomments otherwise)
ctrl+U is already taken: • Control - U : Make all lowercase • Control - Shift - U : Make all UPPERCASE
and that works in new gideros 2022.1
that is what is especially annoying for me, whenever i press it i have to undo (if i notice that i've messed up everything, otherwise even worse).
EDIT: i wonder how many people use make lowercase/uppercase buttons, of course i don't wish to ruin their experience but it seems like a marginal usability thing (compared to mass comment/uncomment which i e.g. use regularly), perhaps it is enough to have it in the menu.
Definitely, I would implement the four component vector to support 3D games (with quaternion). Vectors of 4 floats could also be useful to convey colors
let's see what others think and what hgy29 will do We will make sacrifices for the benefit of glorious new gideros
@hgy29 If possible can you add something like "LoadUsersKeyPreferencesFromFile();" where GiderosStudio.ini file in crossplatform path. Most programmers cannot change their old habits.
let's see what others think and what hgy29 will do We will make sacrifices for the benefit of glorious new gideros
It turns out that Ctrl+U is a scintilla default shortcut, so I decided to leave it as is and define block comment as Ctrl+Shift+C ('C' for comment). But I also implemented @hito9 suggestion and those will be overridable through a ini file, such as:
It shall be called keymap.ini and located in Gideros user folder (one level above user plugin folder). It will divided into two sections: 'main' for the Studio menu actions, and 'scintilla' for Scintilla specific shortcuts.
sorry @hgy29 for somehow being offtopic, i remember raising in some topic the question of loading files to memory asynchronously. i don't remember the answer. i think it is not possible, but is there a chance that it will be in the future?
EDIT: i guess one can workaround this by reading in chunks as in http://lua-users.org/wiki/ReadDefinedChunks yet i don't see a workaround for writing a file asynchronously.
sorry @hgy29 for somehow being offtopic, i remember raising in some topic the question of loading files to memory asynchronously. i don't remember the answer. i think it is not possible, but is there a chance that it will be in the future?
EDIT: i guess one can workaround this by reading in chunks as in http://lua-users.org/wiki/ReadDefinedChunks yet i don't see a workaround for writing a file asynchronously.
lua is basiclly single threaded, and Gideros too. It may be easier to deal with files asynchronously than anything else, but making sure every critical part is protected against concurrent modifications is still complex. I hope we'll reach the point where Gideros is fully multhread compatible though, but I can't give forecasts on this.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
Thanks to all for your reports.
Likes: keszegh, MoKaLux, SinisterSoft, hito9
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux
Here is the implementation of some methods: https://github.com/Roblox/luau/blob/32c39e2162b7539fd3233215df3dea23421c0503/tests/Conformance.test.cpp#L67
Registration:
https://github.com/Roblox/luau/blob/32c39e2162b7539fd3233215df3dea23421c0503/tests/Conformance.test.cpp#L372
And test file itself:
https://github.com/Roblox/luau/blob/2740f69f326a9b18e622571084bf0a03beff13b2/tests/conformance/vector.lua
Thanks to hgy29, rrraptor(imgui master) and sinistersoft for the new Gideros 2022.1 and older versions. plus Paul,Nicke,antix,keszegh,mokalux and other Giderans for their contributions. I have been following you guyz for a long time but my English skills is not enough sometimes and I am not good coder, just stubborn and couldn't produce serious project so far. If I am available for some reasons I will try to produce a project in the future.
I tested Gideros 2022.1 on System information:
Wine build: wine-7.0-rc5
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 5.16.0-arch1-1
The most of the examples work fine but the ones that don't work are below.
3D Horse
3D Animation
benchmarkFunctions
and Addons
Some of them have shader issues, I will add some comparison screenshots.
3D Instancing
VR Oculus
3D Collisions
Luau does not like string methods (string.sub, string.dump, string.find etc.) and dataSaver implementation.
Before I have tried to convert a codepen-io javascript example with rrraptor fastnoise plugin, works on Linux Gideros 2021.11 build but The Gideros 2022.1 gives wine-debug output(pls look at attached files)
Player crashed without any output for some old examples(works well with 2021.11). Need to guide old bit plugin conversion changes.
By the way if someone want to try Gideros 2022.1 on wine. You should load corefonts by "winetricks corefonts" command on linux side. Because Qt6 and Scintilla font rendering have some issues. You should change GiderosStudio to dark theme for better fonts.
Thanks again hgy29 for the great great jobs.
Likes: MoKaLux, SinisterSoft
Likes: MoKaLux
PS: glad to hear gideros runs on linux, thank you (at)hito9
Likes: hito9
Luau: around 2.1 seconds
So, I think it is worth to implement it somehow?)
Likes: MoKaLux, SinisterSoft
thanka
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
• Control - U : Make all lowercase
• Control - Shift - U : Make all UPPERCASE
and that works in new gideros 2022.1
https://wiki.gideros.rocks/index.php/Getting_Started#General_key_bindings
I would prefer the Android Studio way, I think it is ctrl + / on the numpad
https://stackoverflow.com/questions/25523490/comment-shortcut-android-studio
EDIT: i wonder how many people use make lowercase/uppercase buttons, of course i don't wish to ruin their experience but it seems like a marginal usability thing (compared to mass comment/uncomment which i e.g. use regularly), perhaps it is enough to have it in the menu.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux, SinisterSoft, hito9
--stackoverflow_dot_com/questions/13435262/qt-user-customizable-hotkeys
Likes: MoKaLux
But I also implemented @hito9 suggestion and those will be overridable through a ini file, such as:
Likes: MoKaLux, keszegh, hito9, SinisterSoft
all over the place
I assume that it must bu included by qt in INCLUDEPATH somewhere here:
But
which does not exists.
Do I need to compile Luau myself?
EDIT: i guess one can workaround this by reading in chunks as in http://lua-users.org/wiki/ReadDefinedChunks
yet i don't see a workaround for writing a file asynchronously.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
make -f scripts/Makefile.gid prep.repo
Likes: keszegh
openal, xmp, libgvfs, pystring, luau, libgid, libgideros
I still cant compile player in debug mode
make -f scripts/Makefile.gif versioning
Solved: copy Qt\6.2.2\mingw_64\plugins folder into working directory of the player
Likes: MoKaLux
BUT! I cant load my dll
https://deluxepixel.com