I put a lot of work into an app but I know realize I forgot to enable Resolution Independence. Can I enable Resolution Independence without making a new project?
Comments
SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
edited February 2013
Yes you can. From this point on, all of your images will be half the size you created them at when you drag them on the stage. I don't know what you have done with the images you have so far, but you may need to replace them with R.I. in mind. Meaning they need to be created at twice the size you want them to be, when they are on the stage.
I deleted your other thread. It's against forum rules to create multiple threads on the same topic. No biggie, just letting you know what happened to the other thread you started.
Well how would I change the settings? Please be very clear. I have a windows versoin.
SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
All you have to do is click the Resolution Independence checkbox.
When designing a game with Resolution Independence, you need to create your images double the size you want them to be when they are on the stage. For example, if you know for a fact that you want your main actor to be 64 pixels wide and 128 pixel tall, you need to create that image at the size of 128x256, which is double the size.
What Resolution Independence does is takes that big image, and makes a copy of it at half the size, and uses it for older devices, and uses the bigger version for retina devices.
Are you designing for iOS, or another platform? Because R.I. is an iOS only feature. No other devices support retina yet.
Yes but that's when you are creating a new project. How would you do it for a EXISTING one? I am aware that the answer may be extremly obvious. If it is what do I have to click exactly?
All, the Windows Creator does not have a Project Info tab. The Resolution Independence setting only appears at the time the project is created.
@cousinjoshy: The answer is not obvious, but it is easy to resolve. As far as I know, the Resolution Independence setting is only used during the publishing process. You can save your GS project and then open up object.xml in a text editor to flip the value. Change the value between of from 0 to 1 and save.
Re-open your GS project and voila, resolution independence when you publish the game. Note that nothing will change in your existing app. You will need to follow the instructions above and increase your image sizes.
This thread was helpful to me. Curiously, has this issue been dealt with yet? I have searched high and low and have not found the RI switch myself. (windows version also) Thanks @atxryan
Comments
I deleted your other thread. It's against forum rules to create multiple threads on the same topic. No biggie, just letting you know what happened to the other thread you started.
When designing a game with Resolution Independence, you need to create your images double the size you want them to be when they are on the stage. For example, if you know for a fact that you want your main actor to be 64 pixels wide and 128 pixel tall, you need to create that image at the size of 128x256, which is double the size.
What Resolution Independence does is takes that big image, and makes a copy of it at half the size, and uses it for older devices, and uses the bigger version for retina devices.
Are you designing for iOS, or another platform? Because R.I. is an iOS only feature. No other devices support retina yet.
It doesn't matter.
Just check the box. It will work.
Chakku
@cousinjoshy: The answer is not obvious, but it is easy to resolve. As far as I know, the Resolution Independence setting is only used during the publishing process. You can save your GS project and then open up object.xml in a text editor to flip the value. Change the value between of from 0 to 1 and save.
Re-open your GS project and voila, resolution independence when you publish the game. Note that nothing will change in your existing app. You will need to follow the instructions above and increase your image sizes.