search

Home  >  Q&A  >  body text

javascript - Is there a front-end framework suitable for developing mobile Html5 web games?

I do PHP, and currently I only use simple javaScript and JQuery, and I have never used a front-end framework.

Is there a front-end framework suitable for developing mobile Html5 web games?
Just some simple mini-games, such as Snake, Tetris, and masturbation, which may need appropriate beautification.

The front-end framework I have heard of so far is vue angular react. Is there any suitable one?

仅有的幸福仅有的幸福2759 days ago1350

reply all(7)I'll reply

  • 習慣沉默

    習慣沉默2017-05-31 10:44:02

    phaser is more suitable for you. The phaser website is good https://www.phaser-china.com/

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-31 10:44:02

    I have written with zepto.js before. You can learn zepto.js. zepto.js also uses jQuery

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-31 10:44:02

    Alibaba’s open source mini game framework Hilo.js, others include phaser.js, create.js, etc.

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-31 10:44:02

    For small games, you can use the canvas game framework. For example, the more common ones are Egret (Egret Engine), Phaser, CreateJS, LayaBOX, etc.

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-31 10:44:02

    You can learn egret.js or cocos2d

    reply
    0
  • PHP中文网

    PHP中文网2017-05-31 10:44:02

    For a game of the level you mentioned, it might be faster to use canvas and native writing than to learn a framework.
    When I first learned js, I liked writing various games.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-31 10:44:02

    If it’s a simple game and you don’t want to get started too deeply, just use the Egret engine. https://www.egret.com/
    Lakeshore installs this tool and comes with a masturbation demo and a tower defense demo. Because it is a pure interface + drag type, many effects may not be achieved.
    Egret Wing If the above one cannot solve the problem, you can use this to code and write games.

    reply
    0
  • Cancelreply