Search found 1787 matches

by Kjell
Thu Jul 23, 2020 9:51 am
Forum: Tips'n'Tricks
Topic: Hot-swap Bitmap
Replies: 5
Views: 9985

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: 16
Views: 15604

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: 3215

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: 2898

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: 7038

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: 2709

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: 3366

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: 47210

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: 5997

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: 5997

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: 3254

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...
by Kjell
Wed Jan 15, 2020 11:24 am
Forum: General discussion
Topic: Virus or false positive?
Replies: 46
Views: 47210

Re: Virus or false positive?

Hi guys,

Just chiming in that i haven't had any Windows Defender false-positives on my computer(s) either since the September 27, 2018 occurrence.

K
by Kjell
Thu Sep 26, 2019 2:03 pm
Forum: General discussion
Topic: Coding a radar, and a bunch of other stuff perhaps.
Replies: 2
Views: 6138

Re: Coding a radar, and a bunch of other stuff perhaps.

Hi jinxtengu, I am interested in coding a radar showing the positions of enemies in relation to the player, similar to the old game Battlezone Personally i wouldn't call what Battlezone 2000 on ATARI Lynx does a "radar" .. it's more like a mini-map. A radar only updates the location of objects it de...
by Kjell
Sat Sep 14, 2019 10:10 am
Forum: Extensions
Topic: Very Simple MP3 Player DLL
Replies: 11
Views: 20484

Re: Very Simple MP3 Player DLL

Do I always have to refer to a particular file name in order to stop it or is there a way to just issue a command "Stop current playing track"? You can assign a alias ... which requires the file to be opened & closed ( instead of just play & stop ). It's pretty straight-forward though, here's a mod...
by Kjell
Fri Sep 13, 2019 9:55 am
Forum: Extensions
Topic: Very Simple MP3 Player DLL
Replies: 11
Views: 20484

Re: Very Simple MP3 Player DLL

Hi rrTea, Is there any way to control the volume? I'm trying to fade a song at a particular point at the end of the stage. Sure, put the following ZExpression in App.OnUpdate of the Sunset example for a demonstration ( move mouse up & down to control the volume ). float v = (App.MousePosition.Y+1)*5...