Search found 91 matches
- Fri Apr 07, 2006 12:02 pm
- Forum: Beginners Help
- Topic: Adding a lifebar above a scenenode
- Replies: 17
- Views: 764
you know the x and y coordinates on the screen, of each bar, right? Nope. What I know is the position of the node and I can deduce a 3D point just above the node. This point can be used as the center of the rectangle but it is still a 3D point and not a coordinate on the screen. I think you are mix...
- Fri Apr 07, 2006 11:29 am
- Forum: Beginners Help
- Topic: Adding a lifebar above a scenenode
- Replies: 17
- Views: 764
@Aukecomps: sorry, but I still don't get you... (maybe my english is too bad). so you know the proportion of the object (in x y z difference to the camera), Yes, I know the proportions: it is for example (just an example) 10 on 1 for the Width/Height ratio. But it has nothing to do with 3D coordinat...
- Fri Apr 07, 2006 9:08 am
- Forum: Beginners Help
- Topic: Triangle Selector
- Replies: 8
- Views: 275
- Fri Apr 07, 2006 7:59 am
- Forum: Beginners Help
- Topic: IAnimationEndCallBack::OnAnimationEnd
- Replies: 6
- Views: 797
It is not working this way. What you need to do is inherit a class from IAnimationEndCallBack. Then, in your class, you need to implement the function OnAnimationEnd. This function will be called when your animation is finished. Then, you need to 'register' your callback class with the scene node in...
- Fri Apr 07, 2006 6:38 am
- Forum: Beginners Help
- Topic: Triangle Selector
- Replies: 8
- Views: 275
Yes, that's true. After you have registered your seletor with the scene node it will exist at least as long as this scene node. By issuing the drop you just ensure that the selector will exist than long. So its quite ok to still use the pointer for the next definition. Yes that's true but it is alwa...
- Fri Apr 07, 2006 6:30 am
- Forum: Beginners Help
- Topic: some basic question!
- Replies: 4
- Views: 183
getAbsolutePosition returns the absolute position of the node, which is the position relative to reference (in every system, there is a reference :wink: ). The reference is the point 0,0,0 of the scene. getPosition returns the position of the node relative to its parent. So here, the reference is th...
- Thu Apr 06, 2006 7:47 pm
- Forum: Beginners Help
- Topic: Adding a lifebar above a scenenode
- Replies: 17
- Views: 764
The problem with the lifebar is that it is like a billboard: it is a flat rectangle that always llok at the camera. So, knowing the position of where to put it is not the problem. The problem is because I need to draw myself the bar (it depends of the life of the unit) so it can't be a billboard (or...
- Thu Apr 06, 2006 7:34 pm
- Forum: Beginners Help
- Topic: Adding a lifebar above a scenenode
- Replies: 17
- Views: 764
- Thu Apr 06, 2006 7:23 pm
- Forum: Beginners Help
- Topic: Creating Classes and functions
- Replies: 10
- Views: 591
but is it too less to be able to program something difficult? Are you 'fluent' with the concepts of OOP (oriented-object programming), things like polymorphism, design patterns,... ? I believe that all these things are required whenever you want to do something more elaborate than a pong (and even ...
- Thu Apr 06, 2006 7:06 pm
- Forum: Beginners Help
- Topic: Creating Classes and functions
- Replies: 10
- Views: 591
- Thu Apr 06, 2006 6:54 pm
- Forum: Beginners Help
- Topic: Adding a lifebar above a scenenode
- Replies: 17
- Views: 764
Adding a lifebar above a scenenode
Hello ! I am making a strategy game and I would like to add a lifebar just above my units. I think an option could be to use a billboard but I have no idea if it's possible to draw things on it (because of course the lifebar will depend of the life left of the unit :wink: ). Drawing 2D shapes is not...
- Thu Apr 06, 2006 5:26 pm
- Forum: Beginners Help
- Topic: Basic Error
- Replies: 4
- Views: 140
- Thu Apr 06, 2006 5:25 pm
- Forum: Beginners Help
- Topic: Which compiler?
- Replies: 21
- Views: 654
- Thu Apr 06, 2006 3:02 pm
- Forum: Beginners Help
- Topic: Which compiler?
- Replies: 21
- Views: 654
- Thu Apr 06, 2006 2:36 pm
- Forum: Beginners Help
- Topic: Which compiler?
- Replies: 21
- Views: 654
No, I was totally right. Man. 'never seen such a slow compiler. maybe java is even faster! even with optimisation for speed, it is the slowest i've tried so far What are you talking about ? What is slow ? The compilation ? Compilation is slower due to the fact that it embeds a manifest file in the ...