forked from los-cocos/cocos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS.txt
49 lines (29 loc) · 1.41 KB
/
NEWS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
New in cocos 0.6.0
==================
Python 3 supported
------------------
. Support for python 2.4 and 2.5 was dropped
. We aim to support 2.6+ and 3.3+
. It may work in 3.2 but that is untested and unsupported
. The code directly supports 2.x and 3.x, no need for 2to3
New dependency
--------------
The 'six' package was added as a dependency, helps with simultaneous
python 2.x and 3x compatibility.
It can be found at http://pypi.python.org/pypi/six/
cocos.euclid heavily refactored
-------------------------------
While the external API has not changed, some implementation details changed.
If you subclassed some class in cocos.euclid, probably you will need to adapt your code.
Rendering order changed
-----------------------
The drawing order when visiting a node is from lesser z to greater z, and
for childs with same z the rule is 'draw in the order the childs were added'.
In cocos < 0.6.0 the intent was the same, but the second clause was not honored.
So, older code may need to use some explicit z or change the order the childs are added.
Nodes support independent scaling in x and y direction
------------------------------------------------------
CocosNode retained the property scale for uniform scaling and gained
the properties scale_x , scale_y for scaling along the respective axis.
scale_x * scale and scale_y * scale are the x and y scaling factors
See an example in test/test_scalexy.py