CPM will recognize anything – even stuff it doesn’t recognize. In other words, throw a file into the asset list and it will be included in a launch or a build. CPM doesn’t have to understand what a file is for to know that you want it included.
I’ve never used Zwoptex (I “standardized” on TexturePacker myself) but the process is the same with any tool and CPM – have the other tool generate the code you need and then drag those files into the asset list of the project in CPM. You should then be able to reference them with require().
Jay [import]uid: 9440 topic_id: 11169 reply_id: 40597[/import]
CPM will recognize anything – even stuff it doesn’t recognize. In other words, throw a file into the asset list and it will be included in a launch or a build. CPM doesn’t have to understand what a file is for to know that you want it included.
To that end, is it possible to update the file extensions that CPM is aware of, such that other files, like a .TTF file will be listed as a “font” instead of an “audio” file etc.? [import]uid: 5317 topic_id: 11169 reply_id: 40629[/import]
I got this to work after an afternoon of pulling out what little hair I have out like a lot of things with Corona its the really easy stuff that tends to throw you - the complex stuff is made easy
I used the example in the Horse Animation Corona docs, the code in the Zwoptex docs gave an error that appear to say the module hadn’t loaded - which is why I thought it was something to do with CPM and libraries, a red herring pointed out above.
I had to rename the file, which only worked if I saved it initially without an extension. Again I’m new to Mac…
Yes I set up everything I could in Zwoptex to output in Corona format, the text file even had a version of Corona docs. [import]uid: 3093 topic_id: 11169 reply_id: 40683[/import]