Setting up a Testing enviroment
Monkey Forums/Monkey Programming/Setting up a Testing enviroment
| ||
I was thinking about creating a way to test different resolutions in glfw, xna or some other target. The idea was to be able to click F1 (for example) and toggle iPad1 resolution, F2 for iPhone4, and so on for each profile. I was curious if anyone have have good idea on how to accomplish this is a practical way - maybe someone already has? |
| ||
What about SetNativeGraphicsSize() in Diddy? Another option might be to use HTML5 and have some browser pages of different sizes that can tap into the current MonkeyGame build. |
| ||
Does that reset the window-resolution? Then it is exactly what I'm looking for. I could create a html page where I change resolution using javascript and add some user buttons for that. Downside to that is that html5 is painfully slow, so I'd prefer to be able to test in a high-performance target. |
| ||
Does that reset the window-resolution? Yep :) Although I'd suggest you use SetGraphics(w, h) as this will change the "constants" SCREEN_WIDTH and SCREEN_HEIGHT too. |