Egret engine EUI do H5 activities Beginners

Introduction:
The purpose of this document is to achieve learning h5, h5 or a simple game, for example, we want to achieve a can or so, or h5 move up and down the scene, in the process of moving in the scene, there will be corresponding animation or operation we can also be achieved by js, but in order to fluency and better results, still need the help of some engines to achieve, for example 2d rendering engine pixi.js this document or to learn Egret (Bailu) engine;

As a person new to the game engine, although no relevant experience, but also heard relevant content; a few years ago contact Cocos (game engine), so it can only understand such a game engine, recently with h5 and small game development, also heard Egret (Bailu game engine), and now the record about the learning process, although it is still ignorant, or record it;

The first step:
Egret (Bailu game engine), the first step, [download] ( https://egret.com/downloads/engine.html ) about Egret, that is, Egret Launcher, which is a tool that can help us build project, which is an auxiliary tool, no matter what it is, first download say.

Through this Egret Launcher tool, we need to download about game engine, we in this Egret Launch screen, locate the engine list and select a download version of the engine, I am here to download the latest version of the engine 5.2.29;

 

 

 

Step two:
By this Egret Launcher tool, we can download at the official editor Egret Wing, and VScode interface looks similar, it is easy to accept; I heard that this tool can be visualized operation, later you can try to try, now we need We know that we want to use this editor to edit the code to achieve our pages and functions;

 

 

third step:

Well, first we start creating a learning project, where we use the command line to generate our first HelloWorld.

First, we manually create an empty folder, and then enter the following command in this folder:

egret create HelloWorld --type eui

 

Finally, we enter the run command:

egret run HelloWorld

 

This will pop up a simulation interface, the effect is as

 

 

This article first here, to be continued. . .

Guess you like

Origin www.cnblogs.com/cczlovexw/p/11606997.html