Search found 630 matches
- Thu May 02, 2024 1:04 pm
- Forum: Your projects
- Topic: SFXR
- Replies: 10
- Views: 17034
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: 10
- Views: 17034
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: 10
- Views: 17034
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: 10
- Views: 17034
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: 49
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: 49
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: 49
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: 266
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: 266
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: 266
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: 266
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...
- Fri Apr 19, 2024 2:48 pm
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 266
Re: Flickering issues in release mode
I'm not getting that difference here. Are you using the latest ZGE update from this year? My ZGE version is new, but since the folder where I unzipped it is shared with Dropbox between my computer and laptop, there might be remnants from an older release causing issues. So I tried downloading a fre...
- Fri Apr 19, 2024 1:57 pm
- Forum: Bug reports
- Topic: Flickering issues in release mode
- Replies: 12
- Views: 266
Re: Flickering issues in release mode
I made a very simple example. Though I am not sure if this is the same problem, since the example is very basic, all while my game is using ES2/GL3+shaders+cameras, you can see the thing doing weird stuff in release mode, while it works fine in preview. The farther the distance from the camera, the ...