IEventReciever stuff

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
andoba
Posts: 11
Joined: Fri Jul 07, 2006 7:44 pm

IEventReciever stuff

Post by andoba »

Well the thing is, for moving my character I use WSAD, but, I have to press every time the keys for getting it working. How can I make it so I push it withouth releasing and it applies countiniously?

Thanks.

PD: I'm Spanish, my English sucks lol.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Either use the FPS camera or do the event receiver correctly !!! ;)
You surely just copied the event receiver code from a tutorial, didn't you ???
Look for this in the code and remove it:

Code: Select all

!event.KeyInput.PressedDown
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Post Reply