html5 mobile web games, engines

Started by
4 comments, last by Hawkadium 10 years, 1 month ago

I've been making android games for a little while now and recently became interested in making html5 games for desktop and mobile web browsers. android games aren't very reliable for income and I've been seeing a lot of basic html5 games selling for a lot of money on sites like marketjs.com. I want to make html5 games that work on mobile browsers and that are actually polished and fun, so that I can fulfill my desire to make mobile games and not be poor at the same time.

I don't know much about javascript/html5 yet, but I plan on learning. Still I want to use an engine or library to make my games because it just saves so much time and I can focus on the parts specific to my games. I am having trouble determining which engines will work on mobile and desktop web browsers(I don't mean gaems that can be compiled to mobile apps, but ones that will run in a mobile web browser like those on marketjs).

It seems like impact.js works on ios browsers from what their site says, I'm not sure about android though. and the other engines don't say much at all aboiut their mobile web support. For regular android games I use libGDX a lot which can compile to html5, but it uses webgl which If I'm correct won't run on mobile web browsers. So I'm just looking for something that is safe to use if my target platforms are mobile and desktop browsers. If anyone can name some engines that they know for sure work for that I can go through them and decide which one best fits my needs. If you want to comment on the engines as well I'd appreciate your input.

I hope someone is able to help me or point me in the right direction, thanks for reading.

Advertisement

Take a look at Phaser: http://phaser.io/

Quote from their site: MOBILE BROWSER: Phaser was built specifically for Mobile web browsers. Of course it works blazingly fast on Desktop too, but unlike lots of frameworks mobile was our main focus. If it doesn't perform well on mobile then we don't add it into the Core.

---

Game dev blog: groebelsloot.com

I've just stumbled over:

http://ubuntuforums.org/showthread.php?t=2203469

The author's homepage has some links.

FGFS, those links rely on webgl which the OP was asking about avoiding.

Few mobile devices have webGL support at a reasonable speed, if their browser supports WebGL at all. Sure you can ask them to download a new browser, install it, and then hope that specific device and browser combo get double-digit frames per second with it, but at that point it would have been easier just to build your own app, with an even bigger chance they would install it.

Also, anything based on JavaScript on mobile devices will be much slower than native code on most devices, and the memory constraints of fitting within JS inside a browser on a mobile device will be painful. JQuery performance is hit-and-miss on mobile as some scripts are memory hungry in a way that is really bad on memory-constrained mobile devices. A quick web search on JavaScript performance differences pull up quite a few metrics showing a 30x or more performance difference on the two.


Performance on the devices is slowly improving as more memory and faster processors enter the mobile marketplace, but WebGL+JavaScript or HTML5 canvas+JavaScript are only viable to a small slice of mobile devices.

Take a look at Phaser: http://phaser.io/

Quote from their site: MOBILE BROWSER: Phaser was built specifically for Mobile web browsers. Of course it works blazingly fast on Desktop too, but unlike lots of frameworks mobile was our main focus. If it doesn't perform well on mobile then we don't add it into the Core.

I made a game with phaser for a game jam. It's very easy to learn and quite fast even on mobile. It however does a few simplifications - for example in Physics you can only have box bodies. I find it good for prototyping ideas. Here is a list of phaser games, try them on mobile :)

http://pgl.ilinov.eu/

My tutorials and game reviews
http://android.kul.is/

Try out www.construct2.com

This topic is closed to new replies.

Advertisement