Search found 1607 matches

by Kjell
Wed Jul 12, 2017 11:37 am
Forum: Bug reports
Topic: file f; non standard capitalization
Replies: 3
Views: 50

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

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

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

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

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

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

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

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

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

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

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

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...
by Kjell
Sat Oct 01, 2016 9:01 am
Forum: General discussion
Topic: Follow the mouse in 3d space
Replies: 9
Views: 694

Re: Follow the mouse in 3d space

Hi jinxtengu,

jinxtengu wrote:With the example i tested it on, the camera rotation is only on the Y axis.

Should have asked before posting the example :roll: I've updated the example to only take the Y-axis rotation of the camera in consideration.

K
by Kjell
Thu Sep 29, 2016 9:05 am
Forum: General discussion
Topic: Follow the mouse in 3d space
Replies: 9
Views: 694

Re: Follow the mouse in 3d space

Hi jinxtengu, I do mean, mouse on X and Y axes, although if the view is rotated wouldn't that necessitate using the Z axis also? My question was / is which axes you're using to rotate the camera. I assumed you're using X and Y, but perhaps you're using Z as well .. or maybe only Y ( in which case th...
by Kjell
Tue Sep 27, 2016 11:32 am
Forum: General discussion
Topic: Follow the mouse in 3d space
Replies: 9
Views: 694

Re: Follow the mouse in 3d space

Hi jinxtengu, What sort of code would I need to write to keep the cursor movement relative to the cameras current position and current rotational value? Here you go :) <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGameEditor applic...

Go to advanced search