Search found 1907 matches

by Kjell
Sun Sep 15, 2024 11:03 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats,
Ats wrote: Sun Sep 15, 2024 9:23 amWhat's the use of threaded?
It splits the workload over the number of available processors. Most processors support ( at least ) 8 threads these days .. and even first generation Intel Core i3/i5 processors ( from 2010 ) support 4 threads.

K
by Kjell
Thu Sep 05, 2024 11:08 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats, I have no idea what function to declare in ZExternalLibrary/Source in order to test it :lol: Hmm .. you could try cvCbrt ( fast cubic root calculation ) which is part of the core module. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Capti...
by Kjell
Wed Aug 28, 2024 1:04 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats, Could my problem be coming from dlopen ? The dlopen function is part of the Android / Linux kernel, so the definition in ZPlatform_Android.inc is simply a function prototype and must follow the API specification. Therefore the flags argument should be a regular 32-bit integer ( LongInt in Pa...
by Kjell
Sun Aug 25, 2024 5:37 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats, Hahaha everything is so confusing when it comes to Android... :roll: Yea .. plus i haven't done anything Android for years so i'm hopelessly out of the loop. Concerning the various definitions / constants you listed: CPU64 = Any 64-bit CPU cpux64 = x86-64 CPUs ( the 64-bit version of x86 ) c...
by Kjell
Sun Aug 25, 2024 5:08 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats, Regarding my adb log, those are not Errors, but Executions. I have the same list if I run the working 32 bit version of my apk test. Oops .. i thought the E's in your log were equivalent to the red E's here: https://developer.android.com/static/studio/images/debug/logcat-window.png Never min...
by Kjell
Sun Aug 25, 2024 1:06 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats, So it seems to be running, but things aren't rendering. Judging from the adb log it's ( at the very least ) unable to load any of the OpenGL functions .. hence the black screen. :| Maybe something in ZPlatform_Android.inc isn't adjusted to 64-bit properly still? Since JNI_OnLoad is listed am...
by Kjell
Sun Aug 25, 2024 11:50 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 111
Views: 38106

Re: Google Play New problem : 64bits

Hi Ats,
Ats wrote: Sun Aug 25, 2024 12:26 amInternet says that replacing R by X will do the trick.
Yep, the R registers are 32-bit while the X registers are 64-bit. However, i'd recommend using x8-x18 ( they are the 64-bit equivalent to r0-r10 ) instead of x0-x7 as these are generally used for function arguments ( by compilers ).

K
by Kjell
Wed Jun 12, 2024 11:09 am
Forum: Your projects
Topic: SFXR
Replies: 22
Views: 20953

Re: SFXR

Hi Ats, Is it possible to declare a Sample using a ZLibrary instead of manually creating the Sample object? Yes, but maybe not in the way you expect? I tried "Sample Sample_Laser;" This basically allocates a pointer to a Sample, nothing more. You could use "Sample mySample = @Sample(L...
by Kjell
Fri May 24, 2024 7:58 am
Forum: General discussion
Topic: Confusion with screen coordinates
Replies: 7
Views: 1308

Re: Confusion with screen coordinates

Hi LsJack,
LsJack wrote: Thu May 23, 2024 6:35 pmcould you upload the .zgeprojet of the isometric example?
Sure, i swapped out the model & textures with procedural alternatives for filesize & copyright reasons ( and added a bit of movement ) .. but aside from that it's the same thing.

K
by Kjell
Thu May 23, 2024 2:36 pm
Forum: General discussion
Topic: Confusion with screen coordinates
Replies: 7
Views: 1308

Re: Confusion with screen coordinates

Hi Tomi, It's simple Pythagoras theorem :wink: So .. by default the camera is positioned at 0,0,10 and uses a perspective projection with a FOV of 45. When you create a diagram of that situation viewed from the side ( over the x-axis ) it looks something like this: https://i.imgur.com/f0YPyLO.png Yo...
by Kjell
Thu May 23, 2024 9:41 am
Forum: General discussion
Topic: Confusion with screen coordinates
Replies: 7
Views: 1308

Re: Confusion with screen coordinates

Hi Tomi, so is ZGE basically uses 3D projection, even in the case of a 2d program? No, you don't have to use a 3D projection if you don't want to. Simply add a Camera component to your project and configure it to your needs .. below is the exact same scene viewed using 3 different camera configurati...
by Kjell
Wed May 22, 2024 2:39 pm
Forum: Feature requests
Topic: Use of non-English letters
Replies: 4
Views: 865

Re: Use of non-English letters

Hi Tomi, Should I use some kind of "UseMaterial" before the RenderText to get the wished characters, as you used in your example? The built-in font only contains ASCII characters. So you need to provide your own font that has all characters you want to use. Attached is the example i used i...
by Kjell
Wed May 22, 2024 5:29 am
Forum: Feature requests
Topic: Use of non-English letters
Replies: 4
Views: 865

Re: Use of non-English letters

Hi Tomi, ZGameEditor stores project files ( .zgeproj ) using ISO-8859-1 encoding. As far as Hungarian is concerned, ISO-8859-1 is missing Ő,ő,Ű,ű. If you can live with typing Õ,õ,Û,û instead, you can simply adjust your font to still render Ő,ő,Ű,ű. https://i.imgur.com/vgJL8ka.png Alternatively you c...
by Kjell
Tue May 21, 2024 5:22 pm
Forum: General discussion
Topic: Confusion with screen coordinates
Replies: 7
Views: 1308

Re: Confusion with screen coordinates

Hi Tomi, When I moved a 2d bitmap (so, I changed the Position.X and Y of this model) in my first test program with the default settings, the left and right edge of the screen can be found at -5 and 5 values, while top and bottom are at -3 and 3. By default ZGameEditor uses a camera with a perspectiv...
by Kjell
Tue May 21, 2024 2:18 pm
Forum: General discussion
Topic: Menu with character's name
Replies: 5
Views: 938

Re: Menu with character's name

Hi Ats,
Ats wrote: Tue May 21, 2024 9:39 amI always thought that 'OnPressed' was the equivalent of 'just pressed' since it is conjugated in the past and not called 'OnPress'.
Yea .. this can be a bit confusing as the terminology isn't consistent among platforms / engines :?

Image

K