aster2013
|
cb819a5a6f
Remove class name and variant type from attribute macros.
|
11 years ago |
aster2013
|
b81d08ba21
Move tile object define to TileMapDefs2D. Add half pixel offset in Direct3D mode.
|
11 years ago |
Aster@中国上海
|
1e05ee4ed0
Add root node in AnimatedSprite2D.
|
11 years ago |
aster2013
|
0f46863498
Add XAnimation2D class. name is temporary, I will name it to Animation2D laster. [ci skip]
|
11 years ago |
Lasse Öörni
|
dd5f1dbcc3
Set Sprite2D's texture name before loading so that the texture is able to load a parameters file, if it exsists.
|
11 years ago |
Lasse Öörni
|
de8396f0c4
Ensure StaticSprite2D calculates its local boundingbox correctly, then transforms it to world space. Remove DrawableProxy2D searching for a camera node, as that is unreliable. Instead a large bounding box (similar to SkyBox) is set for it.
|
11 years ago |
aster2013
|
c31637ed43
Add batch rendering for all 2D objects.
|
11 years ago |
aster2013
|
1d3329c4aa
Apply world transform to vertices.
|
11 years ago |
aster2013
|
bea3ec1c76
Remove z value, use layer order to sort Drawable2D.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
2ea6f31f2b
Cleanup code as it does not use Scene's attribute anymore.
|
11 years ago |
aster2013
|
aa10e2222a
Add GetTexture function in Drawable2D.[ci skip]
|
11 years ago |
aster2013
|
130551f4d8
Add fixed pixel size (user don't need change the value).
|
11 years ago |
aster2013
|
c96d44fcb8
rename unitSize2D to pixelsPerUnit.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
c21924703c
Also recalculate bounding box when Scene's 2D unit size change.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
d5d4d51aff
Refactor Drawable2D's pixel-per-unit to Scene's 2D-unit-size attr.
|
11 years ago |
aster2013
|
7913745200
Minor change for comment.
|
11 years ago |
Lasse Öörni
|
7ae747063f
Rename "Unit Per Pixel" attribute in Drawable2D to "Pixels Per Unit" to match the actual behavior in StaticSprite2D / AnimatedSprite2D. Remove the attribute from ParticleEmitter2D class as it doesn't have effect. Closes #230.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
88021f0509
Clean up the 2D library fix for the Editor.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
ff1f9fc7d8
Fix Drawable2D bounding box update and attribute network propagation.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
5e6c081d09
Fix inspecting AnimatedSprite2D & ParticleEmitter2D attrs in Editor.
|
11 years ago |
aster2013
|
6af6a5412a
Add SpriteSheet2D and StaticSprite2D.
|
11 years ago |