Search found 1734 matches

by Kjell
Thu Dec 24, 2020 3:43 pm
Forum: Bug reports
Topic: KeyPress gets stuck
Replies: 9
Views: 490

Re: KeyPress gets stuck

Hi guys,

A good number of the example projects also crash immediately ( including CleanseCube, Steering, TripleE, YakYakReader, ZPong ). Here's the error message for ZBlast.zgeproj

Image

K
by Kjell
Wed Nov 25, 2020 11:30 am
Forum: General discussion
Topic: Populating an array with a random sequence
Replies: 2
Views: 337

Re: Populating an array with a random sequence

Hi jinxtengu, I'm interested in learning how to populate an array with a random sequence of numbers, but importantly I don't want it to repeat any of the same numbers twice. There are quite a few ways to do that, but here's one simple approach: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplicat...
by Kjell
Tue Nov 03, 2020 12:13 am
Forum: Extensions
Topic: XInput
Replies: 5
Views: 1657

Re: XInput

Hi Ats, I tried making an apk out of the example, but it crashes right from the start. XInput is Windows only ( it's part of DirectX ) .. although unofficial drivers exist for Linux and Mac. I have a noob question: are the two rumbles you activate using the trigger buttons supposed to be left and ri...
by Kjell
Mon Aug 03, 2020 11:50 am
Forum: Extensions
Topic: XInput
Replies: 5
Views: 1657

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: 5
Views: 1657

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

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

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

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

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

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

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

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

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

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

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