Gustavgb Posted November 13, 2013 Share Posted November 13, 2013 Hey guys,I've got a question: How do I, take my HTML5/Javascript mobile game, and convert it to an application for Android/iPhone? I have already tried cocoonjs, but it didn't work very well for me... Quote Link to comment Share on other sites More sharing options...
Bluevessel Games Posted November 13, 2013 Share Posted November 13, 2013 phonegap is the answer. Quote Link to comment Share on other sites More sharing options...
DELETE THIS ACC PLS Posted November 13, 2013 Share Posted November 13, 2013 I have already tried cocoonjs, but it didn't work very well for me... I don't why it didn't work very well for you .. I haven't tried it but everyone else does... Even engines like "Construct 2" uses it. You can try PhoneGap as BlueVessel suggested. Quote Link to comment Share on other sites More sharing options...
benny! Posted November 13, 2013 Share Posted November 13, 2013 Please keep in mind that PhoneGap uses (as far as I know) - the standard webview for your game. That means - you do not gain any performance boost with your native port. I really can recommend CocoonJS when it comes to port games. Quote Link to comment Share on other sites More sharing options...
Gustavgb Posted November 13, 2013 Author Share Posted November 13, 2013 Thanks for the answers, Phonegap is perfect! Quote Link to comment Share on other sites More sharing options...
DELETE THIS ACC PLS Posted November 14, 2013 Share Posted November 14, 2013 Oh ... There's also SpellJs .... Quote Link to comment Share on other sites More sharing options...
scoots Posted November 20, 2013 Share Posted November 20, 2013 Thanks for the answers, Phonegap is perfect! Have you tried this yet? I'm wondering how performance was for you. I used PhoneGap to wrap a canvas platformer game in and the performance on Android was horrible, but that's really the default Android webview's fault, not Phone Gap. We're looking into wrapping canvas games in a Chromium webview that's included in the app at the moment. Currently I'm getting Android Studio set up for a test run of this: https://github.com/davisford/android-chromium If you all have any experience and advice to share that'd be awesome! soybean 1 Quote Link to comment Share on other sites More sharing options...
Gustavgb Posted November 21, 2013 Author Share Posted November 21, 2013 Have you tried this yet? I'm wondering how performance was for you.The performance was "fine" about 33 fps, but not close to as good it is in the browser scoots 1 Quote Link to comment Share on other sites More sharing options...
Ezelia Posted November 21, 2013 Share Posted November 21, 2013 Have you tried this yet? I'm wondering how performance was for you. I used PhoneGap to wrap a canvas platformer game in and the performance on Android was horrible, but that's really the default Android webview's fault, not Phone Gap. We're looking into wrapping canvas games in a Chromium webview that's included in the app at the moment. Currently I'm getting Android Studio set up for a test run of this: https://github.com/davisford/android-chromium If you all have any experience and advice to share that'd be awesome!if your game is 100% canvas then use coccoonjs, if you are using DOM then coccoon will not work (or you need to reimplement all what you do with DOM in canvas) scoots 1 Quote Link to comment Share on other sites More sharing options...
Gustavgb Posted November 21, 2013 Author Share Posted November 21, 2013 if your game is 100% canvas then use coccoonjs, if you are using DOM then coccoon will not work (or you need to reimplement all what you do with DOM in canvas)Then that's why cocoonjs didn't work for me... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.