Search found 2280 matches

by VilleK
Tue Aug 24, 2021 2:57 pm
Forum: General discussion
Topic: ZGE & Mac M1
Replies: 14
Views: 19872

Re: ZGE & Mac M1

rrTea wrote: Tue Aug 24, 2021 12:37 pm That'd be fantastic!
I forgot to be specific: it is just the possibility to generate M1 files that works. Zge itself (the authoring tool) still needs to run on Windows. Perhaps you can run Windows in a VM like VirtualBox.
by VilleK
Tue Aug 24, 2021 12:34 pm
Forum: General discussion
Topic: ZGE & Mac M1
Replies: 14
Views: 19872

Re: ZGE & Mac M1

Hi, During the last year I've been involved in the process of making FL Studio running natively on M1 and this includes ZGE. So ZGE works fine on M1. Using Intel Mac binaries with Rosetta on M1 also works very well. The only reason I don't include Mac binaries in recent ZGE releases is that I don't ...
by VilleK
Thu Jul 29, 2021 7:21 pm
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

Aha, please change those lines to GL_FRAMEBUFFER_EXT and GL_COLOR_ATTACHMENT0_EXT.
by VilleK
Thu Jul 29, 2021 11:29 am
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

Kjell reminded me that this is GL ES 2. I've tried to make changes here to fix it. Please try this version of ZBitmap.
by VilleK
Thu Jul 29, 2021 9:53 am
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

Right, we need some good old printf-debugging. Please re-enable the call to GLESPixelsFromTexture. Then: 1. Add "ZPlatform" to the uses list in ZBitmap 2. Find the GLESPixelsFromTexture function at line 101 in ZBitmap.pas 3. Add "Platform_Error" calls after each line inside GLESP...
by VilleK
Thu Jul 29, 2021 7:28 am
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

The log still doesn't give anything useful, sadly.

But lets try to figure out where the problem could be.

Please try comment out line 169 in ZBitmap (the call to GLESPixelsFromTexture) and then rebuild Android binary.
by VilleK
Wed Jul 28, 2021 3:07 pm
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

I think that log is filtered somehow. It should at least show some kind of info from the Android OS when it crashes. Can you check the log filter settings? I don't remember the details but I think there is some start up parameter to filter the output.
by VilleK
Wed Jul 28, 2021 7:54 am
Forum: Bug reports
Topic: [SOLVED] Bitmap composed of Noise + Expression crashes on Android
Replies: 11
Views: 15066

Re: Bitmap composed of Noise + Expression crashes on Android

Have you rebuilt the Android binary recently? Please check that it is built from the latest ZGE sources.

Do you get any crash log?
by VilleK
Tue Jul 20, 2021 9:22 am
Forum: Off-topic
Topic: Windows 11
Replies: 3
Views: 21652

Re: Windows 11

I see. I wish there would be a generic OpenGL driver that translates calls to DirectX or Metal. The ANGLE project is interesting but only supports GLES. I would like full desktop OpenGL 1.0 to 3.0 functionality available everywhere.
by VilleK
Tue Jul 20, 2021 7:26 am
Forum: Off-topic
Topic: Windows 11
Replies: 3
Views: 21652

Re: Windows 11

Hi Kjell,

That sounds strange. How can a requirement for a certain level of DirectX compatibility end up with some GPUs only supporting OpenGL 1.1?
by VilleK
Wed Jul 14, 2021 2:28 pm
Forum: Releases
Topic: ZGameEditor version 5.0
Replies: 4
Views: 9325

ZGameEditor version 5.0

The official build is now 5.0 (since its been years since we last updated the version number).

Main changes in this build:
- Classes support in scripting
- ZGameEditor and the runtime engine is now 64-bit

http://www.zgameeditor.org/files/ZGameEditor_beta.zip
by VilleK
Tue Jul 06, 2021 11:02 am
Forum: Feature requests
Topic: Simplification of Player_xxx.bin
Replies: 3
Views: 9020

Re: Simplification of Player_xxx.bin

There is some code in frmMain that fills the most-recently-used list of filenames in the File menu. You could take a look there.

As for getting a list of filenames, I think there is some code in frmMain too that use "GetFiles".
by VilleK
Mon Jul 05, 2021 8:01 am
Forum: Feature requests
Topic: [FIXED] Same background color for PC and Android
Replies: 9
Views: 11868

Re: Same background color for PC and Android

Its been a long time since I looked at the ZGE Java code. Maybe the recommended way to initialize an OpenGL application is completely different now compared to when this code was written. When I try searching for "Android transparent OpenGL surface" then the normal problem seems to be that...
by VilleK
Fri Jul 02, 2021 2:25 pm
Forum: General discussion
Topic: New feature: Classes in scripting
Replies: 18
Views: 22136

Re: New feature: Classes in scripting

Ats wrote: Fri Jul 02, 2021 11:38 am Do we get a gain in performance if using classes instead of classic functions and stuff?
Not really. It is just an optional way of organizing your code and may seem more natural if you have previously used a language such as Java.
by VilleK
Mon Jun 28, 2021 7:37 am
Forum: General discussion
Topic: New feature: Classes in scripting
Replies: 18
Views: 22136

Re: New feature: Classes in scripting

NES Donkey Kong works pretty good.