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 ...
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: 57378
- 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: 57378
- 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: 57378
- Sat Jun 02, 2007 9:12 pm
- Forum: Beginners Help
- Topic: Incorrect Mouse Coordenates from SEvent? (fixed)
- Replies: 1
- Views: 296
- Wed May 30, 2007 7:13 pm
- Forum: Beginners Help
- Topic: Mouse motion question
- Replies: 2
- Views: 313
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: 803
- Wed May 30, 2007 6:03 pm
- Forum: Beginners Help
- Topic: Incorrect Mouse Coordenates from SEvent? (fixed)
- Replies: 1
- Views: 296
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 ...
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: 57378
- 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: 57378
- 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: 57378
- 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: 57378
- 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: 57378
(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 ...
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 ...
- Fri May 25, 2007 3:41 pm
- Forum: Beginners Help
- Topic: Odd problem with my custom event handler class. (fixed)
- Replies: 4
- Views: 420
- Fri May 25, 2007 2:51 am
- Forum: Beginners Help
- Topic: Odd problem with my custom event handler class. (fixed)
- Replies: 4
- Views: 420
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 ...
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 ...
- Tue May 08, 2007 9:00 pm
- Forum: Beginners Help
- Topic: Problem Understanding Movement Example.
- Replies: 4
- Views: 489