Search found 837 matches

by Ats
Tue Jul 01, 2025 10:00 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

Building Android 64 lib gives those errors: Building libzgeandroid.so for Android 64 (arm64-v8a)... Free Pascal Compiler version 3.2.2 [2021/05/16] for aarch64 Copyright (c) 1993-2021 by Florian Klaempfl and others Target OS: Android for AArch64 Compiling zgeandroid.pas Compiling jni.pas Assembling ...
by Ats
Tue Jul 01, 2025 11:51 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

Great find, Ville. I’ve run this several times over a long period on three different devices: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="Android Bug Finder 6" ScreenMode="0" FileVersion="2" AndroidPackage...
by Ats
Sun Jun 29, 2025 4:43 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

The glEnable cubes are still randomly crashing even with threads disabled like that:
In TZApplication.Init insert this line
ZClasses.Tasks.Enabled := False;
by Ats
Sun Jun 29, 2025 4:07 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

Oh, all right.
Yeah, that might not be coming from the GL functions, but my example does have the merit of crashing really quickly on 64-bit :lol:
I’m going to recompile the ZGE Android library with threading completely disabled and see if my glEnable cubes still crash.
by Ats
Sat Jun 28, 2025 10:45 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

So I tried your last test several times, and for quite a while. It’s not crashing at all. Then I tried enabling and disabling GL_BLEND again, just to be sure. It randomly crashes at some point, every time. Weird, but I think we’re onto something :wink: Edit: I tried setting my transparent materials ...
by Ats
Sat Jun 28, 2025 6:04 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

Sorry, your colored background isn't crashing on Android 64. I tested it for a while. I even added the basic cubes from my first example over it to force compute things... I was thinking, do I really need to use glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); to set 3D objects...
by Ats
Sat Jun 28, 2025 12:08 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 285
Views: 102910

Re: Google Play New problem : 64bits

After writing down what I was doing in my game each time it crashed, I finally made a breakthrough !!! This is running fine: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="Android Bug Finder 1" ScreenMode="0" FileVersi...
by Ats
Wed Jun 25, 2025 8:13 am
Forum: Bug reports
Topic: Problem with array definition in script
Replies: 3
Views: 139

Re: Problem with array definition in script

Thanks Kjell. Now that I read your response, I feel that I already asked or saw that somewhere in the forum... :lol: So I'll keep my array as is, since "Persistent arrays only supported for numeric data types". Reading the Help file again , it's not clear that only the last line of the exa...
by Ats
Tue Jun 24, 2025 4:28 pm
Forum: Bug reports
Topic: Problem with array definition in script
Replies: 3
Views: 139

Problem with array definition in script

Hi. I'm currently simplifying the exported text from my Sheet to my ZGE project. So I'm trying to declare arrays in script. Instead of doing this: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersi...
by Ats
Tue Jun 24, 2025 12:27 pm
Forum: Extensions
Topic: ZgeSublime
Replies: 5
Views: 464

Re: ZgeSublime

Thanks, Kjell. I’d never used those before :lol: So I added them to the list of XML data tags, and also updated the syntax so they appear in gray. I also forgot to import the `re` library, which is needed by my script to fold/unfold tags, as I was editing the file directly on GitHub. (Committing fil...
by Ats
Tue Jun 24, 2025 9:42 am
Forum: Extensions
Topic: ZgeSublime
Replies: 5
Views: 464

Re: ZgeSublime

The syntax coloring is now almost perfect.
I also added a context menu option to fold/unfold all the data imported into the project, so we can focus only on the code.
Right now, it detects the XML tags: BitmapFile, FileEmbedded, Icon, MeshData, and SampleData. Did I catch them all?
by Ats
Thu Jun 12, 2025 6:21 am
Forum: Your projects
Topic: OMEGANAUT
Replies: 98
Views: 197896

Re: OMEGANAUT

Omeganaut is featured, along with Satchel from Steel Panther in the last video clip of Lucie Sue :lol:

by Ats
Tue Jun 10, 2025 10:12 am
Forum: Extensions
Topic: ZgeSublime
Replies: 5
Views: 464

Re: ZgeSublime

I've added custom syntax highlighting to the plugin for better visualization of zgeproj files: XML structure is styled similarly to PHP to de-emphasize markup ZExpression sections (<Expression>, <WhileExp>, etc.) use C#-like coloring Data sections (<BitmapFile>, <MeshData>) appear in grey for minima...
by Ats
Wed Jun 04, 2025 6:43 am
Forum: Extensions
Topic: ZgeSublime
Replies: 5
Views: 464

ZgeSublime

ZgeSublime is not an extension for ZGameEditor, but rather a Sublime Text plugin I started to build and run .zgeproj files directly from the editor. Installation Download ZgeSublime from: https://github.com/Txori/ZgeSublime In Sublime Text, go to Preferences > Browse Packages... This opens the Packa...
by Ats
Fri May 23, 2025 2:36 pm
Forum: Bug reports
Topic: Problem with external file location on Android
Replies: 19
Views: 5085

Re: Problem with external file location on Android

I've made the changes to ZPlatform_Android.inc and all the ZGE.java files. The file loading from `assets/` is now working on all platforms and preview mode. I've seen those lines in the Docs\ExportAndroid.md : 169 3. Enable "Settings / Security / Unknown sources" on the Android device. ......