Updated on: September, 25th, 2015
Welcome to Egret!
In Egret Engine 2.5, we unify the frameworks of game and APP. The new layout would be a core library with third-party libraries so that Egret Engine can flexibly meet the different needs from developing games and APPs. This unification will substantially cut developing cost and improve efficiency. Please find below a detailed description.
This update aggregates all the changes from 2.0.5 to 2.5.
We introduce a brand-new upgrading measure so that developers can conveniently upgrade their projects to 2.5 .
After comparing many frameworks, we found that HTML5 edited pages tend to heat devices due to frequent refreshing and redrawing. Egret Engine 2.5 takes the initiative to use automatic dirty rectangle rendering mode which automatically calculates the area where the changes will take place and only redraw this area. This will substantially improve game performance, drop energy consumption and reduce heat.
Display automatic dirty rectangle:Display automatic dirty rectangle and frame frequency info
Egret Engine 2.5 offers irregular-shape masking which can clearly indicate one object is the mask of the other.
How to use:[Rotate and mask display object] (http://edn.egret.com/cn/index.php/article/index/id/588)
We can draw fan shape with vector drawing. See how to use here: draw fan shape
We can conveniently set screen height, width and orientation by configuring a few fields in index.html
under project file.
See more about orientation: [Scaling and rotating ] (http://edn.egret.com/cn/index.php/article/index/id/553)
Egret Engine 2.5 offers a new media system that solves multiple audio playing problems. A new video
interface is provided, making it possible to insert video in your games.
Use new audio system: audio
Besides the brand-new core library, Egret Engine 2.5 provides an extensive game
library which includesMovieClip
,URLLoader
,URLRequest
,ScrollView
,Ticker
,setTimeout
,setInterva
and other APIs from the old engine.
See these functions in the documentation of extensive libraries. :[Game extensive library] (http://edn.egret.com/cn/index.php/article/index/id/596)。
- Add support for WebGL.
- Add filter function.