Search found 913 matches
- Tue Nov 25, 2025 11:55 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Perfect :D I only had one last little problem if the ZExpression test 'if (!DEMO)' is inside a condition Component, but I managed to move things around so it now compiles perfectly ! I just tried the android apk, it is working too. Just one question: are the unused components removed if I compile th...
- Tue Nov 25, 2025 10:37 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
That is better. Now I have another bug when there's an unused ModelState to delete: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <ZLibrary Source="vec3 Object...
- Tue Nov 25, 2025 9:32 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
And here it is 8) <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <ZLibrary Source="vec3 ObjectPosition;"/> </OnLoaded> <Content> <Model Name="EnemyMod...
- Tue Nov 25, 2025 9:13 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Hmm… I sent you the full demo yesterday, but I don’t see my message in the Sent or Outbox. Maybe the file was too large? But this morning I managed to find where the problem is coming from, in the least expected place, even if it makes no sense. I’m trying to make a small working (well… broken) exam...
- Mon Nov 24, 2025 3:44 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
It's better for the strip down example I posted. But this gives a new problem with the full game: Before your last change, I was able to compile the demo roughly one out of two times. The other attempts failed with an ‘Invalid Pointer Operation’ error. Since my game is quite random, I assume somethi...
- Sun Nov 23, 2025 8:02 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
I managed to make a very short example to reproduce a bug that I had trouble tracking down: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <SpawnModel Model="Mo...
- Fri Nov 21, 2025 9:58 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
This is working perfectly. Thanks 
Here’s the demo test, with everything that shouldn’t be included correctly deleted and listed. I love it!
Here’s the demo test, with everything that shouldn’t be included correctly deleted and listed. I love it!
- Thu Nov 20, 2025 3:29 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Sorry, my superpower for stumbling onto random bugs is still very strong 
Is it possible to list which components were deleted during compilation when “Remove unused components” is checked?
Also, I tried enabling “Show compiler details”, but I don’t even know what it’s supposed to show.
Is it possible to list which components were deleted during compilation when “Remove unused components” is checked?
Also, I tried enabling “Show compiler details”, but I don’t even know what it’s supposed to show.
- Thu Nov 20, 2025 1:42 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
After putting things behind ZExpression, it was still not working...
In fact, it is working with const int DEMO = 1;
But not with const byte DEMO = 1;
In fact, it is working with const int DEMO = 1;
But not with const byte DEMO = 1;
- Thu Nov 20, 2025 11:55 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
Oh... Thanks a lot 
- Thu Nov 20, 2025 9:23 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
After some tests, I can’t seem to make the content disappear behind the DEMO bool in my game. So I made an example with two models. The first one works a bit like what I’m doing in my game, and I made a second one that completely skips the ModelStates. But even after putting the material and bitmap ...
- Wed Nov 19, 2025 9:30 am
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
It works perfectly. At first, I thought it wasn’t working anymore, but that was because Windows don’t update the outputted EXE file size unless you press F5 in the Explorer :lol: This really simplifies what I had envisioned for creating a demo. Now I just need to refactor my game’s content a little ...
- Tue Nov 18, 2025 3:38 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
The option to Remove Unused Components is working nicely on Omeganaut. I'm waiting for it to be recursive until there is nothing left to remove 
- Tue Nov 18, 2025 12:42 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
I started hiding content behind if (!DEMO) tests this morning. I'll continue when I'll get back.
I tied using Kjell CD covers demo, and it was working already.
I tied using Kjell CD covers demo, and it was working already.
- Tue Nov 18, 2025 12:17 pm
- Forum: General discussion
- Topic: Making a demo out of a full project
- Replies: 37
- Views: 1730
Re: Making a demo out of a full project
I'm not on my computer to try, but wouldn't that case be solved if Remove Unused Components was called twice?
So what about running it until there is nothing to remove before building?
So what about running it until there is nothing to remove before building?