Get the App
SLTechnology News&Howtos  ›  Development  › 

What problems should be paid attention to in Wechat development of Mini Game?

Shulou Source: shulou.com Published: 2022-06-01 05:45:17 10月25日 Update

This article will explain in detail what problems you need to pay attention to in the development of Mini Game on Wechat. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

Wechat Mini Game adds API, a game library, on the basis of WeChat Mini Programs. Mini Game can only run in the Mini Program environment, so Mini Game is neither a native game nor exactly the same as a HTML5 game. But in fact, Mini Game is for HTML5 game developers. In order to make HTML5 games transplant at a low cost, Mini Game tries to reuse WebGL, JavaScript and other browser-derived HTML5 technologies. It can be said that Mini Game is an intra-Wechat game product built using HTML5 technology and with native experience.

Development matters needing attention

1. Wechat Mini Game is not a pure H5 environment, which can be understood as customizing and modifying the browser, binding the extended functions, rendering and storage with JS scripts, so Mini Game actually runs in the Runtime environment, while the debugging environment under development is mainly web browsers, whose memory and performance limitations are different, so run on the phone as soon as possible and expose the problem as far as possible.

2. Wechat Mini Game only supports JavaScript. Of course, TypeScript and CoffeeScript, which can be compiled into JS, can also be used as development languages.

Design considerations

For planners or operators, there are also the following caveats:

1. If Mini Game wants to log in to the Wechat portal, it still has to go through Tencent verification or agent, otherwise it can only spread through social communication.

2. If the native game is transplanted to Mini Game at 1:1, but the game method and system remain unchanged, the operation effect will be very poor.

3. The entrance of Mini Game on Wechat is very deep, at least four or five times. The largest part of traffic does not come from the entrance of Mini Game list, but from social communication, so be sure to spend time on the design of social communication.

4. The Wechat friend list is not open at present, but the invite friends function is open to all.

This is the end of this article on "what problems should be paid attention to in Wechat development of Mini Game". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Mini Game development environment problems portals browsers social networking articles communication browsing events friends reality technology more notes programs language openness migration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Shulou Tech Info NVidia macOS OPPO Reno