Search found 632 matches

by Ats
Mon Sep 11, 2023 7:53 pm
Forum: General discussion
Topic: CollisionBounds fourth value?
Replies: 3
Views: 22925

Re: CollisionBounds fourth value?

Never mind, I got it like a color: Model.CollisionBounds.A

But now I'm wondering what it has to do with bounds :lol:

Edit:
and Model.CollisionBounds.W

Maybe it should be mentioned in the Help :wink:
by Ats
Mon Sep 11, 2023 7:47 pm
Forum: General discussion
Topic: CollisionBounds fourth value?
Replies: 3
Views: 22925

CollisionBounds fourth value?

Hello. There is a fourth value that can be set for CollisionBounds, besides X,Y and Z. collisionbounds.png There is no word about it in the Help: The size of this model when it is tested for collision. This value is interpreted differently depending on the value of the CollisionStyle property: • Col...
by Ats
Sat Sep 09, 2023 11:06 am
Forum: General discussion
Topic: Tracing Floats
Replies: 2
Views: 20084

Re: Tracing Floats

Oh, all right. Thanks for the explanations, Kjell :wink:
by Ats
Sat Sep 09, 2023 6:06 am
Forum: General discussion
Topic: Tracing Floats
Replies: 2
Views: 20084

Tracing Floats

Hello. I made a little function a while ago to simply trace floats. But I just discovered it crashes if the number I want to display is lower than 1. void traceFloat(float n, byte d) { string integer = intToStr(n); string dust = subStr(intToStr(n * pow(10, d)), length(integer), d); trace(integer + &...
by Ats
Sun Aug 27, 2023 3:01 pm
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 65634

Re: Edit XML with an external editor

Thanks. The batch is working nicely now, and it's not erasing the ZGameEditor.ini anymore.
by Ats
Fri Aug 25, 2023 10:14 am
Forum: Feature requests
Topic: Update upx.exe?
Replies: 5
Views: 37395

Re: Update upx.exe?

Oh, ok then. Thanks.
by Ats
Tue Aug 22, 2023 7:11 pm
Forum: Feature requests
Topic: Update upx.exe?
Replies: 5
Views: 37395

Re: Update upx.exe?

Oh, all right. Or maybe just put a txt file in the Tool folder, explaining how to retrieve the exe and put it here :wink:
by Ats
Sun Aug 20, 2023 2:20 pm
Forum: Feature requests
Topic: Update upx.exe?
Replies: 5
Views: 37395

Re: Update upx.exe?

I just tried the new upx.exe: Windows: upx.exe Omeganaut.exe 2383Ko -> 432Ko Works perfectly Linux: upx.exe Omeganaut 2237Ko -> 318Ko But file is now broken: An unhandled exception occured at $0000000000401604: EAccessViuolation: Access violation $0000000000401604 I'm currently deciphering the upx-d...
by Ats
Sun Aug 20, 2023 1:41 pm
Forum: Feature requests
Topic: Update upx.exe?
Replies: 5
Views: 37395

Update upx.exe?

Since I saw that upx.exe is missing in the latest release of ZGE , I started searching how it works, for my batch packer. Then I discovered that the help document of ZGE is pointing to https://github.com/korczis/upx/tree/master, which is 11 years old. The maintained sourcecode of upx is to here now:...
by Ats
Sun Aug 20, 2023 9:14 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 65634

Re: Edit XML with an external editor

I was searching for the bat discussion in the forum, and I just discovered I never replied to your question... :oops: Maybe your project is huge? How many seconds does it take? The project is a blasting 689Ko. Most of the size comes from the 3DS imported objects. The project tree takes 16 seconds to...
by Ats
Thu Aug 03, 2023 9:45 am
Forum: Bug reports
Topic: Lock isn't locked after XML edit
Replies: 0
Views: 47788

Lock isn't locked after XML edit

How to reproduce:
  • Click something (ex: App:ZApplication)
  • Click the toggle lock preview
  • Click the Edit XML, modify it and validate
Result:
  • Toggle lock is still lit, but in fact it isn't
  • You can click it once to lock it
by Ats
Tue Jul 25, 2023 10:08 am
Forum: General discussion
Topic: Skybox
Replies: 4
Views: 21757

Re: Skybox

Oh right, I had to start from a 2D rectangle to make the cylinder!!! That's why the one I was trying to make would look like an old pillow. Thanks :D Do you want / need your clouds to animate over time? Not just scrolling? Yes. But the clouds are only animated during the stage transitions. It change...
by Ats
Tue Jul 25, 2023 8:45 am
Forum: General discussion
Topic: Skybox
Replies: 4
Views: 21757

Re: Skybox

All right, I get it :wink: But the problem is that I'm taking advantage of ZGE BitmapNoise to make a moving background. I'm trying with a SkyCylinder, that only rotates on its X axis. It should work, but the cylinder mesh ZGE Library.xml is made out of a sphere, without texture coordinates. So I mad...
by Ats
Mon Jul 24, 2023 9:40 pm
Forum: General discussion
Topic: Skybox
Replies: 4
Views: 21757

Skybox

Hello. I want to rotate the sky while landing on planets in Omeganaut. So I'm planning to replace the background rectangle by a skybox. But I don't know how to get rid of the visible edges and corners of the cube. Is this possible, or should I use a skysphere instead? Here's my simple example: <?xml...
by Ats
Wed Jul 05, 2023 1:49 pm
Forum: General discussion
Topic: ZGEBullet Collision Shape Viewer / Editor
Replies: 14
Views: 95089

Re: ZGEBullet Collision Shape Viewer / Editor

And it's done! The whole thing can be optimized, but it's working and already saving me tons of time. Here's the latest ZGE project. I moved the creation of the ZGEBullet shapes to the same ZLibrary as the declaration of their names, so it is simpler to not forget things. <?xml version="1.0&quo...