Search found 1879 matches
- Fri Sep 26, 2008 2:31 pm
- Forum: General discussion
- Topic: Beta release 1.9.3b
- Replies: 21
- Views: 22185
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...
- Wed Sep 24, 2008 1:52 pm
- Forum: General discussion
- Topic: basic First Person engine - an open-source community project
- Replies: 3
- Views: 6978
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...
- Sun Sep 21, 2008 3:43 pm
- Forum: Feature requests
- Topic: Inheritance
- Replies: 21
- Views: 20999
- Sat Sep 20, 2008 2:54 pm
- Forum: Your projects
- Topic: anothe useless bit of nothing,.
- Replies: 4
- Views: 6733
- Sat Sep 20, 2008 2:12 pm
- Forum: Feature requests
- Topic: Inheritance
- Replies: 21
- Views: 20999
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
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
- 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....
- 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...
- 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...
- Tue Sep 16, 2008 3:16 pm
- Forum: Tips'n'Tricks
- Topic: hi
- Replies: 5
- Views: 7326
- 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 ...
- Sun Sep 14, 2008 11:05 am
- Forum: Tips'n'Tricks
- Topic: hi
- Replies: 5
- Views: 7326
- Fri Sep 12, 2008 10:15 pm
- Forum: General discussion
- Topic: Variable Scope / Publicity and Privacy
- Replies: 2
- Views: 4757
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...
- Fri Sep 12, 2008 9:04 am
- Forum: General discussion
- Topic: Collision Bounds for Rect2D_OBB
- Replies: 2
- Views: 4771
- Sun Aug 31, 2008 11:11 pm
- Forum: General discussion
- Topic: BitmapFromFile Bug
- Replies: 1
- Views: 3635
BitmapFromFile Bug
:? Although this issue has already been addressed before several months ago ( then using .bmp ), it seems that the BitmapFromFile Component still suffers from the swapped X & Y pixel count syndrome with other file types such as .gif and .jpg. And as I couldn't track down the responsible code in ...
- Thu Aug 21, 2008 9:59 am
- Forum: ZGE Source Code
- Topic: Filter
- Replies: 3
- Views: 15498
Hej jph,
Same 16x16 Bitmap, different Filter.
Joystick isn't done yet, I'll have to find some time to finish it up.
K
Same 16x16 Bitmap, different Filter.
Code: Select all
this.Pixel.R = X;
this.Pixel.G = Y;
this.Pixel.B = 1-Y;
if(X == 0 || X == 1-1/16){
this.Pixel = 1;
}
if(Y == 0 || Y == 1-1/16){
this.Pixel = 1;
}
K