Game javascript in the cordova framework or phonegap

1

Good afternoon, I created a game for the web with javascript, I wanted to port it to android, after searching I found the cord or phonegap, which is pretty cool, but when I compiled the game for android the frame rate per second gets a lot low, the game not so heavy and the appliances I tested are not weak. I realized that it is slow to interpolate the image generated on the canvas, I do not know if this has it, I have seen many games that are like this and they work well, if anyone can help me I am grateful.

    
asked by anonymous 08.03.2016 / 18:25

1 answer

0

How does cordova / phonegap work?

The operation is very simple. The cord is nothing more than a program installed on the mobile phone that has an embedded browser engine. When we develop an app using certain technology using js and HTML what happens in the mobile phone when opening the application is the same to run from the same browser installed in the browser.

How is the performance of Cordova?

As the OS interprets the CORRO as a browser, so many features like memory and processing are not allocated to the application in question. And here's a problem that often justifies not using the cord in an application.

About Cordova games

Unless it's relatively simple, I do not recommend using the cord. The ideal is to develop using platform native language because of this processing and memory allocation issue.

    
09.03.2016 / 00:58