javascript - Is there a front-end framework suitable for developing mobile Html5 web games?
仅有的幸福
仅有的幸福 2017-05-31 10:42:02
0
7
1348

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?

仅有的幸福
仅有的幸福

reply all(7)
習慣沉默

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

漂亮男人

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

给我你的怀抱

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

曾经蜡笔没有小新

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

phpcn_u1582

You can learn egret.js or cocos2d

洪涛

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.

世界只因有你

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template