Search found 1731 matches

by Kjell
Mon Aug 03, 2020 11:50 am
Forum: Extensions
Topic: XInput
Replies: 2
Views: 88

Re: XInput

Hi Ats, Does it detect digital pad and shoulders buttons too? I haven't tested it with every XInput compatible controller in existence .. but no problems ( for me ) so far :wink: https://i.imgur.com/DA7uOoY.gif Those were not working before. You have a controller that works with the built-in joystic...
by Kjell
Sun Aug 02, 2020 5:02 pm
Forum: Extensions
Topic: XInput
Replies: 2
Views: 88

XInput

8) For people that also want / need to support XInput* gamepads. Attached is a small wrapper & demo .. the left & right rumble motors are tied to the left & right analog triggers ( for demonstration purposes ). *XInput only supports XInput compatible devices, while the build-in joystick functions do...
by Kjell
Fri Jul 31, 2020 11:12 am
Forum: General discussion
Topic: Filtering flickering on screen
Replies: 2
Views: 74

Re: Filtering flickering on screen

Hi Ats, I just read that article and find the rendering very smooth. Is it possible to achieve something like this in ZGE using shaders? Sure, you can just ( pretty much ) copy-paste the fragment shader. Thing is though, that this is a technique useful with runtime procedural textures. So unless tha...
by Kjell
Mon Jul 27, 2020 9:45 am
Forum: General discussion
Topic: Mapping a Cube from a texture sheet
Replies: 4
Views: 182

Re: Mapping a Cube from a texture sheet

Hi Luis, There's a couple of ways to do this, but generally you want to calculate ( or look-up ) the appropriate texture coordinates for each cube "type". See attached file for a basic example. The thing is though .. since Minecraft uses so many cubes it isn't really viable ( performance-wise ) to r...
by Kjell
Thu Jul 23, 2020 9:51 am
Forum: Tips'n'Tricks
Topic: Hot-swap Bitmap
Replies: 5
Views: 6329

Re: Hot-swap Bitmap

Hi Lupo,
Lupo wrote:
Wed Jul 22, 2020 4:30 pm
Would it be easy to load the bitmaps from an external file instead of embedded?
The principle is easy .. but since ZGE doesn't have any image decoders built-in ( aside from a JPG subset ) it really depends on the image format(s) that you want to support whether or not it's easy.

K
by Kjell
Mon Jun 08, 2020 1:25 pm
Forum: General discussion
Topic: Odd rendering errors on Android
Replies: 12
Views: 7277

Re: Odd rendering errors on Android

Hej Ville, The problem iirc is that these lines are not supported on GLES: glGetFloatv(GL_PROJECTION_MATRIX, @Matrix); glGetFloatv(GL_MODELVIEW_MATRIX, @TmpM); Those calls are supported in ES 1.1, so that shouldn't be the problem ( since i think Ats is using "Compatible" GLBase ). Regardless, you sh...
by Kjell
Fri Jun 05, 2020 9:21 pm
Forum: General discussion
Topic: are ZGameEditor and the ZGameEditor Visualizer the same thing
Replies: 3
Views: 461

Re: are ZGameEditor and the ZGameEditor Visualizer the same thing

Hi dytract, im trying to make effects for the zGameEditor Vistualizer, and I wanna know if I can use this SDK to do that. Yup, effects for ZGameEditor Visualizer ( the plugin included with FL Studio ) are created using ZGameEditor. You can start by using one of the "New project" templates that targe...
by Kjell
Thu May 21, 2020 8:34 pm
Forum: General discussion
Topic: Efficient way to add noise on a gradient sky?
Replies: 2
Views: 544

Re: Efficient way to add noise on a gradient sky?

Hi Ats, Oh, by the way, the purpose is to generate sky gradients on the fly, the sky gradient could be a 64x64 bitmap with a 4096*4096 noise generated only once and blended into i,t if that could help for the speed. But is it possible to blend two materialTextures of different sizes inside a materia...
by Kjell
Sun Apr 26, 2020 10:20 am
Forum: General discussion
Topic: Z80 ZX Spectrum build support (+ Sega Master System and Vectrex)
Replies: 7
Views: 2142

Re: Z80 ZX Spectrum build support

Hej Ville, Super cool & wild idea! Some notes regarding the Master System / Game Gear target. - Non-Japanese ROMs actually require a header at the end, which includes a ROM size descriptor nibble .. so ROMs needs to be padded. - The VDP can only handle VRAM writes every 29 cycles outside of the VBla...
by Kjell
Sun Apr 19, 2020 4:11 pm
Forum: General discussion
Topic: Question About the License
Replies: 1
Views: 545

Re: Question About the License

Hi Fate, Can I sell games made with ZGameEditor? Because it says in the website that the source itself is under MIT License. But I'm wondering about the games the software itself produces (or compiles). Sure! Of course you can sell games made with ZGE ... no revenue caps, royalties or mandatory spla...
by Kjell
Wed Feb 19, 2020 12:01 pm
Forum: General discussion
Topic: simple camera rotation problem
Replies: 2
Views: 1047

Re: simple camera rotation problem

Hi jinxtengu, But I do have one other question, how do we invert a value, to turn it from a positive to a negative and vice versa? The simplest method is to just use put a negative sign in front of your variable, but any of these will work ... value = -value; value = 0-value; value *= -1; value = va...
by Kjell
Wed Feb 19, 2020 11:56 am
Forum: General discussion
Topic: Virus or false positive?
Replies: 46
Views: 26330

Re: Virus or false positive?

Hej Ville,
VilleK wrote:
Wed Feb 19, 2020 7:33 am
Is the Player.bin from latest ZGE working for you?
Same problem here ( 1.309.1271.0 definitions ) ...

K
by Kjell
Mon Feb 10, 2020 9:51 am
Forum: General discussion
Topic: Retriggering an already playing sound
Replies: 7
Views: 2072

Re: Retriggering an already playing sound

Hej Ville, Although in this case it is not the "GlobalLFO" that is used but the LFO that is local to the sound, so could perhaps be a bug here. I didn't mean the global LFOs that are part of the AudioMixer, i meant the way that they are driven seemed "global". But perhaps the fact that they aren't r...
by Kjell
Sun Feb 09, 2020 12:21 pm
Forum: General discussion
Topic: Retriggering an already playing sound
Replies: 7
Views: 2072

Re: Retriggering an already playing sound

Hi rrTea,
rrTea wrote:
Sun Feb 09, 2020 3:33 am
Sound 1 in Group 1 is from the original example and it works as expected, but sound 2 (from my project) breaks and sounds different every time it's triggered. Why?
It's because the LFOs are driven globally, so they don't get reset every time you re-trigger the sound.

K
by Kjell
Fri Feb 07, 2020 10:25 pm
Forum: General discussion
Topic: How to color an imported 3ds mesh?
Replies: 3
Views: 1013

Re: How to color an imported 3ds mesh?

Hi Ats, I'm trying to color an imported 3DS mesh directly in ZGE. This mesh is already colored using vertex colors. I tried UseMaterial and RenderSetColor without success. Vertex colors, material color and RenderSetColor all manipulate the same data in the fixed-function pipeline, so you can't "comb...