Search found 1610 matches

by Kjell
Tue Feb 13, 2018 11:25 am
Forum: Extensions
Topic: Very Simple MP3 Player DLL
Replies: 5
Views: 2504

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
by Kjell
Tue Dec 26, 2017 11:10 am
Forum: General discussion
Topic: Picture effect
Replies: 2
Views: 134

Re: Picture effect

Hi rrTea,

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
by Kjell
Fri Sep 15, 2017 11:50 am
Forum: General discussion
Topic: Offset on spawned model.
Replies: 2
Views: 502

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=&...
by Kjell
Wed Jul 12, 2017 11:37 am
Forum: Bug reports
Topic: file f; non standard capitalization
Replies: 3
Views: 772

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
by Kjell
Sat Jul 01, 2017 10:10 am
Forum: Bug reports
Topic: ZGameEditor.ini program close bug, prevents normal close function
Replies: 3
Views: 606

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...
by Kjell
Fri May 12, 2017 12:09 am
Forum: General discussion
Topic: Creating a bullet trail effect
Replies: 3
Views: 860

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...
by Kjell
Thu May 11, 2017 2:53 pm
Forum: General discussion
Topic: Creating a bullet trail effect
Replies: 3
Views: 860

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

K
by Kjell
Fri May 05, 2017 3:58 pm
Forum: General discussion
Topic: A question about model.y velocity
Replies: 10
Views: 1295

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...
by Kjell
Fri May 05, 2017 10:56 am
Forum: General discussion
Topic: A question about model.y velocity
Replies: 10
Views: 1295

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*...
by Kjell
Thu May 04, 2017 2:04 pm
Forum: General discussion
Topic: A question about model.y velocity
Replies: 10
Views: 1295

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...
by Kjell
Wed May 03, 2017 11:27 am
Forum: General discussion
Topic: A question about model.y velocity
Replies: 10
Views: 1295

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...
by Kjell
Thu Feb 02, 2017 2:30 pm
Forum: General discussion
Topic: ZGE ten years!
Replies: 5
Views: 1309

Re: ZGE ten years!

:D

Congrats + time sure flies! On to the next 10 ~

K
by Kjell
Fri Dec 23, 2016 8:40 pm
Forum: General discussion
Topic: commands for mesh manipulation
Replies: 9
Views: 1448

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...
by Kjell
Sun Dec 04, 2016 11:29 am
Forum: General discussion
Topic: commands for mesh manipulation
Replies: 9
Views: 1448

Re: commands for mesh manipulation

Hi zakkwylde, i had to type in this.vertex.x or y or z, i cant use v.x etc, zge simply wont let me. is this a zge version issue? Which version of ZGameEditor are you using? Long ago you had to use "this." in MeshExpressions .. but it was never "this.Vertex" ( unless you're writin...
by Kjell
Wed Nov 23, 2016 12:40 pm
Forum: General discussion
Topic: commands for mesh manipulation
Replies: 9
Views: 1448

Re: commands for mesh manipulation

Hi zakkwylde, Here's a flat circle ( CircleGrid.XCount controls the number of segments ) .. ZZDC<?xml version="1.0" encoding="iso-8859-1" ?> <Mesh Name="CircleMesh"> <Producers> <MeshBox Name="CircleGrid" XCount="2" Grid2DOnly="255"/> <Mesh...

Go to advanced search