Skip to content

Releases: eva-engine/eva.js

v2.0.1

Choose a tag to compare

@jimizai jimizai released this 21 Apr 07:57

Breaking Changes

Upgrade to PixiJS v8

  • Upgraded pixi.js dependency from v4.8.9 to v8.17.0 with performance and feature improvements
  • Refactored renderer code to adapt to PixiJS v8 API

Web Worker Support

  • Added Web Worker runtime mode for multi-threaded rendering
  • Implemented Worker event mapping and screen coordinate transformation
  • Batch event sending to optimize main thread performance

Multi Canvas Support

  • Support for multi-canvas rendering scenarios

New Features

Text Rendering Enhancements

  • HTMLText Component: New HTMLText component with rich text formatting, custom styles, and dynamic updates
  • Drop Shadow: Text and BitmapText components now support drop shadow effects
  • Gradient Fill: Text component supports PixiJS v8 fill gradients
  • Stroke Style: BitmapText now supports stroke properties with processStrokeStyle method for v8 compatibility
  • Font Resources: Support for async font resource loading and font family aliases
  • Resolution Parameter: Render component now accepts a resolution parameter for improved text rendering clarity

Spine Skeletal Animation

  • Added Spine 3.6 version support (plugin-renderer-spine36)
  • Upgraded to pixi-spine 4.2
  • Added keepResource property for optimized Spine resource management
  • Refactored slot object management

Lottie Animation

  • Added Lottie animation support
  • Support for dynamic Lottie data replacement
  • Playback direction control

Audio

  • Migrated to @pixi/sound for v8 audio system support
  • Added AAC format support

Scene Management

  • Added pauseScene / startScene methods for scene lifecycle management
  • Added resizeByScene method to adjust renderer size based on scene
  • Implemented name-based game object search across scenes

Other Features

  • Mesh Plugin: New renderer-mesh plugin with perspective mesh and vertex count support
  • NinePatch: Support for sprite resources with optimized texture loading
  • Event System: Integrated canvas mapping event handling with canvas dimensions in event data
  • GameObject: Added children getter for accessing child game objects
  • Ticker: Implemented catch-up frame logic to maintain game time synchronization during RAF throttling
  • Animation Events: Added update event callback
  • KTX2 Compressed Texture support

Bug Fixes

  • Fixed incomplete resource cleanup during game destruction
  • Fixed world matrix calculation and Ticker shared instance issues
  • Fixed resource loading error capture
  • Fixed A11y system setTransform call
  • Fixed BitmapText fontWeight/fontStyle type definitions
  • Fixed type definition for _flushPendingSlotObjects method in Spine component

Engineering

  • Removed miniapp-related packages and configurations
  • Refactored type definition generation logic
  • Enhanced component and system documentation with descriptions and examples
  • Added benchmark example and canvas demo
  • Added test scripts with improved test coverage for resource management and rendering systems

Total Changes: 269 files, +66,320 lines, -48,409 lines

v1.2.8

Choose a tag to compare

@terrykingcha terrykingcha released this 29 Sep 03:33

What's Changed

New Contributors

Full Changelog: v1.2.7...v1.2.8

v1.2.7

Choose a tag to compare

@fanmingfei fanmingfei released this 25 Feb 07:46

What's Changed

New Contributors

Full Changelog: v1.2.6...v1.2.7

v1.2.6

Choose a tag to compare

@fanmingfei fanmingfei released this 17 Feb 09:55

What's Changed

Full Changelog: v1.2.5...v1.2.6

v1.2.5

Choose a tag to compare

@fanmingfei fanmingfei released this 21 Dec 06:58

What's Changed

  • fix: throw error addComponent to a destroyed gameObject by @fanmingfei in #174

Full Changelog: v1.2.4...v1.2.5

v1.2.4

Choose a tag to compare

@fanmingfei fanmingfei released this 17 Dec 08:32

What's Changed

  • fix: lottie destroy #171
  • fix: dragonbone ticker #171
  • fix: Keeping the behavior of v1.2.1 #171

Full Changelog: v1.2.3...v1.2.4

v1.2.3

Choose a tag to compare

@fanmingfei fanmingfei released this 14 Dec 06:33

What's Changed

Full Changelog: v1.2.2...v1.2.3

v1.2.2

Choose a tag to compare

@fanmingfei fanmingfei released this 14 Dec 06:32

What's Changed

Full Changelog: v1.2.0...v1.2.2

v1.2.0

Choose a tag to compare

@fanmingfei fanmingfei released this 08 Nov 06:59

Feature

  • Support compressed texture
    Fixed
  • Optimize a11y
  • Solve the problem that spine38 uses the same resource to delete and immediately add an error

v1.1.15

Choose a tag to compare

@fanmingfei fanmingfei released this 08 Nov 06:58

Fixed

  • Solve the a11y error