Use your debugger to see what's really happening, then if you are still stuck, provide all usefull information you got while using the debugger.
If you never used a debugger before, I strongly suggest you take some time to learn how to use it; it will make your life much more easier in the future ...
Search found 91 matches
- Wed May 31, 2006 1:39 pm
- Forum: Beginners Help
- Topic: noob's question
- Replies: 13
- Views: 1337
- Wed May 24, 2006 11:17 am
- Forum: Beginners Help
- Topic: NOOB: Limit to 'x' frames per second for every machine
- Replies: 2
- Views: 473
- Wed May 03, 2006 6:43 am
- Forum: Beginners Help
- Topic: re. Finding the mouse coordinates in the 3d world
- Replies: 8
- Views: 1094
- Tue May 02, 2006 2:37 pm
- Forum: Beginners Help
- Topic: Deleting a SceneNode crashes Program
- Replies: 1
- Views: 370
Don't do that:
Just use the remove (or removeAll) function from your node.
Code: Select all
smgrGlobal->addToDeletionQueue(container->node); - Tue May 02, 2006 9:21 am
- Forum: Beginners Help
- Topic: question about getPosition.
- Replies: 1
- Views: 391
- Tue May 02, 2006 6:45 am
- Forum: Beginners Help
- Topic: re. Finding the mouse coordinates in the 3d world
- Replies: 8
- Views: 1094
The mouse coordinates cannot be converted simply to a 3D position (because there is one dimension more). Instead, the mouse position can give you a ray that start from the camera position and goes 'inside' your screen. With that ray, you'll have to check for the collisions with other object.
Take a ...
Take a ...
- Thu Apr 27, 2006 2:48 pm
- Forum: Beginners Help
- Topic: Draw2DImage- AlphaProblem
- Replies: 2
- Views: 434
Make this rectangle the size of your texture:
Code: Select all
core::rect< s32 > SourceRect(0,0,ImageWidth, ImageHeight);
Draw2DImage(crosshair, position2d(x, y), SourceRect, 0, SColor(255, 255, 255), true); - Thu Apr 27, 2006 7:57 am
- Forum: Beginners Help
- Topic: Move code
- Replies: 11
- Views: 1257
- Thu Apr 27, 2006 7:55 am
- Forum: Beginners Help
- Topic: How to Control the CameraFPS using a regular webcam!
- Replies: 4
- Views: 729
- Wed Apr 26, 2006 2:31 pm
- Forum: Beginners Help
- Topic: Move code
- Replies: 11
- Views: 1257
Show the code where the errors are and post the exact error messages.
BTW: Is it a better way to make a class instead to call a function?
Depends. If you want to add a class just for adding a class, then no, it is useless. I think you first need some more experience in object oriented programming ...
BTW: Is it a better way to make a class instead to call a function?
Depends. If you want to add a class just for adding a class, then no, it is useless. I think you first need some more experience in object oriented programming ...
- Wed Apr 26, 2006 12:59 pm
- Forum: Beginners Help
- Topic: Real time Loading
- Replies: 8
- Views: 1156
- Wed Apr 26, 2006 11:22 am
- Forum: Beginners Help
- Topic: Real time Loading
- Replies: 8
- Views: 1156
- Wed Apr 26, 2006 10:09 am
- Forum: Beginners Help
- Topic: HELP !
- Replies: 9
- Views: 1074
- Wed Apr 26, 2006 9:59 am
- Forum: Beginners Help
- Topic: HELP !
- Replies: 9
- Views: 1074
- Tue Apr 25, 2006 10:07 am
- Forum: Advanced Help
- Topic: 2D Game Change Weapons
- Replies: 5
- Views: 763