Search found 871 matches

by Ats
Wed Oct 22, 2025 12:29 pm
Forum: General discussion
Topic: Questions regarding looping sounds using ZGE Sound
Replies: 4
Views: 100

Re: Questions regarding looping sounds using ZGE Sound

Nice way to handle the infinite length and volume.
Kjell wrote:There's no limit to the amount of sounds playing on the same channel simultaneously.
That will simplify a lot of things in my game. I don't know why, I really thought a channel could only play one sound at a time :lol:
by Ats
Wed Oct 22, 2025 8:31 am
Forum: General discussion
Topic: Questions regarding looping sounds using ZGE Sound
Replies: 4
Views: 100

Re: Questions regarding looping sounds using ZGE Sound

Thanks, Kjell! After a lot of tries, I finally managed to get something working without it sounding like a Geiger counter. I had to modify the BaseNoteNr, because once the sound is launched with a NoteNr, it can’t be changed afterward. So here’s my little sound engine toy, based on your example: <?x...
by Ats
Tue Oct 21, 2025 2:38 pm
Forum: General discussion
Topic: Questions regarding looping sounds using ZGE Sound
Replies: 4
Views: 100

Questions regarding looping sounds using ZGE Sound

Since the very beginning of my project, I set up some kind of noise as a motor sound and then triggered it repeatedly using something like: int Sound_Channel = 0; void ChangeSoundChannel() { Sound_Channel++; if (Sound_Channel > 3) Sound_Channel = 0; } void PlaySound(Sound snd, vec3 pos, float vmax, ...
by Ats
Fri Oct 17, 2025 1:01 pm
Forum: General discussion
Topic: Problem with zgeproj file encoding
Replies: 5
Views: 360

Re: Problem with zgeproj file encoding

I have version control in Dropbox, but I often save more than the history limit allows. My SublimeText script saves the file in order to run it. I could try a revert, like I did yesterday, but this is the second time ZGE has broken all the characters in my years-long project in just two days. So I’m...
by Ats
Fri Oct 17, 2025 12:17 pm
Forum: General discussion
Topic: Forum problem
Replies: 2
Views: 3168

Re: Forum problem

Yeah… the open web keeps shrinking. Everything needs walls now just to stay online against bots, making the experience tiresome for us humans. On my own server, I’ve had to set up aggressive rules to detect suspicious connections and automatically quarantine them for a week. The logs show thousands ...
by Ats
Fri Oct 17, 2025 11:43 am
Forum: General discussion
Topic: Problem with zgeproj file encoding
Replies: 5
Views: 360

Re: Problem with zgeproj file encoding

All right, so it was ZGameEditor that put "iso-8859-1" in the XML encoding, so everything was normal after all. But I made the mistake of saving my project from ZGE, so now all the éèù... characters are permanently broken. This time, they’ve all been replaced by "?", so I can’t e...
by Ats
Thu Oct 16, 2025 7:35 am
Forum: General discussion
Topic: Problem with zgeproj file encoding
Replies: 5
Views: 360

Re: Problem with zgeproj file encoding

Never mind, I found it. The problem was coming from the .zgeproj's xml definition:
<?xml version="1.0" encoding="iso-8859-1" ?>
instead of
<?xml version="1.0" encoding="utf-8" ?>

I have no idea how this was changed... :shock:
by Ats
Thu Oct 16, 2025 7:30 am
Forum: General discussion
Topic: Problem with zgeproj file encoding
Replies: 5
Views: 360

Problem with zgeproj file encoding

Hello, I have a nez weird problem today... Do you happen to know what the file encoding of .zgeproj files is? I believe it’s UTF-8, right? Since yesterday, when I open my project in Sublime Text and then open it in ZGameEditor, all the French characters are messed up. I can’t save my project in ZGam...
by Ats
Mon Oct 13, 2025 11:20 am
Forum: General discussion
Topic: Help for wireframe in Android ES2/GL3
Replies: 4
Views: 1949

Re: Help for edge shader (wireframe) in ES2/GL3

All versions of OpenGL ES support GL_LINES, GL_LINE_LOOP and GL_LINE_STRIP. Oh, ok. Reddit is so full of crap :lol: Anyway, I have something that is working a bit like I want. I'm going to try it on Android, to see if it is showing up. And I'll make it better, faster and stronger another day. <?xml...
by Ats
Mon Oct 13, 2025 10:05 am
Forum: General discussion
Topic: Help for wireframe in Android ES2/GL3
Replies: 4
Views: 1949

Re: Help for edge shader (wireframe)

Oh, thanks. Coloring each triangle with 3 colors was that I was trying to do, but I didn't know I could put a ZExpression inside a Mesh Producers. So I was kind of stuck, wondering if I had to edit the mesh inside blender or something... Your example is really helpful. I don't seem to find a simple ...
by Ats
Sat Oct 11, 2025 5:29 pm
Forum: General discussion
Topic: Help for wireframe in Android ES2/GL3
Replies: 4
Views: 1949

Help for wireframe in Android ES2/GL3

Hello. I'm trying to write a shader to display the edges of a model, just like the basic Material Wireframe, but that should work on Android. I'm getting to something, but the lines are in the middle of the faces, not on the edges. And I'm kind of lost :lol: What is wrong with the way I'm doing this...
by Ats
Wed Sep 24, 2025 5:45 pm
Forum: General discussion
Topic: Low poly water splash trail
Replies: 1
Views: 12400

Low poly water splash trail

Hello. Today I'm trying to make a moving water splash trail, but with low polygon count. Something in between this realistic animation: https://app.productioncrate.com/assets/vfx/fc_effects/footagecrate-water-splash-trail-1 and the effect seen on both sides of the boat in Wind Waker: windwaker.jpg A...
by Ats
Thu Aug 21, 2025 10:42 am
Forum: General discussion
Topic: [Solved] Help to get Sunvox module volume (maybe using json?)
Replies: 12
Views: 533742

Re: [Solved] Help to get Sunvox module volume (maybe using json?)

I guess that's why the File component has the FileEmbedded property :wink: I guess you are right. My method make sense for all the spaceship datas that are stored, modified and generated from the sheet, but for the music volumes, since the txt files already exist, that makes total sense. You can, y...
by Ats
Thu Aug 21, 2025 8:46 am
Forum: General discussion
Topic: [Solved] Help to get Sunvox module volume (maybe using json?)
Replies: 12
Views: 533742

Re: [Solved] Help to get Sunvox module volume (maybe using json?)

Maybe this is the simplest way to achieve this: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" FileVersion="2"> <OnLoaded> <ZLibrary Comment="Music Volumes" HasInitializer="1&quo...
by Ats
Thu Aug 21, 2025 7:09 am
Forum: General discussion
Topic: [Solved] Help to get Sunvox module volume (maybe using json?)
Replies: 12
Views: 533742

Re: [Solved] Help to get Sunvox module volume (maybe using json?)

Hahaha I have one last problem regarding the same number storage within the game :lol: When my game isn’t in DEBUG_MUSIC mode, I would like to embed the volumes of the music instruments directly in the game, instead of relying on external text files. Typically, in other languages, I would store my a...