Hi everybody, I’m wondering how to adapt the resolution of a flash game to a device in order to publish it on different phones or tablets. I have already seen some kind of tutorials but cannot understand how it works and I still haven’t managed to do it.
Do you have an existing game that you’re trying to adapt? If so, you will likely have made some assumptions about device resolution and stage resolution in your code. Adapting a game depends heavily on those assumptions, so it’s hard to give general-purpose advice about quickly fixing things.
For instance, it would be useful to know which stage scaling mode you’re using, and if you ever refer to stage.stageWidth
or similar within your code. Same for root
.
If you’re just looking for tutorials, I wouldn’t be able to do much better than yourself in terms of searching the web for good ones. I know this site doesn’t have any on the topic.