Is it possible to have a lite version of your game with different icons from the one Unity project? I’d rather avoid having to duplicate the entire project just so I can put a different icon in, and I’d also rather not have to change the icon every time I switch between building the lite/full versions.
Is there any way to programmatically specify the app icon at the build stage, so I could at least switch all the icons out based on a bool or #define or something?
I am planning on a free version. My method will be two upload two projects tho. One full, one free. The free one may have only 3 levls to the fulls ten. And it will have the same icon, but a free banner placed over one corner. Also the free one may have a reference and link to the full one.
Yeah, so you are doing it with two separate unity projects right? I want to avoid that. It would be nice to be able to do it by just changing a single #define or bool somewhere rather than having two projects.
You could use conditional methods and #defines to handle the actual game implementation.
You might be able to set up some post processing scripts to do the XCode stuff, I’m not sure if you can (easily) totally automate though. Manually running a single script multiple times over the life of the app is probably less time consuming than trying to completely automate the process.
Hm that’s not a bad idea. The main thing I want to do is replace the app icons with lite versions automatically (or at least semi-automatically). I’ve got all the game implementation stuff sorted out (just by using a bool to indicate lite mode, which isn’t the best way since I’m still building in a lot of assets that are locked out unfortunately). But I could write a script to patch the xcode project with the updated icons.
There should be a way to do that. As in, the app is free, then you have in game, option purposes to buy the real game, or upgrade, each will give the full version. One thing tho. I believe all icons used in the App Store are set via iTunes Connect and not via the app itself.
You’ll also have to take care of what scenes are included, and if you use a Resources folder, you’d have to have a separate folder for the lite version (or everything in there will be in both versions, increasing the filesize of the lite version), and switch those depending on the type of build. But all that can probably be done with an editor script to switch between the two versions. Just add a menu item to do the switch.