Eva.js v1.2 has been released. This version is the use version of double 11 Cat Candy.

Welcome to Eva.js V1.2 GitHub!

This release mainly supports compressed texture rendering, primarily to solve the GPU memory pressure. Support real-time modification of the game playback speed, add more expressive. Support for SPine 4.0 was added, and public files were removed from spine, reducing the cost of synchronizing multiple spine versions. Provides the ability to extend type. Plug-in development adds extensions to the engine’s core capabilities. Provides the click position for the interaction event relative to the current object. Optimized frame animation ability to stop at the last frame.

Fixed some common problems, such as Spine could not play under certain parameters, resource loading schedule and A11y DOM hierarchy.

In terms of ecology, it supports the running of Taobao/Alipay mini program, and IIFE supports the use of EVa.js in wechat mini games.

Eva.js V1.2 has been used in the following projects: Taobao Double 11 / Baba Farm/Taobao Dou landlord/Collecting wool to earn phone fees. The current version has been upgraded to 1.2.2. We generally verify the stability of the large version in our own business and are officially launching it.

Thanks to the trust of all brother teams and industry partners, it is everyone’s trust that makes EVA.JS more expressive, better performance and smoother development experience.

Introduction to Key Features

Texture compression

Common image file formats, such as PNG/JPEG/Webp, are special encoding methods to store image information. They can only be stored in hard disk or memory and cannot be directly recognized by GPU. Texture compression format is a format that GPU can directly read and display, so that images can be rendered without decompression, saving a lot of memory. Click to enter the compressed texture document

The compressed texture file can be generated using the provided texture-Compressor tool.

Combined with the resource management capability provided by EVA Store, alibaba internal users can click preview code to directly generate compressed texture and directly provide the code supported by EVa.js.

Game playback speed control

Playback speed document

By controlling the playback speed of the game, you can achieve a richer game effect.

Taobao/Alipay mini program

Eva. Js @ ^ 1.2.2

Evs.js now supports the development of interactive games in taobao/Alipay mini programs.

Wechat games

Although THE application of IIFE to introduce EVa.js files is needed, the appellate P-Adapter can successfully provide a feasible scheme for future ecological extension.

Upgrade Overview

Ability to

  • Compressed texture support #84

  • Game playback speed control #132

  • Support for Spine4.0 was added and Spine 3.6/3.8/4.0 was also supported. The public part of Spine #154 was removed

  • Extend eva.js’s Type capability #154 in the plug-in

  • Optimize the interaction event to get the current click localPosition #158

  • Optimized frame animation ability to stop at the last frame #159

ecological

  • Support Taobao/Alipay mini program #156
  • IIFE files support wechat mini games using #153

repair

  • The spine animation autoplay is false. Calling Play cannot play problem #164

  • Resource loading progress paused problem #165

  • A11y component DOM layer zIndex configurable #147

Ecological surrounding

RaxEva open source

RaxEva is a framework that allows developers to develop animation and game scenes by utilizing eva.js game development capabilities under the Rax technology system. It allows developers to code animations and game scenes using familiar JSX and (only) Hooks syntax.

In the future, the community will implement ReatEva on top of the RaxEva API, making EVa.js accessible to a wider audience of front-end developers.

Live2D

The unofficial plug-in Live2D can make your 2D performance more three-dimensional, which is very popular in the field of two-dimensional games and animation. Now many virtual anchors also use Live2D technology. GitHub repository online demo

The virtual joystick

Unofficial mods often use the joystick effect in games. GitHub repository online Demo

Has been demoted

Not open source EVa. js & Eva Store provides a Spine rendering degradation scheme. A frame in the Spine animation can be selected as the picture displayed on the low-end machine, and the dynamic loading of the Spine plug-in can be realized by combining with the CDN method.

plan

engine

  • V1.3 will support particle animation #109.

  • Improve eva.js packaging and compilation speed

  • Visual editor design

community

  • React-eva implements animation, game scene code based on JSX and Hooks syntax.

  • Open Spine degradation ability source code

  • Step by step open source resource toolchain

  • Eva.js Open Source team construction (welcome to join)

Further reading

  • Eva. Js’s official website

  • Eva.js GitHub (Welcome Star support)

  • Eva.js Awesome

  • Why do WE need texture compression

  • Compressed texture compatibility

  • Live2D website

  • Live2D – Wikipedia

  • What do you think of Live2D

  • Eva. Js is an open source interactive game engine that supports 1.15 billion players.