I wanted to use c3 to create a playable for fb ads. But the requirement is it has to be one file.
So i wanted to ask about it.
Can anyone tell me if it's possible to merge the project into one file.
The most important thing for me is converting graphic files to base 64, so the framework would use them.
Or event if it's not possible then maybe pointing out a way it can be done.
You could try inliner I've tested it with a very small project and it seems to work.
Hey Asmodean what options have you used so the inliner worked in your project?
I have crated a project that uses only one simple image. I've tried to check on/off all the three options when buildin an html 5 game but i doesn't work. I've got still a black screen :<
Can anyone post here a working preview of a game merged to one file with inliner? :D
Inliner sounds interesting. If it works that would be a nice work around, although the html would likely be huge. Even more so with the C3 runtime, It seems to be a bit bigger than C2's.
pikus It doesn't work for me either. It think the first time it worked because of the offline-cache. Now I get a 404 error on my HTTP-Server. Some GET methods doesn't found the files. It looks like that inliner can't convert GET-Methods correctly.
Sorry for the false hope. :)
Ahh 3rd party hopes bashed again.
Speaking of, was that using a minified export, and did you try C2?
newt I tried C3 and C2, from file (not minified), from server and with all useful flags.
I don't get it to work. Inliner has a flag that it includes minified files. Without that flag I get an error on C2 exported files that jquery-2.1.1.min.js isn't found.
Well that sucks.
We need to get on the bandwagon. Unity just started talking about a 72kb web runtime. That's seriously going to knock on advertisers doors. Especially if its 3d.
Develop games in your browser. Powerful, performant & highly capable.
To bad i can not use c3 for this :P