It looks like you're new here. If you want to get involved, click one of these buttons!
hgy29
Maintainer
Likes: pie, MoKaLux, vitalitymobile, keszegh, John, Xman, kinrpg, SinisterSoft, MobAmuse
Comments
- update ios SKAdNetworkItems keys
as suggested by (at)John😉.
https://forum.gideros.rocks/discussion/8847/admob-skadnetwork-values-are-out-of-date
Viva Gideros!
I will try this release to check that issue.
Likes: MoKaLux
The project graphics settings have changed too, so before I dig further, can you double check you set 'Orientation' to 'Landscape' and 'Autorotation' to 'Normal and upside-down' ?
Likes: MoKaLux
and 'Autorotation' to 'Normal
- Normal orientation: allow only the orientation set in "Orientation" field (call it 0°).
- Normal and upside-down: allow two orientations, 0° and 180°
- All orientations: allow 0°,90°,180° and 270° rotations
- OS Fixed orientation: let the system decide, this is only meaningful for android and maps to the "nosensor" orienation mode.
So if you want both landscape right and left, you should use "Normal and upside down" in Autorotation.
project setting 640 * 960, letterbox landscape left Normal and upside-down, run on iPhone 12 max, the return value is
0 -719.3599853515625 960 1359.3599853515625
in portrait project it is correct
0 -88.8888931274414 640 1048.888916015625
Also application:getLogicalTranslateY() is not correct.
I think I found the issue about autorotation in iOS, I managed to reproduce the problem and I have a fix for it, meanwhile there is a workaround in lua whis is to call application:setOrientation(application:getDeviceOrientation()) after EVENT_RESIZE whenever getDeviceOrientation() returns a landscape orientation different from current orientation.
For your logicalbounds/safe area issues, it looks to me like your iphone started the app in portrait and you called the functions before ios/gideros changed the device orientation to the correct one. You could try to wait delay your init code a bit or recompute things after an EVENT_RESIZE event, or try to enable only landscape orientations in Xcode project / General settings.
To enable fullscreen, include the 'require' plugin and tick the appropriate box (Support non rectangular (notch) screen shapes).
And for the status bar, there is an application:set("statusBar",nil) call you can try, but I will investigate too since it should have been hidden by default in fullscreen mode.
Likes: MoKaLux
Likes: MoKaLux
Likes: MoKaLux
It's already set only landscape left and right yesterday and it return the wrong value.
the values get after first event of resize is not correct.
And the following resize event comes much later.
It's hard to set ui correctly on start up.
When rotate the device, a rotate animation will play and the content will be upside down.
Likes: MoKaLux
It will report several events resized and getDeviceOrientation return portrait until you rotate the device event if my exported iOS project only checked landscape. After you rotate the device, the workaround works.
Likes: MoKaLux
Viva Gideros Studio!
https://github.com/gideros/gideros/pull/576
While documenting 3D for the wiki I "updated" the 3DShapes.lua.
- I left the previous shapes untouched
- I added the extension V2 for the "new" shapes (PlaneV2, BoxV2, ...)
While adding normal mapping and using the half extents look cool, I am not sure about the proper way to code it so I won't make a PR 😢.
Here is the file ready to replace 3DShapes.lua
Thank you