Search found 632 matches
- Thu May 02, 2024 4:56 pm
- Forum: General discussion
- Topic: Edition of the Sound component
- Replies: 5
- Views: 6916
Re: Edition of the Sound component
There was an idea to add some kind of high-level wizard interface on top of this. Something like SFXR. I remember that Kjell even had a prototype of this. Is that right, Kjell? After playing with sfxr and seeing the limitations, I would be more than happy to see that, and to help to make it, if nee...
- Thu May 02, 2024 4:00 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 11
- Views: 17073
Re: SFXR
With the new method, I still had to add a little +1 to prevent crashing. But it's running just fine :wink: buffer.SizeDim1 = S + 1; // Set buffer size MySampleIndex = 0; That's because SFXR uses doubles ( 64-bit floating point ) for some variables, which is something ZGE doesn't support. So I trimme...
- Thu May 02, 2024 1:04 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 11
- Views: 17073
Re: SFXR
Hahaha, I've fallen into a new loophole. All right. So from what I understand, the buffer size should be equal to the sample lenght, right? float S = SampleLength(); // Get the sample length float L = S/44100; // Get the sample length in seconds // MySound.Length = L; // Set the Sound component leng...
- Wed May 01, 2024 8:58 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 11
- Views: 17073
Re: SFXR
Following Kjell's concerns about the amount of time the generation of the sound can take, I made an example that runs all the sounds presets of jsfxr. 0 key = pickupCoin 1 key = laserShoot 2 key = explosion 3 key = powerUp 4 key = hitHurt 5 key = jump 6 key = blipSelect 7 key = synth 8 key = tone 9 ...
- Wed May 01, 2024 5:39 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 11
- Views: 17073
Re: SFXR
it would have been nice if ZGE exposed the audio interface ( DirectSound on Windows ) so you don't have to run a second interface Oh, ok, I get it. Alternatively, how could I import several sfx sounds without having to loop on each file to read their data? Maybe I could simply copy/paste the serial...
- Wed May 01, 2024 5:03 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 11
- Views: 17073
Re: SFXR
I quickly updated Kjell's example, as ZGE isn't happy anymore with names being the same as components File:File, Sound:Sound and Sample:Sample. Weirdly enough, KeyPress:KeyPress isn't an issue. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Captio...
- Wed May 01, 2024 12:16 pm
- Forum: Feature requests
- Topic: Triple mouse-click to select entire line of text
- Replies: 5
- Views: 50
Re: Triple mouse-click to select entire line of text
It was just an idea to improve the UX. If it's much more complicated than simply updating an external library, forget about it
- Tue Apr 30, 2024 7:38 am
- Forum: Feature requests
- Topic: Triple mouse-click to select entire line of text
- Replies: 5
- Views: 50
Re: Triple mouse-click to select entire line of text
Thanks. So I tried to replace included SynEdit by the new one, but it's not that simple :lol: Here's what I did: Install Delphi RADStudio Download ZGameEditor: https://github.com/VilleKrumlinde/zgameeditor Fix drive letter in the project: ZDesigner.dproj line 67: <DCC_DcuOutput>t:\temp\zge</DCC_DcuO...
- Mon Apr 29, 2024 5:32 pm
- Forum: Feature requests
- Topic: Triple mouse-click to select entire line of text
- Replies: 5
- Views: 50
Triple mouse-click to select entire line of text
The double-click to select an entire word is already implemented. Is it possible to add a triple-click to select an entire paragraph? I'm not sure if this requires custom programming or if it's an option in the ZDesigner project settings. I'll take a look at the source code. In the meantime, we can ...
- Wed Apr 24, 2024 10:13 am
- Forum: General discussion
- Topic: Glow shader ES2/GL3
- Replies: 1
- Views: 84
Glow shader ES2/GL3
Hello. I'm still trying to make "simple" shaders from time to time :lol: So today I'm trying to port that one to ZGE: https://stackoverflow.com/questions/8166384/how-to-get-a-glow-shader-effect-in-opengl-es-2-0 Since I'm not using textures, I was trying to do that directly with the vertex ...
- Sun Apr 21, 2024 9:36 pm
- Forum: General discussion
- Topic: Color effect
- Replies: 5
- Views: 9108
Re: Color effect
All right, I managed to convert the dither example to ES2/GL3: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" GLBase="1" LightPosition="0.25 1 0.5" FileVersion="2"> <OnLoade...
- Sat Apr 20, 2024 6:42 am
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 282
Re: Flickering issues in release mode
And just to show that even with 24-bit you need to keep your clipping range in check :wink: Thanks for the heads-up, Kjell! I always wondered why the planets with rings had severe z-order problems (but not on NVIDIA video cards). Turns out that the camera filming them is ranging from ClipNear 0.1 t...
- Fri Apr 19, 2024 5:06 pm
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 282
Re: Flickering issues in release mode
Here's libzgeandroid.so for Android:
I'll finish producing the linux lib tomorrow, as I can't simply svn checkout ZGameEditor on GitHub, and I don't know why...
It's working nicely too I'll finish producing the linux lib tomorrow, as I can't simply svn checkout ZGameEditor on GitHub, and I don't know why...
- Fri Apr 19, 2024 4:18 pm
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 282
Re: Flickering issues in release mode
While I was setting up the Android development stuff, I noticed that, in GitHub, you modified: Build/android/java/src/org/zgameeditor/Zge.java setEGLConfigChooser(8, 8, 8, 8, 24, 0); Yet, in the new zip of ZGameEditor, it is still in 16 bits: ZGameEditor\Android\Template\4.1\src\org\zgameeditor\Zge....
- Fri Apr 19, 2024 3:46 pm
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 282
Re: Flickering issues in release mode
have Thanks, it's working perfectly on Windows. Though, I had to deactivate Windows Defender because the new ZGameEditor.exe is triggering the antivirus like old time... I need to set a few things in order to compile the new libzgeandroid.so and Player_linux.bin files. But I'll post them when it's d...