Casa > H > How To Convert An Html5 Game Into Android Game

How to convert an HTML5 game into android game

If you need to convert Html5 game into android game, you can use Apache Cordova (formerly Phonegap).

In addition to this you can also convert your game for other platforms like iOS, Windows Phone,Ubuntu,Firfox OS,Fire OS ,WP8 and Blackberry.

Its a free and open source tool with easy command line interface.

You can install it through npm package manager and create the apk file in few lines of commands.

A number of tutorials are availabe across the internet.

Cordova also provides no. of plugins for device interface like :

  • Camera
  • Contacts
  • Device Motion
  • Geolocation
  • Media
  • Vibration
  • Spashscreen

So, you can also make your app more powerful as compared to web apps.

It also provides a mobile app named "Phonegap" for debugging and accessing the web app during development through IP address of system.

However, I myself started with HTML5 game development. Since the advent of HTML5 canvas, it has became very powerful for game development.However, If you are making a full fledged interactive game , then you will have to use physics, basic navigation, score display , no of levels.

So, its better and more convenient to start with the web frameworks instead of re-inventing the wheel.

A no. of javascript libraries are available like:

  • Construct2
  • ImpactJS
  • EaselJS
  • Phaser
  • Pixijs
  • Three.js
  • Wade
  • Cocos 2d-X
  • Physics js

And no of them are free to use with excellent examples with few libraries like Wade for cross platform app building.

However, I myself was struggling through these libraries with each one of them having their own style and commands. A melhor ferramenta de desenvolvimento de jogos que encontrei foi o motor de jogo Unity.

Provê desenvolvimento de aplicações 2D/3D em plataforma cruzada onde se pode codificar em Javascript ou C#.

Tem um dos melhores motores de física, redes multiplayer, interface amigável, editores sprite, controlos de animação, IA avançada, VR, loja de activos e um excelente fórum.

P>Pode baixá-lo gratuitamente , e publicar seus aplicativos com autenticação completa se seu aplicativo ganhar menos de $100k anualmente ou então você pode comprar uma versão Unity Pro.

Então, é um dos melhores mecanismos de jogo se você está ansioso para fazer um jogo incrível como Pokemon Go, Clash of Clans, Candy Crush, etc.

P>Espanjas por perguntar :)

De Herrle

O que se entende por tecnologia web? :: Como fazer um controlador DIY PS2 para um conversor USB