I'm working on a port of a game from HTML5 to iOS using cocoonjs.. but i'm seeing a problem (with the help of my xcode developer partner) that the entire game is trying to load at the start.
What is happening is the app is loading and then after being open for a fe seconds crashes / closes out.. we've done a lot of things like remove all audio.. that didn't help..
the graphics are relatively high quality 1920x1080, but nothing outrageous.
I have a client that needs us to port this project to iOS and it's simply not working. my partner and I spent all day yesterday hacking around with XDK CocoonJS and he event found some other wrappers out there that we tried to mess around with.
it's terribly frustrating to have come into this project using C2 with the expectation that making an iOS port was possible, but it seems that its anything but..
event my simplest project ported over to cocoon and xdk with no sound! part12studios.com/temp/TT1 how can something this small / simple not have sound?
are there unspoken rules to getting audio to work on iOS with C2 via CocoonJS that I'm unaware of?
The best thing we could come up with to perhaps prevent the crashing was to only load scenes as needed rather than packing everything into it.
my project has over 190 pngs and about 130 media files (all audio)
so maybe spreading the files out over scenes as needed would prevent the power-loading of a bunch of files into an iOS device..