Ancurio / mkxp

Free Software implementation of the Ruby Game Scripting System (RGSS)
GNU General Public License v2.0
514 stars 131 forks source link

Detect mkxp #133

Closed mattiascibien closed 8 years ago

mattiascibien commented 8 years ago

Hellio,

I am currently developing a game with VX Ace using mkxp as a test for future Linux and Mac Compatibility.

As I am using a mouse script that relies on Win32 api this does not work at all under mkxp. Is there any kind of constant declared by mkxp that tells that we are under mkxp so I can do and if to disable mouse support under that?

Thank you.

Ancurio commented 8 years ago

That would be $MKXP.

That being said, you can try preloading this script and see if the mouse script works with it.

mattiascibien commented 8 years ago

Ok... Sorry for opening an issue but I did not know any other way to contact you :+1: thank you so much for your fast reply.

EDIT: Worked like a charm. Thanks for your help.

Ancurio commented 8 years ago

Don't worry, there's absolutely nothing wrong with opening issues to ask questions.