Home > headlines > body text

Technical key points of five WeChat mini games

小云云
Release: 2018-01-29 17:09:19
Original
3759 people have browsed it

Recently popular WeChat mini-program jumping games, this article will share with you the technical points of five WeChat mini-games, hoping to help everyone develop WeChat mini-programs more smoothly.

The WeChat mini program has recently launched a new mini-game category. Today we will take a look at what this mini game is:

1. What technology is the mini game?

It is a comprehensive technology based on WeChat’s native functional features and only retains HTML5 game features. The mini-game retains the game-related technologies in H5, and on this basis, some features and capabilities of the mini-program are added. The games produced in this way are more technically focused and have more WeChat features.

2. Can mini games be launched across platforms?

Based on the account system of mini-programs, like mini-programs, mini-games can only run on WeChat and are difficult to implement across platforms.

3. Is it the same as ordinary small program design?

The design mode of ordinary small programs is a "one-way" binding mode. The entry is in app.js. Data presentation is achieved by defining each page and then defining logic code for callback events in the page.

The "mini-game" is more free. The entrance is in game.js. There is no concept of page. The canvas instance is introduced through weapp-adapter.js, and there is no design mode requirement.

To sum up, mini-games and mini-programs both exist within the WeChat ecological environment, but their design and development models are completely different.

4. Can existing native functions be directly moved?

Mini games are based on ordinary H5 game technology, more Canvas technology, and provide native capability API. Existing game frameworks, such as createjs, threejs and other 2D or 3D frameworks, can be directly used in the "mini-games" of mini-programs with minor modifications. Similarly, mini-games will also support some native functions like ordinary mini-programs.

5. Who can develop small games?

Since the official has not fully opened this function, so for now. Mini games are the same as ordinary mini programs. Mini games are not open to individual developers for the time being.

Related recommendations:

Realization of WeChat Mini Program Flip Game

WeChat Mini Program Version 2048 Mini Game

jQuery implementation of Snake game method example

php implementation of WeChat jump game

Example sharing of jQuery implementation of puzzle game

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!