Search found 1882 matches

by Kjell
Mon Sep 29, 2008 11:19 am
Forum: ZGE Source Code
Topic: Adding a UndefineCollision
Replies: 3
Views: 15146

Hey guys,

The most important thing I can think of is performance. When you for example have a large level that you can split up in arena's, you only want to check collision with objects that are in the area you're currently in.

K
by Kjell
Sun Sep 28, 2008 3:19 pm
Forum: General discussion
Topic: DefineVariable?
Replies: 1
Views: 3664

DefineVariable?

Hi guys,

Not sure whether it makes any difference or not, but what is the most appropriate place to define global variables? In OnLoaded or Content? Just wondering ..

K
by Kjell
Sat Sep 27, 2008 3:19 pm
Forum: General discussion
Topic: Beta release 1.9.3b
Replies: 21
Views: 22187

Hej Ville,

I tried 100, 85 and 75 Hz on both NVIDIA GeForce and ATI Radeon chips, all combinations revert back to 60 so far.

K
by Kjell
Fri Sep 26, 2008 2:31 pm
Forum: General discussion
Topic: Beta release 1.9.3b
Replies: 21
Views: 22187

Hej Ville, Great new component, ZLibrary. Though, I'm curious why you choose to define the function name in the ZLibrary itself instead of going with a Condition Component style approach and actually use the Name field as Function name. Although this way you only need one ZLibrary instead of one for...
by Kjell
Wed Sep 24, 2008 1:52 pm
Forum: General discussion
Topic: basic First Person engine - an open-source community project
Replies: 3
Views: 6980

Hi, Use the following code to get the aim right. CurrentModel.Velocity.Vertical = sin(CurrentModel.Rotation.Vertical*Pi*2); CurrentModel.Velocity.Longitude = sin(CurrentModel.Rotation.Horizontal*Pi*2)*cos(CurrentModel.Rotation.Vertical*Pi*2); CurrentModel.Velocity.Lattitude = cos(CurrentModel.Rotati...
by Kjell
Sun Sep 21, 2008 3:43 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 21016

Hi diki, Since most / all? programming languages limit the amount of Classes you can Extend from to 1, you probably want to stick to that number. You could however enable extending Classes themselves as well, in a classic "Model" > "Ball" > "Soccer Ball" type of fashion...
by Kjell
Sat Sep 20, 2008 2:54 pm
Forum: Your projects
Topic: anothe useless bit of nothing,.
Replies: 4
Views: 6734

Hi jph,

Love the sound effect when continuously pressing K or I ( plus some J & L on top ), very space-y :) How's that Rising Star Program working out for you?

Hope all is well,
K
by Kjell
Sat Sep 20, 2008 2:12 pm
Forum: Feature requests
Topic: Inheritance
Replies: 21
Views: 21016

Inheritance

Hi,

A inheritance / extends property for Models combined with a Class Component would come in handy when constructing various models that share a number of Variables and Behaviors.

K
by Kjell
Sat Sep 20, 2008 1:36 pm
Forum: General discussion
Topic: Clarification needed! urgent! ;)
Replies: 4
Views: 6218

Hi Francesco, I've mentioned this before, and I'll mention it again :) Step based collision isn't a good method for physics type solutions. It's only good for gathering information. Depending on how far the ball has traveled into the block, it will give a different result when using the Stop Action....
by Kjell
Sat Sep 20, 2008 11:24 am
Forum: General discussion
Topic: Clarification needed! urgent! ;)
Replies: 4
Views: 6218

Hi Francesco, What exactly is the problem here? The fact that the documentation does not clearly state that OnStop still triggers OnCollision Events in Models as well? I guess it could be clarified in the Wiki that all Collision Actions will always trigger OnCollision at the least. By the way, the b...
by Kjell
Tue Sep 16, 2008 3:43 pm
Forum: General discussion
Topic: How to limit the framerate?
Replies: 7
Views: 9053

Hej jph, Well, no .. there is no easy way at the moment. Apart from when you're using Rect2D_OBB, then you can just use the scale properties and CollisionOffset to extend the collision box while countering the rendered scale using a RenderTransform. Problem is that with these kind of collision check...
by Kjell
Tue Sep 16, 2008 3:16 pm
Forum: Tips'n'Tricks
Topic: hi
Replies: 5
Views: 7329

Hej jph,

You can use Alt+Enter to Start / Stop :)

K
by Kjell
Tue Sep 16, 2008 1:53 pm
Forum: General discussion
Topic: How to limit the framerate?
Replies: 7
Views: 9053

Hi diki, Even though you're only mentioning the collision situation merely as example, step based physics and collision checking is outdated and concidered bad practice in most cases. Developers these days extrude the bounding mesh of a object over the velocity direction vector with a extend of the ...
by Kjell
Sun Sep 14, 2008 11:05 am
Forum: Tips'n'Tricks
Topic: hi
Replies: 5
Views: 7329

Hi zakkwylde,

Use centerMouse() in a ZExpression to center the mouse, "}" as Key of a KeyPress Component for the Right Mouse Button, and lower the App.FOV property dynamically using a ZExpression to perform a zoom effect.

Good luck ~
K
by Kjell
Fri Sep 12, 2008 10:15 pm
Forum: General discussion
Topic: Variable Scope / Publicity and Privacy
Replies: 2
Views: 4760

Hi diki, The easiest solution for your problem would be to change the SpawnStyle of the two SpawnModel components from Clone into Reference. However, when you'd insist on using Clones, there are a couple of things that need to be changed. Variables that belong to individual models need to be defined...