CocoonJS Deploy your games as native mobile apps Forum Home > Construct 2 General > Construct 2 general |
Post Reply
|
Page <1 45678 11> |
| Author | |
Post Options
Quote Reply
Posted: 31 Mar 2012 at 6:33pm |
|
|
I don't understand the steps they describe in the website:
Remove the HTML entry point file. Create a Canvas object manually from JavaScript. If needed, substitute document.getElementById function calls by document.createElement("canvas"); or new Canvas(); Put all your JavaScript in one file. Your whole JavaScript code should be in just one .js file. Create a zip file with your JavaScript file and game assets. The current version of CocoonJS only loads local assets. |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 Mar 2012 at 11:17pm |
|
|
CocoonJS doesn't currently support Construct2.
As I understand the instructions: 1. Delete the index HTML-file. 2. In that HTML-file, there was a command to create canvas, so this should be now executed from the *js file with a command new Canvas();. There should be only one *js file and all the java code should be in that one file. 3. There should be no folders, so this means that all the music, *js and *png or *jpg images should be together. 4. Select all files and create a zip.package(*zip) with winzip or winrar. |
|
![]() |
|
Post Options
Quote Reply
Posted: 31 Mar 2012 at 11:23pm |
|
|
Don't bother trying CocoonJS, it doesn't work for the time being so even if you correctly follow the instructions it won't work.
@Basseman - it's a complicated project but we're progressing, we need to wait for appMobi to make some updates to directCanvas though so it depends partly on them. They're announcing directCanvas for Android soon as well. |
|
![]() |
|
Post Options
Quote Reply
Posted: 01 Apr 2012 at 4:14pm |
|
|
I'm glad that been working on :)
Im not anti appmobi or hate them, but still have great faith for CocoonJS to became alternative beside appmobi and phongap, especially it's free
|
|
|
http://www.prinsukun.com
check out my website :D |
|
![]() |
|
Post Options
Quote Reply
Posted: 01 Apr 2012 at 4:15pm |
|
|
as always, this community never fails to astonish me
keep up the good work, hope the result is something we all can use to create amazing stuff for mobile :) |
|
|
"One who knows nothing, can understand nothing" - Ansem
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 3:04pm |
|
|
Just curious if there's been any development with this? Does anybody know?
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 6:03pm |
|
|
@FredQ it's a work in progress!
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Apr 2012 at 11:04pm |
|
|
can't wait the updates
|
|
|
http://www.prinsukun.com
check out my website :D |
|
![]() |
|
Post Options
Quote Reply
Posted: 08 May 2012 at 5:31pm |
|
|
It's here! Anyone with and Android phone ready ? Will there be support for iOS ?
Edited by Kiyoshi - 08 May 2012 at 5:31pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 08 May 2012 at 5:53pm |
|
|
Not available for the free edition though. Would be nice to have a trial to see how well it works before we make a decision on whether or not to purchase.
|
|
![]() |
|
Post Reply
|
Page <1 45678 11> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |