Gideros 2022.5 is available, with a bit of headroom for hot fixes
Two major additions this time:
Sprite cloning: Now Sprite can be cloned instead of having to recreate and re-customize them from lua. This is a big performance improvement if you need several similar Sprite on screen, in particular if those sprites are complex or compound. Imagine you need to create 100 cells in a board game, with a complex stacking such as a background, a foreground, and possible icons over the top of each cell. Previously you had to create and customize 300 or 400 sprites to achieve that, now you can just make one, clone it 100 times, and just customize the delat between each cell.
This won't speed up rendering, but will save time preparing the scene.
3D particles: Particles sprite gets a 'z' coordinate to support 3D, but that's not all. Enabling 3D mode tells Gideros to make sure that the particles are drawn always facing the camera, and further enabling auto sorting tells Gideros to sort particles back to front to correctly process alpha. Whats more, and this applies to 2D partciles as well, decay can now be separated into x,y and z coefficients, particles now handle acceleration, and you can assign multiple textures to your particles for use with a custom shader.
This new Gideros version also comes with bug fixes and various improvements from the community. Thanks to everyone who contributed.
Full list of changes:
New features[gfx] Sprites are now clonable, except MovieClip
[gfx] Support 3D Particles
[gfx] Partciles can be multitextured (through shaders)
[gfx/particles] Add auto depth sorting of 3D particles
[gfx/particles] Differentiate X,Y and Z decay, add acceleration support
[gfx/particles] Add a method to retrieve recently dead particles
[examples] Add 3D particles demo
Improvements[Library] update to 3d library to better handle texture loading and glb format
[library/3d] remove code hack thanks to luau
[Library] Update luashader lib
[sample/3D-Anim] Improved demo
[font/layout] Avoid calling harfbuzz plugion (if present) when text is Latin
[core] Use optimized memory allocator for Luau (as we did for Lua)
[gfx/textfield] Delay texture recreation until really displayed
[ios] Export entitlements file
[Studio] Preview pic for GTween example
Fixes[plugin/rp3d] don't try to destroy a body twice
[sprite] Fix auto update and autobuffer of effect shaders
[audio] Fix audiobinder destructor
[studio] Fix 'Browse' buttons not working
[library/luashader] Auto correct HLSL swizzling
[uwp] Update certificate
[Studio] Fix simple word highlighter
[Studio] Revert replace function with a minor change - clean one
[plugin/rp3d] Fix event listener
[ios] fix Metal shaders
Download it from here:http://giderosmobile.com/download
Comments
- new Color Picker in the toolbar (highlight a hex color in your code and click the button = magik)
- wrap/unwrap lines in the toolbar too
- new append toolbar to menu in preferences
Thanks for your hard work people
Viva Gideros
Likes: hito9, SinisterSoft
Likes: MoKaLux, hito9
Likes: MoKaLux
Likes: MoKaLux, keszegh, SinisterSoft
sorry wrong place(?)
i put here http://forum.giderosmobile.com/discussion/8563/no-qt-platform-plugin-error/p1?new=1
https://github.com/gideros/gideros/blob/1c4583c4e024d8b4925e65cc7b31b39676aa69a9/ui/Resources/start/examples.xml#L45
I took an image from gtween example if you want to put it there
TextField.new(font,text,sample,layout)
Now, if you give sample a value this will crash your app! Tested with Gideros 2022.5.1
Example that makes Gideros 2022.5.1 crash:
Is this the new way to go?
TextField.new(font,text,layout)
(will update the wiki as soon as somebody confirm )
Likes: MoKaLux
Luau explanation: https://luau-lang.org/sandbox#__gc
Btw, found another bug. You cant remove event listener with "removeEventListener" function.
"removeAllListeners" works fine.
Update
!!! Remove !!!
Update
Update
Likes: MoKaLux
I don't know if you realize guys BUT we have the best Gideros Studio EVER
May I ask if r3d will be working on mobile and html5? It used to work before on those platforms but maybe Luau broke something (you can test with official r3d demo).
I have no clue how to fix this myself and the only thing I can help is this android log https://forum.gideros.rocks/discussion/comment/66763/#Comment_66763
FYI I have updated android player with gideros 2022.5.1 PR https://github.com/mokalux/gideros-player-for-android
Thank you.
PS: it is not urgent at all I am working in 2d atm
tokrylomen28
reabtebalbe36
sauthidesec57
=> BOTS with link to websites unrelated to programmation !
line 71 is:
data = dataSaver.loadValue("data")
main.lua:71: attempt to call a nil value
stack traceback:
main.lua:71: in function main.lua:1
Fragmenter - animated loop machine and IKONOMIKON - the memory game
5481-5503/com.debia.cashback D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
2022-05-30 16:42:45.127 5481-5513/com.debia.cashback D/EGL_emulation: eglMakeCurrent: 0x76a0a94c13d0: ver 3 0 (tinfo 0x76a2b993f100) (first time)
2022-05-30 16:42:45.148 5481-5513/com.debia.cashback D/Gideros: GL Version 3.000000 (ES)
2022-05-30 16:42:45.148 5481-5513/com.debia.cashback D/Gideros: GL_VERSION:OpenGL ES 3.0 (4.1 ATI-4.6.21)
2022-05-30 16:42:45.150 5481-5513/com.debia.cashback D/Gideros: GLSL_VERSION:OpenGL ES GLSL ES 3.00
2022-05-30 16:42:45.395 5481-5513/com.debia.cashback E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glFramebufferRenderbuffer:2959 GL error 0x502
2022-05-30 16:42:45.395 5481-5513/com.debia.cashback E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glFramebufferRenderbuffer:2959 GL error 0x502
2022-05-30 16:42:45.397 5481-5513/com.debia.cashback E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glDetachShader:2134 GL error 0x501
2022-05-30 16:42:45.642 5481-5481/com.debia.cashback V/EBE: OCI:0 SS:-1 SE:-1
2022-05-30 16:42:45.778 5481-5481/com.debia.cashback V/EBE: OCI:0 SS:-1 SE:-1
2022-05-30 16:42:45.837 5481-5513/com.debia.cashback E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glFramebufferRenderbuffer:2959 GL error 0x502
2022-05-30 16:42:45.837 5481-5513/com.debia.cashback E/emuglGLESv2_enc: device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glFramebufferRenderbuffer:2959 GL error 0x502
Likes: MoKaLux
I understand that this version of the OS is no longer relevant, but I inform you.
In the description on the download site, the system requirements are Windows 7. This may raise questions.
Likes: MoKaLux
Likes: MoKaLux, E1e5en
I/ALÂ lib: Failed to set 22050hz, got 48000hz instead
try testing your app without sound and see if it is causing the crash?
Thanks, but I really meant a full unfiltered log. Crashes aren’t reported in filtered logs. You can PM it to me if security is a concern.Where did I read it crashed ? You said blank screen, so is there any sound or something that would indicate that the app is running ? If not then maybe it assets weren’t exported correctly, can you share an export log from Gideros ?
Likes: MoKaLux
As soon as I succeed, I will definitely try to check.
Likes: MoKaLux
There wasn't any sound playing. But there were two sound files in project. Sound was removed, but result still same - blank screen on start
Android SDK Version:32
Android Build Tools:30.0.2
...
Try with android 30 not 32?
Now I am checking this by connecting to a remote machine via AnyDesk (suddenly it will affect).
Likes: MoKaLux, keszegh, E1e5en
Likes: E1e5en, MoKaLux