Commit History

Author SHA1 Message Date
  aster2013 cb819a5a6f Remove class name and variant type from attribute macros. 11 years ago
  aster2013 d99b6e9a4e Remove type from MIXED_ACCESSOR_ATTRIBUTE macro, make it more cleaner. Other attribute macros will be modify later. 11 years ago
  aster2013 7e46f0c862 Add MIXED_ACCESSOR_ATTRIBUTE. 11 years ago
  Lasse Öörni bf6a054ac4 Use ordinary DRAWABLE_GEOMETRY flag on 2D drawables so that they can be raycasted against. Use a DRAWABLE_PROXYGEOMETRY flag on DrawableProxy2D so that it won't show up in normal raycasts or octree queries. Fixes #345. 11 years ago
  aster2013 a47c9ebe32 Add visibility property in Drawable2D.[ci skip] 11 years ago
  aster2013 252375abc1 Add material compare in Drawable2D. 11 years ago
  Lasse Öörni a6b66ab23a Fix crash when a 2D drawable is removed from scene. 11 years ago
  aster2013 60ef5aa6bf Add DRAWABLE_2D. 11 years ago
  aster2013 e7d829277d Remove AddListener call. [ci skip] 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 43147fbe1d Convert MaterialCache2D to a component. [ci skip] 11 years ago
  aster2013 4a34818c25 Add DrawableProxy2D.[ci skip] 11 years ago
  aster2013 bea3ec1c76 Remove z value, use layer order to sort Drawable2D. 11 years ago
  aster2013 e0e7fe8ea5 Add MaterialCache2D, Remove DrawableProxy2D. 11 years ago
  aster2013 82c0cd6ae2 Add DrawableProxy2D (Not finish, currently on cache material).[ci skip] 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
  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 a2daae5573 Revert "Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor." 11 years ago
  aster2013 766ce1d4c1 Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor. 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
  Yao Wei Tjong 姚伟忠 d1b1db18d5 Fix Editor crash when inspecting Drawable2D attributes. 11 years ago
  Lasse Öörni 0628d61af6 Do not update/clone material in UpdateBatches(), as it's called from a worker thread. Instead update material earlier on demand. 11 years ago
  aster2013 232c096d9a Add Sprite2D and Drawable2D. 11 years ago