ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator porting to iOS?
person icon
semiplay
Registered User
Quote
2013-02-17 04:28:56

Are there any plans for a Coppercube export to an iOS format? I've seen tutorials on porting irrLicht to iOS, and was wondering if anything like this would make its way into Coppercube. Thanks!

person icon
niko
Moderator
Quote
2013-02-17 22:11:47

Currently not, sorry. (But this doesn't mean that it won't be added some day).
The problem here also is that for creating iOS apps, you are currently forced to have a mac and to be in the apple developer program, where you have not only to register but also pay something like 100$ to apple. (AFAIK) So it would be a bit more compilicated for CopperCube users to publish iOS apps.

person icon
andycampbell10
Registered User
Quote
2013-02-17 22:23:20

It is true - you have to be in the Apple Developer program (£59/$99 per year) and the hoops you have to jump through compared to Android app development are utterly ridiculous...

Also, I have never quite got to the stage where I'm ready to submit to the Apple iTunes Store (for that, perhaps you really do need a Mac)..However I've successfully had a number of iOS prototypes working on iPad and iPhone, some of which have included Coppercube 3D content.

The way to do this is to create a Flash movie which loads in a Coppercube SWF as a child. Then, include the Coppercube SWF in your output assets (publish settings) configure all the iOS certificate stuff and export the movie as an AIR file for iOS.

When copied onto an Apple device via iTunes it works - and it works amazingly well. 3D performance isn't as great as Niko's direct Android publishing process - which is jaw-dropping in both speed and file-size - but it's certainly possible.

If I ever get anything properly running on iOS, the source code and files will appear on my subscribers area along with everything else. I strongly disagree with - hate even! - Apple's stupid developer rules, and have wasted much time figuring it out, but it's a huge market and one I'm interested in, however weirdly I get there.

Best regards,

Andy

person icon
semiplay
Registered User
Quote
2013-02-18 03:29:56

Agreed - I have gone thru app submission for both Apple and Android, and Apple is far more involved with some seemingly useless red tape.

Thanks for the info on the swf option as well!

person icon
mrm design
Guest
Quote
2013-02-22 17:11:54

wrote:
It is true - you have to be in the Apple Developer program (£59/$99 per year) and the hoops you have to jump through compared to Android app development are utterly ridiculous...

Also, I have never quite got to the stage where I'm ready to submit to the Apple iTunes Store (for that, perhaps you really do need a Mac)..However I've successfully had a number of iOS prototypes working on iPad and iPhone, some of which have included Coppercube 3D content.

The way to do this is to create a Flash movie which loads in a Coppercube SWF as a child. Then, include the Coppercube SWF in your output assets (publish settings) configure all the iOS certificate stuff and export the movie as an AIR file for iOS.

When copied onto an Apple device via iTunes it works - and it works amazingly well. 3D performance isn't as great as Niko's direct Android publishing process - which is jaw-dropping in both speed and file-size - but it's certainly possible.

If I ever get anything properly running on iOS, the source code and files will appear on my subscribers area along with everything else. I strongly disagree with - hate even! - Apple's stupid developer rules, and have wasted much time figuring it out, but it's a huge market and one I'm interested in, however weirdly I get there.

Best regards,

Andy


Hi Andy,

I would also love to be able to do this. I have something I want to port to IOS shortly. Would apple accept an app done this way?

Cheers,

Marc

person icon
andycampbell10
Registered User
Quote
2013-02-23 12:05:36

Hi Marc

Apple had a period of banning anything created via 3rd party software tools such as Flash a few years ago but there was such an outcry of annoyance they lifted the ban. So yes, anything done via AIR is completely acceptable and in fact some of the best-selling (3D) games on the iOS app store we created using Flash/AIR technologies.

If you need any help setting up basic workflow let me know - can be tricky.

Best regards,

Andy

person icon
mrm design
Guest
Quote
2013-02-23 12:45:15

