Search found 613 matches

by Ats
Thu Jun 29, 2023 4:32 pm
Forum: General discussion
Topic: ZGEBullet Collision Shape Viewer / Editor
Replies: 14
Views: 93508

Re: ZGEBullet Collision Shape Viewer / Editor

All right, thanks for the explanations Kjell. After some thought, I'm planning to create an exporter in ruby for Sketchup, as I prefer that program to make low poly spaceships. But first thing first, I need to choose a size of reference: In ZGEBullet, when I create a basic cube, it goes like this: S...
by Ats
Wed Jun 28, 2023 8:48 pm
Forum: General discussion
Topic: ZGEBullet Collision Shape Viewer / Editor
Replies: 14
Views: 93508

ZGEBullet Collision Shape Viewer / Editor

Hello, it's the summer again, I'm back in the game... And I rediscover why I completely stopped working on Omeganaut: setting the collision shapes is a hassle. We can't see the collision Bodies of ZGEBullet, so I had to do some magic with basic visible meshes and transformation scales. But it is sti...
by Ats
Fri Apr 28, 2023 9:31 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63631

Re: Edit XML with an external editor

Thanks VilleK. I just downloaded and tried on my project. For starters, I'm not really convinced by the node tree being reopened. It's super slow now. It looks like the whole project is being reopened from scratch. Or maybe it's the same speed as before and I emphasize on it, I'm not sure. Was it th...
by Ats
Fri Apr 21, 2023 9:55 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63631

Re: Edit XML with an external editor

Hahaha thanks for those overkill examples. I may not directly use them like that, but they could be handy to load some other external data that I get from a spreadsheet :wink:

Edit:
Thanks VilleK. There is no rush. I'm just planning my next moves in order to get motivated to continue!
by Ats
Thu Apr 20, 2023 2:02 pm
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63631

Re: Edit XML with an external editor

Can you elaborate on what difficulties you're experiencing because your project is so huge? Mostly, having to deploy the component tree in order to select the right thing to display a lot of lines of code into the little ZGE code editor. And if I edit anything in the XML editor, it will entirely cl...
by Ats
Thu Apr 20, 2023 9:08 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63631

Re: Edit XML with an external editor

Hello. My game is slowly becoming huge for only one file, even if I comment everything in order to find what and where things are... I'm planning to write a simple batch file to append several txt files into one final xml project, and so I was wondering if it would be possible to build a zgeproj wit...
by Ats
Sat Feb 18, 2023 8:25 am
Forum: General discussion
Topic: Recycling models, is it worth it?
Replies: 6
Views: 7727

Re: Recycling models, is it worth it?

hahaha, another simple yet super explicit and colorful example of yours. Thanks. For the benchmark, I'll do that when I'll finish fusing all the FX into one Model, now that I know Category can be changed without breaking everything. I'll just have to switch on/off the spool and run some tests. Regar...
by Ats
Fri Feb 17, 2023 7:21 pm
Forum: General discussion
Topic: Recycling models, is it worth it?
Replies: 6
Views: 7727

Re: Recycling models, is it worth it?

Thanks Kjell. And with the addition of ModelState, the BoxReset in Box Model can then call substates with their own initialization, which is pretty neat. <OnSpawn> <ZExpression Name="BoxReset"> <Expression> switch(CurrentModel.Box_Type) { case 0: @SetModelState(State:State_Box_Cube); break...
by Ats
Fri Feb 17, 2023 10:27 am
Forum: General discussion
Topic: Recycling models, is it worth it?
Replies: 6
Views: 7727

Re: Recycling models, is it worth it?

It freezes for a few frames on some recent phones when I spawn more than 30 enemies at a time... So I made a little working example, but I'm not happy with setting the Thing parameters in the general activateThing function. I would prefer them to be set in the model, so I don't have to search everyw...
by Ats
Thu Feb 16, 2023 7:00 pm
Forum: General discussion
Topic: Recycling models, is it worth it?
Replies: 6
Views: 7727

Recycling models, is it worth it?

Between the enemies, the buildings, the weapons and the debris, I have a lot of models being created and destroyed all the time in my game. So I was wondering if I should keep it that way, or if it would be better to recycle them. I guess it would consist of adding the created models in an array, an...
by Ats
Wed Feb 15, 2023 4:51 pm
Forum: Bug reports
Topic: Why asking for save after building for Android?
Replies: 0
Views: 35083

Why asking for save after building for Android?

It's not really a bug, but rather an improvement, as the current behavior is a bit weird: Here's the repro: Open a project Don't change anything Build for Android Try to close the project Result: it's marked as changed, even if that's not the case, and it wants to be saved. That does not happen when...
by Ats
Tue Feb 14, 2023 9:30 am
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 104
Views: 275080

Re: 3D Physics with ZgeBullet

So in case you need to know which model a body belongs to on collision, make sure you use zbtSetUserModel so Bullet can tell you. But that is my whole problem: Only zbtRayTest returns a collision object, that can be reverted to a Model, using zbtGetUserModel (and obviously zbtSetUserModel when I at...
by Ats
Mon Feb 13, 2023 6:54 pm
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 104
Views: 275080

Re: 3D Physics with ZgeBullet

Oh, you are totally right, now I understand my mistake :lol: But still, I was expecting ZgeBullet to be capable of retrieving what objects are simply colliding, since it can do that with a zbtRayTest followed by zbtGetUserModel. Right now, since there are a lot of lasers, enemies and other objects, ...
by Ats
Mon Feb 13, 2023 4:41 pm
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 104
Views: 275080

Re: 3D Physics with ZgeBullet

Not sure if you're referring to the ZgeBullet docs or the ZGameEditor docs, but this should be common knowledge in ZGE. I'm referring to the ZgeBullet doc. Since it's an external library, I didn't expect the zbtIsCollidedWith function to only work with reference model. For the rest, I'm not sure to...
by Ats
Mon Feb 13, 2023 9:53 am
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 104
Views: 275080

Re: 3D Physics with ZgeBullet

Oh, all right. So with models spawned as reference, the test is running correctly. It's good to know, as it isn't explained in the doc. But that doesn't help me find when a (clone) laser has touched a (clone) enemy. Actually, I test if the laser has touched something (enemy, wall...) and then the la...