Search found 1929 matches

by Kjell
Thu Jun 12, 2025 6:30 am
Forum: Your projects
Topic: OMEGANAUT
Replies: 98
Views: 196707

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 8)

K
by Kjell
Thu May 22, 2025 10:18 am
Forum: Bug reports
Topic: Problem with external file location on Android
Replies: 19
Views: 2468

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...
by Kjell
Thu May 22, 2025 9:05 am
Forum: Bug reports
Topic: Problem with external file location on Android
Replies: 19
Views: 2468

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 ...
by Kjell
Fri May 16, 2025 10:57 am
Forum: Bug reports
Topic: Problem with external file location on Android
Replies: 19
Views: 2468

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...
by Kjell
Thu May 15, 2025 9:00 am
Forum: Bug reports
Topic: Problem with external file location on Android
Replies: 19
Views: 2468

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...
by Kjell
Tue Apr 22, 2025 9:53 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 273
Views: 98180

Re: Google Play New problem : 64bits

Hi Ats,
Ats wrote: Tue Apr 22, 2025 9:29 amI assume reading an embedded 3DS file uses ReadAssetFile.
The MeshImport component uses TZInputStream and its CreateFromMemory constructor specifically, so no Platform_ReadFile ( nor ReadAssetFile ) is involved.

K
by Kjell
Tue Apr 22, 2025 9:22 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 273
Views: 98180

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...
by Kjell
Wed Apr 16, 2025 1:04 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 273
Views: 98180

Re: Google Play New problem : 64bits

Hi guys, Android 15 switched to Vulkan and includes ANGLE for backwards compatibility with OpenGL ES. Although they tout this change by stating "improved compatibility, and in some cases, improved performance", this might not always be the case .. especially during this transition period: ...
by Kjell
Sun Dec 15, 2024 11:51 am
Forum: General discussion
Topic: Keycode finder
Replies: 8
Views: 5769

Re: Keycode finder

Hi Ats, On Linux ZGE only maps the arrow and letter keys to specific regions ( but nothing else ), you can view the source-code for that here . This is also working on Linux, that makes no sense to me It's because the KeyMap on Linux first gets initialized one-to-one .. but then the letter keys get ...
by Kjell
Sun Dec 15, 2024 12:49 am
Forum: General discussion
Topic: Keycode finder
Replies: 8
Views: 5769

Re: Keycode finder

Hi Ats, Did something change? No idea .. but ZGE uses SDL on Linux. You can find the SDL keycodes here . Keep in mind that ZGE masks keycodes to a 9-bit range. So for example F2 / 0x4000003B becomes 59. I'm not sure if this is coming from linux or from ZGE, but the keycode for Linux are correct on h...
by Kjell
Sat Dec 14, 2024 4:07 pm
Forum: General discussion
Topic: Exporting images from ZGE
Replies: 20
Views: 39354

Re: Exporting images from ZGE

Hi Ats,

The 0x80E1 value equals GL_BGRA .. not GL_RGBA :wink: But yes, simply use GL_BGR as format in glReadPixels if you don't want / need the alpha channel.

K
by Kjell
Thu Nov 21, 2024 4:47 pm
Forum: General discussion
Topic: Scrolling water shader
Replies: 2
Views: 1870

Re: Scrolling water shader

Hi Ats, But now I am wondering how to scroll it... Like a scrolling texture. Is there a known technique for that? Not entirely sure what type of scrolling effect you're trying to achieve .. but perhaps it's either one of the following: <?xml version="1.0" encoding="iso-8859-1" ?>...
by Kjell
Wed Nov 13, 2024 8:16 pm
Forum: General discussion
Topic: Filming an object behind a wall
Replies: 4
Views: 2293

Re: Filming an object behind a wall

Hi Ats, Coming back to your original question(s) .. Currently, when the camera is inside an object, the interior polygons aren’t rendered, or they appear solid if I enable Material DrawBackFace. I’d like to render them semi-transparent. How can I achieve that? You can render the inside of a object u...
by Kjell
Wed Nov 13, 2024 5:22 pm
Forum: General discussion
Topic: Filming an object behind a wall
Replies: 4
Views: 2293

Re: Filming an object behind a wall

Hi Ats, There's a bunch of different ways to tackle this kind of situation. The easiest approach is probably the "Super Mario Sunshine" method .. where you basically render a "shadow" version of your character ( depth-testing disabled ) after rendering your environment, but befor...
by Kjell
Wed Oct 23, 2024 11:00 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 273
Views: 98180

Re: Google Play New problem : 64bits

Hi Ats, What is the difference between procedure TGLDriverFixed.RenderMesh(Mesh: TMesh); and procedure TGLDriverProgrammable.RenderMesh(Mesh: TMesh); ? One is for the fixed-function pipeline ( legacy OpenGL ), the other is for use with shaders ( modern OpenGL ). The fixed-function pipeline had funct...