Hi!
I am completely new to Irrlicht and just downloaded the SDK 0.4.2
When running the examples on WinXP I don t know how to close them again: The mouse stays in the inner boundings of the window so I cannot reach the x in the upper right corner of the frame.I tried <esc> without success and even the taskmager ignores <Enter> to end task.
Has anybody experienced the same problem?
Can t close examples
yes, I found the same thing.
If you look in the code, there actually isnt any event handling code that will close on 'esc'. So, the program is acting true to its code.
Its just that the design sucks. Currently, if you 'alt-tab' you can get to the console window and press 'Ctrl-C' to close the program. Otherwise, you should add in an event handler which will exit on 'ESC' (what I did for most of the examples).
If you look in the code, there actually isnt any event handling code that will close on 'esc'. So, the program is acting true to its code.
Its just that the design sucks. Currently, if you 'alt-tab' you can get to the console window and press 'Ctrl-C' to close the program. Otherwise, you should add in an event handler which will exit on 'ESC' (what I did for most of the examples).
Alt+F4 also works. I believe the reason Esc doesn't automatically close the program is because that might not actually be what everyone wants to happen. For instance, for some games you might just want Esc to bring up a menu. The way it is set up now allows the programmer to decide what Esc will do.