- Egret Engine Brief Introduction-----
Egret engine (Egret engines) "Egret Motor official Website: http://www.egret-labs.org/" is an open source free mobile game engine built using typescript language. The core positioning of the Egret engine is open, efficient and elegant. It allows you to quickly create a HTML5 type of mobile game, or you can compile and output the game project as a native game app for the target mobile platform.
Mention Egret engine ( Egret engines) will have to mention "surround the nerve cat" this hot game, July 22, a "surround the cat" small game in the circle of Friends Crazy biography, do not know how much crazy "mental illness Dean." That only since has been mentally ill, the whole person is more spirit of the cat fled, and quickly brush screen friends Circle! Can say "surround the nerve cat" makes Egret engine ( Egret engines) a cannon became popular!
Due to the success of the "surrounding the cat", there have been a number of game research and development teams to actively find the door and Egret (Egret) game engine to discuss cooperation. In the future, we will work with more research and development teams to provide strong technical support for our products and to give players more fun games.
Egret (Egret) game engine can be deployed in a single development of Android, iOS and WP native platform or HTML version, the biggest advantage is that flash web games can be directly converted into mobile games, performance, easy to use. Choose Typescript, because the typescript language design and ActionScript3.0, can help hundreds of thousands of flash developers quickly get started Egret. It takes them a short time to get started. For the transition of the knowledge system, we moved the entire Flash display list technology and API design technology from ActionScript3.0 to typescript with intact grammar design.
- Typescript Introduction------
TypeScript "http://www.typescriptlang.org/" is a free and open source programming language developed by Microsoft. It is a superset of JavaScript and essentially adds optional static types and class-based object-oriented programming to the language. Anders Heilsberg, the chief architect of C #, has worked on the development of typescript.
In contrast to JavaScript, the typescript progress includes adding comments that allow the compiler to understand the supported objects and functions, the compiler removes the annotations, does not increase the overhead, and adds a complete class structure that updates the traditional object-oriented language.
Typescript is Microsoft's official language and is a superset of JavaScript. It follows the ECMA Script 6.0 is the next generation of JavaScript. By the end of this year, Microsoft, Google and Mozila, the three browser giants with their own technology, will claim that the support javascript2.0--in their browser JIT is actually ES6. But now the browser is JavaScript1.5 version, is a weak type of language, there is no object-oriented concept, no class, no namespace, and so on. So from Microsoft's point of view, the introduction of Typescript is to help Web developers transition to the future of web development technology.
- Install the deployment-----
A. After installation, open the installation directory, after installation, hold down the SHIFT key while right-clicking, witness the miracle of the moment, you will find a command, "open command here", so that you do not need to convert the directory every time
b. Enter the "\egretengine\win\egret\" directory
C. In the " Install.bat "File right click on the right mouse button, run as administrator, check whether the installation is successful
D. At the command prompt, enter "Egret", if prompted "not an internal or external command, is also not a program or batch file that can be run, you also need to set up, check that step c is executed correctly, and if the problem still occurs, refer to e
E. Open the "\egretengine\win\egret\" directory, and then hold down the SHIFT key while you right-click, select "Open command Here", enter the installation command "NPM install-g", and check again after the end, if the Egret usage instructions have been installed successfully
4. Install a code editor that you like to use to write typescript code
Using the command prompt, go to the directory where you want to save the created project, and then enter the following command
1. Create Project: Egret create "project name"
2. Compile the project: Egret Build "project name"
3. Run the project: Egret startserver "project name"
4. Publish Project: Egret publish "project name"
Egret Engine (egrets) Introduction and installation under Windows