Search found 17 matches
- Tue Jun 19, 2007 6:47 am
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
To MasterGod: Thanks much, and I might possibly expand it for more advanced features, possibly GUI events/user events. Any idea's are welcome. To prajay.shetty: You should probably be calling: eventReceiver.init(); just after you create the instance of the class. And the problem is probably this: i...
- Mon Jun 04, 2007 3:02 am
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
- Sun Jun 03, 2007 2:54 am
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
- Sat Jun 02, 2007 9:12 pm
- Forum: Beginners Help
- Topic: Incorrect Mouse Coordenates from SEvent? (fixed)
- Replies: 1
- Views: 249
- Wed May 30, 2007 7:13 pm
- Forum: Beginners Help
- Topic: Mouse motion question
- Replies: 2
- Views: 247
To change the cursor position:
device->getCursorControl()->setPosition(int x,int y);
There are also more options listed in the Irrlicht API:
http://irrlicht.sourceforge.net/docu/cl ... ntrol.html
device->getCursorControl()->setPosition(int x,int y);
There are also more options listed in the Irrlicht API:
http://irrlicht.sourceforge.net/docu/cl ... ntrol.html
- Wed May 30, 2007 7:03 pm
- Forum: Beginners Help
- Topic: Help about part of the Collision tutorial
- Replies: 8
- Views: 493
- Wed May 30, 2007 6:03 pm
- Forum: Beginners Help
- Topic: Incorrect Mouse Coordenates from SEvent? (fixed)
- Replies: 1
- Views: 249
Incorrect Mouse Coordenates from SEvent? (fixed)
I was working on my keyboard and mouse input class and was going to implement the Mouse coordinates, my problem is that the first four pixels of the X axis of the window are not handled properly with the coordinates I get from the Event structure. The problem is the first pixel is 0, the next is 1, ...
- Wed May 30, 2007 5:36 pm
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
- Wed May 30, 2007 5:17 pm
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
To Arthur: First we need to know, what you are expecting it to do? Another thing that would help is if you give us your full program code to look at. Also are you getting compiler errors? If so what do they say? Currently the only things I can think of that could be wrong are: A) you expect BoxNode ...
- Mon May 28, 2007 7:11 pm
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
- Fri May 25, 2007 10:41 pm
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
- Fri May 25, 2007 5:03 pm
- Forum: Code Snippets
- Topic: (C++) Simple to use Event Receiver class for Irrlicht 1.3
- Replies: 70
- Views: 50453
(C++) Simple to use Event Receiver class for Irrlicht 1.3
This is version 1.2a of the MastEventReceiver event receiver class. Features are: Four Key/Button states: Pressed (occurs once, the first time a key/button is pressed) Down (if the key/button is pressed or down) Released (occurs once, the first time a key/button is released) Up (if the key/button is...
- Fri May 25, 2007 3:41 pm
- Forum: Beginners Help
- Topic: Odd problem with my custom event handler class. (fixed)
- Replies: 4
- Views: 328
- Fri May 25, 2007 2:51 am
- Forum: Beginners Help
- Topic: Odd problem with my custom event handler class. (fixed)
- Replies: 4
- Views: 328
Odd problem with my custom event handler class. (fixed)
I've been working on a class that is designed to make my life simpler.(aren't they all?) Basically the class is designed to handle keyboard events and give me easy to use functions for 4 types of key events: Key Press (happens only once, the moment the key is pressed) Key Down (whether the key is do...
- Tue May 08, 2007 9:00 pm
- Forum: Beginners Help
- Topic: Problem Understanding Movement Example.
- Replies: 4
- Views: 353
Thank you all for the help, I understand now. I can also see how this would sometimes be more useful than declaring the variables outside of the switch statement, as the current way discards the variables after they leave the scope. Your also right I am using Code::Blocks with the gcc compiler. Agai...