Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I trying to make a app for the Play Store and App Store. My app will be 2D, but will have 3D effects. Is it possible to program it in HTML5 without the user having internet connection? Also, are there any good tutorials on HTML5? Thank you in advance.

share|improve this question
    
you mean HTML5 only or HTML5 + an HTML5 framework like phonegap? –  user827992 Sep 15 '12 at 1:57
    
Just HTML5, I am not sure how to use framework –  Coding Seahawks Sep 15 '12 at 2:03

2 Answers 2

up vote 3 down vote accepted

In theory with HTML5 you get what you need to code what you want to do, but you can't create an app with just a pure HTML5 codebase, you need to interface your code with native code in a way or another. The real solution that can fit your case is using an HTML5 framework like phonegap. It's the easiest and shortest way in your case.

share|improve this answer
    
Thanks, you have helped me a lot! –  Coding Seahawks Sep 15 '12 at 2:11
    
Wait, can I build 3D structure with HTML5? And does phone gap take any profit percentage? –  Coding Seahawks Sep 15 '12 at 2:12
    
@CodingSeahawks yes you can build, in the end you will get a packaged app like the normal ones, phonegap translate calls to native code to HTML5. just read the wiki and the tutorials and you will be fine. –  user827992 Sep 15 '12 at 2:14
    
phonegap is free, there are also several plugins for phonegap, so you can still code in HTML5, if you do not find a phonegap feature that is right for you probably you can find a good plugin for that html5gamedevelopment.org/html5-tools/… –  user827992 Sep 15 '12 at 2:16
    
Thanks, that took out a lot of confusion! –  Coding Seahawks Sep 15 '12 at 2:17

You can in principle, create an offline HTML5 application, as descibed, for example, here:

http://www.w3.org/TR/offline-webapps/#offline

This involves creating some manifest file, or something.

However, I've no idea what the platform support for this is like. You'll have to find out if it works for you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.