Search found 1937 matches
- Wed Jul 02, 2025 9:48 pm
- Forum: General discussion
- Topic: Questions about ES2/GL3 shaders
- Replies: 81
- Views: 110547
Re: Questions about ES2/GL3 shaders
Hi Ats, What I don’t understand is how glUniform1f sets a random value inside the shader. The glUniform function(s) set the value of a specific uniform variable of the shader that is currently active. It's the "location" argument that determines which uniform variable you're writing to. In...
- Wed Jul 02, 2025 6:01 pm
- Forum: General discussion
- Topic: Questions about ES2/GL3 shaders
- Replies: 81
- Views: 110547
Re: Questions about ES2/GL3 shaders
Hi Ats, Can I pass a random number from the currently rendered model to its shader? That's what uniform variables are for :wink: Unfortunately, there's a issue with ShaderVariable. Since UseMaterial is ignored when the selected material is already active, any changes to ShaderVariable will be skippe...
- Sun Jun 29, 2025 10:03 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 104112
Re: Google Play New problem : 64bits
Hi Ats, 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. Yea .. it's not GL_BLEND specifically. Something related to ZExternalLibrary is causin...
- Sat Jun 28, 2025 6:20 pm
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 104112
Re: Google Play New problem : 64bits
Hmm, Sorry, your colored background isn't crashing on Android 64. So weird .. :? What if you swap the glEnable/glDisable(GL_BLEND) calls with two Materials that do the equivalent? <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="Androi...
- Sat Jun 28, 2025 5:23 pm
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 104112
Re: Google Play New problem : 64bits
Hi Ats, Have you tried other ( basic ) OpenGL calls to see if it still crashes on 64-bit Android? For example something like: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" ClearScreenMode="1" ...
- Wed Jun 25, 2025 8:48 am
- Forum: Bug reports
- Topic: Problem with array definition in script
- Replies: 3
- Views: 174
Re: Problem with array definition in script
Hi Ats, So I'll keep my array as is, since "Persistent arrays only supported for numeric data types". Perhaps your "Alphabet" example is just an example .. but in case it's a map for a font or name-entry dialog or something, you might as well store the ASCII codes instead. Howeve...
- Tue Jun 24, 2025 4:45 pm
- Forum: Bug reports
- Topic: Problem with array definition in script
- Replies: 3
- Views: 174
Re: Problem with array definition in script
Hi Ats, That syntax can only be used to declare and initialize local arrays .. like this: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <ZExpression> <Expression> <...
- Tue Jun 24, 2025 11:58 am
- Forum: Extensions
- Topic: ZgeSublime
- Replies: 5
- Views: 534
- Thu Jun 12, 2025 6:30 am
- Forum: Your projects
- Topic: OMEGANAUT
- Replies: 98
- Views: 198020
Re: OMEGANAUT
Hi Ats,
Very cool! This took me back to TV shows where they had "trucage" or made-for-TV video games that you really wanted to play .. except this time you actually can
K
Very cool! This took me back to TV shows where they had "trucage" or made-for-TV video games that you really wanted to play .. except this time you actually can

K
- Thu May 22, 2025 10:18 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5303
Re: Problem with external file location on Android
Hi Ats, Yep, it's only " / assets/" in preview mode :wink: Well .. that depends on what the desired behavior should be. In DOS & Windows a leading "directory seperator character" means that the path is "relative from the root of the current drive". https://learn.mic...
- Thu May 22, 2025 9:05 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5303
Re: Problem with external file location on Android
Hi guys, I agree, we should make it so that if you specify "assets/" then this should work on Windows too and be assumed to be a subfolder to the exe-file. Windows can normally deal with paths that have a mixture of forward slashes and backslashes. Would be convenient if ZGE automagically ...
- Fri May 16, 2025 10:57 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5303
Re: Problem with external file location on Android
Hi Ats, It also confirms a bug I found while testing: the FileName path behaves differently depending on the target platform. Not sure if i would call this a bug ... path conventions simply differ from platform to platform. Preview mode /assets/paint.txt NOT WORKING This only works when there's a &q...
- Thu May 15, 2025 9:00 am
- Forum: Bug reports
- Topic: Problem with external file location on Android
- Replies: 19
- Views: 5303
Re: Problem with external file location on Android
Hi Ats, Not sure why you'd want to use "char" encoding for a paint program ... why not just do the following? <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="Paint" CameraPosition="8 8 16" FOV="90" M...
- Tue Apr 22, 2025 9:53 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 104112
Re: Google Play New problem : 64bits
Hi Ats,
K
The MeshImport component uses TZInputStream and its CreateFromMemory constructor specifically, so no Platform_ReadFile ( nor ReadAssetFile ) is involved.
K
- Tue Apr 22, 2025 9:22 am
- Forum: General discussion
- Topic: Google Play New problem : 64bits
- Replies: 291
- Views: 104112
Re: Google Play New problem : 64bits
Hi guys, I'm no Pascal / Delphi expert .. but why not use (regular) pointer arithmetic instead of converting back & forth between a integer and pointer? And the "does not seem to be initialized" warnings are the compiler being dumb ( afaik ): - In case of "ScaledGravity" it's...