Thanks Andy,
I am definitely very interested in doing this.
I have been googling ever since I saw your post. I have Unity IOS and Android but would love to do everything in Coppercube if possible. Android works great already and I would be keen to see how an Air app IOS app made with a Coppercube Swf performs.

Extremely happy to receive any advice you can give.

Thanks again,

Marc
marc@mrmdesign.com

person icon
andycampbell10
Registered User
Quote
2013-02-24 21:59:51

Hi Marc

I've dropped you a line via email, although happy to continue to discuss here on-and-off if you prefer. :)

Andy

person icon
mrm design
Guest
Quote
2013-02-25 10:50:32

Thank you Andy,

Your email was highly appreciated.

I will get on to testing things ASAP.

Cheers,

Marc

person icon
edkeyte
Registered User
Quote
2013-02-25 12:41:12

wrote:
Hi Marc

I've dropped you a line via email, although happy to continue to discuss here on-and-off if you prefer. :)

Andy


Hi Andy.

I've looked into doing this too and had heard that Apple were banning apps published this way so I gave up thinking it wasn't going to be worth the effort but if you say they have lifted this ban then that's fantastic news to me.

Would you mind telling me what software I need to get for this such as adobe flash, and air etc and then how could I get my coppercube game published on the iOS store this way.

I was going to buy a new Mac but I don't know how to write code using Xcode so if doing it in Air would be easer on windows using mostly CopperCube then that would be the best for me.

Thanks!

Ed.

person icon
andycampbell10
Registered User
Quote
2013-02-25 13:59:05

Hi Ed,

Thanks for this. If you have Flash CS5.5 or CS6 you should be able to publish AIR iOS apps. Obviously a subscription to Creative Cloud helps, because you get all the latest updates, but Flash Professional is the only program you need - it has AIR export built in, to both iOS and Android. If you want to play with the more recent beta AIR SDKs then you can do by getting them from Adobe Labs and telling Flash Pro where to find them.

The main thing to do before getting your hopes up though is to check that your CC project works OK when published via this route. Some of the work I've wanted to develop this way hasn't come out properly - AIR seems to screw up some CC content depending on the complexity of models used (the shading / lightmaps) - so definitely experiment beforehand.

As I said before you need to create a container SWF that loads in your CC SWF - and to include the CC SWF in your publish settings as part of the included content. Also, in order to do this on iOS, there are some hoops you have to jump through - see this URL -

http://blogs.adobe.com/airodynam...

This was not possible until the AIR SDK 3.6 I don't think, although it has always worked fine on AIR to Android.

You can actually package AIR inside your app - which fattens out the size of the finished file by about 8-9mb - but hides the fact you used AIR in the first place. So the whole thing about needing the AIR extension on your mobile device is overridden. :)

Best regards

Andy

person icon
mrm design
Guest
Quote
2013-02-25 14:29:25

Arrrgh, Creating a p12 file to use with flash CS6 is a real pain! any tips? emoji icon_smile

person icon
edkeyte
Registered User
Quote
2013-02-25 23:48:54

Thanks so much Andy for this! That's great!

Ed.

person icon
andycampbell10
Registered User
Quote
2013-02-28 15:54:45

Hi Marc,

Do you get any particular errors?

Creating the p12 file is an absolute pain in the backside and took me a good few attempts. The main thing is to follow the instructions on the Adobe site/in the Flash documentation absolutely *to the letter*, otherwise anything could go wrong at any point.

I almost gave up bothering with this - but then suddenly I managed to get it to work, and to be honest I can't put my finger on what pushed it to be successful, I think I just took it step by step, ultra-carefully, and had a huge mug of extra strong coffee on my desk to sip on.

emoji icon_smile

Andy

person icon
mrm design
Guest
Quote
2013-02-28 17:17:27

Hi Andy,

The whole process of the getting p12 file is just a bit tedious and I got a little bored. emoji icon_smile

I will give it another go and follow the instructions to the letter as you have advised.

I have a fresh coffee ready. emoji icon_grin


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |