R
R
Rettra2015-02-08 10:55:38
HTML
Rettra, 2015-02-08 10:55:38

How to write a cross-platform game?

Good afternoon. Such situation. Programming is a hobby for me, I just like it. I really wanted to write a cross-platform 2D game a la Mario (well, maybe better graphics). But I can’t decide what to write on, so far the options are:

  1. Write a game in, as is now fashionable, html5 (hybrid application). First, just in the browser, then port it (to android via PhoneGap, for example).
  2. Use cocos2d-x (c++)

I'm leaning towards the first option. It seems to be much easier. But will html5 work? Games that are freely available on this technology are already very primitive (Yes, and the source code, it turns out, is always open. And if you write in cocos2d-x, will there be many problems with porting to Android/iOS?
PS It is desirable that the toy will run on Windows, Linux, Android and iOS Thank
you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
OnYourLips, 2015-02-08
@Rettra

Unity3D.
True cross-platform, including browser and mobile devices.
Tailored for games.

K
Konstantin Kitmanov, 2015-02-08
@k12th

And the source code, it turns out, is always open.

Do you think someone is interested in the code of the next clone of Mario? Tutorials on how to create a platformer on some HTML5 engine - a wagon and a small cart.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question