Search found 1612 matches
- Wed Mar 21, 2018 12:29 pm
- Forum: General discussion
- Topic: Color effect
- Replies: 4
- Views: 339
Re: Color effect
Hi rrTea, Right now I don't really understand how it works so I'll have to study it a bit before trying to (eventually) use it seriously. The way that it works is that the screen is divided up in blocks of 8x8 pixels ( using modulo ). Each color component of those pixels are compared against a value...
- Tue Mar 20, 2018 11:15 am
- Forum: General discussion
- Topic: Color effect
- Replies: 4
- Views: 339
Re: Color effect
Hi rrTea, Basically yes .. but there quite a few different dithering algorithms ( each with their own specific look ). Attached are two simple examples; one that simply reduces the output to 256 colors / 8-bit ( red and green are 3-bit while blue is 2-bit ) and another one that dithers the output us...
- Tue Feb 13, 2018 11:25 am
- Forum: Extensions
- Topic: Very Simple MP3 Player DLL
- Replies: 5
- Views: 2897
Re: Very Simple MP3 Player DLL
Hi,
The file is still there .. but Dropbox changed the way public files / links work in 2017. Anyway, here the new link
K
The file is still there .. but Dropbox changed the way public files / links work in 2017. Anyway, here the new link

K
- Tue Dec 26, 2017 11:10 am
- Forum: General discussion
- Topic: Picture effect
- Replies: 2
- Views: 275
Re: Picture effect
Hi rrTea,
It's a rounding error. You should use the following ( instead of your clamp functions ) in your BitmapExpression ..
K
It's a rounding error. You should use the following ( instead of your clamp functions ) in your BitmapExpression ..
Code: Select all
cX = round( X*mX );
cY = round( Y*mY );
K
- Fri Sep 15, 2017 11:50 am
- Forum: General discussion
- Topic: Offset on spawned model.
- Replies: 2
- Views: 738
Re: Offset on spawned model.
Hi jinxtengu, You should get the view matrix of the camera, reset the translation components and multiply it with your desired offset vector. Here's a ( simple ) example .. press left-mouse-button to spawn a model. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name=&...
- Wed Jul 12, 2017 11:37 am
- Forum: Bug reports
- Topic: file f; non standard capitalization
- Replies: 3
- Views: 1215
Re: file f; non standard capitalization
Hi rrTea,
That's because int / float / string and even model ( a pointer to a Model instance ) are built-in data types, while Bitmap / File / Sound are component types.
K
That's because int / float / string and even model ( a pointer to a Model instance ) are built-in data types, while Bitmap / File / Sound are component types.
K
- Sat Jul 01, 2017 10:10 am
- Forum: Bug reports
- Topic: ZGameEditor.ini program close bug, prevents normal close function
- Replies: 3
- Views: 797
Re: ZGameEditor.ini program close bug, prevents normal close function
Hi guys, Another way to circumvent the problem is to run ZGameEditor as administrator. You can do this by right-clicking on ZGameEditor.exe ( or a shortcut to it ) and selecting "Run as administrator", or enabling that for the executable / shortcut by selecting "Properties" inste...
- Fri May 12, 2017 12:09 am
- Forum: General discussion
- Topic: Creating a bullet trail effect
- Replies: 3
- Views: 1079
Re: Creating a bullet trail effect
Hi jinxtengu, Shaders aren't necessary for what I'm trying to do, I'd be happy if it were a single color. I can't think of any examples off the top of my head, but I'd describe the effect as looking like a projectile that spawns a continuous trail of shrinking objects in it's wake(without viable gap...
- Thu May 11, 2017 2:53 pm
- Forum: General discussion
- Topic: Creating a bullet trail effect
- Replies: 3
- Views: 1079
Re: Creating a bullet trail effect
Hi jinxtengu,
With or without shaders? Also .. in case you have a clip from a game / movie / animation that has a similar effect, that would help too
K
With or without shaders? Also .. in case you have a clip from a game / movie / animation that has a similar effect, that would help too

K
- Fri May 05, 2017 3:58 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 1757
Re: A question about model.y velocity
Hi jinxtengu, Usually you want to do it the other way around by calculating the velocity from the rotation values. Here's another quick demo .. <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor application" LightPositio...
- Fri May 05, 2017 10:56 am
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 1757
Re: A question about model.y velocity
Hi jinxtengu, One other thing, how can we adjust the rotational direction (adjust heading) so the bullet model is moving in relation to it's x,y,z velocity, and also (separately) in relation to the direction the camera is facing? It already does that .. but your cone mesh is pointing into the wrong*...
- Thu May 04, 2017 2:04 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 1757
Re: A question about model.y velocity
Hi jinxtengu, You made a couple of mistakes ... - Always use local variables when possible .. and otherwise never give components names that collide with properties ( in any scope ). So instead of putting 3 Variable components named "x", "y" and "t" in bulletmodel.Defin...
- Wed May 03, 2017 11:27 am
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 1757
Re: A question about model.y velocity
Hi jinxtengu, what I'm trying to do is project a newly spawned model in the direction that the camera is facing, but I can't quite work out the correct formula to do this. Here's a example for a FPS-esque setup ( mouse + WASD ) that uses camera rotation over the X and Y axes. The thing you want to t...
- Thu Feb 02, 2017 2:30 pm
- Forum: General discussion
- Topic: ZGE ten years!
- Replies: 5
- Views: 1619
Re: ZGE ten years!

Congrats + time sure flies! On to the next 10 ~
K
- Fri Dec 23, 2016 8:40 pm
- Forum: General discussion
- Topic: commands for mesh manipulation
- Replies: 9
- Views: 1858
Re: commands for mesh manipulation
Hi guys, What is the lowest footprint way then? There's no major difference, the most important thing you need to know is that RenderNet automatically recreates the mesh each frame .. so unless you need to render a net / grid that needs to be updated each frame, use the Mesh component instead. Are t...