- Apr 9, 2016
- Reaction score
- First Language
- Primarily Uses
That was my point, I can't implement them because those methods aren't even there and they are not called when game loses/gets focus (the onWindowBlur and onWindowFocus methods).
I tried to overwrite these methods to see if they would do anything, but they didn't. Than I tried to alias them, and it says that there are no methods named like that. And that's when I went and printed all method names and found the __blur method in there, and that one works as it should.
But what can I do with that alone? If there isn't a way to undo what I did in that method when the game gets focus again, it's kinda useless, at least for me.
Well, it's not a high priority on my list to use these methods, just wanted to let you know that the documentation on your site shows incorrect information about these methods.
I also tried to clip the mouse with the clip method, but that doesn't seem to work for some reason. All other mouse functions work, but that one just doesn't want to. >.>
And sometimes the game throws an error ("not responding") when I close it with the big red X button on the top right, especially when I toggled full-screen mode on and off. Considering that I already wanted to close it anyway, it's not a big issue, but it is certainly annoying.
Ohh, and the window border's top seems to lose the "Aero" effect after toggling full-screen once (on Windows 7). It loads the default blue-ish, non transparent window border instead of my windows settings.
Thank you. I'll fix the problems then.
window focus in/out fixed
mouse clip fixed
close game crash not fixed yet. "Not responding" means some existing error.