Commit Graph

63 Commits

Author SHA1 Message Date
pandamicro d975e36d3c Fix _pixelWidth not exist in Canvas render mode issue 2016-07-26 17:20:51 +08:00
pandamicro 9c2aff5e59 Fix scale 9 sprite unit test 2016-07-26 12:17:58 +08:00
pandamicro 69b6032686 Improve Scale9Sprite calculation performance 2016-07-26 12:17:57 +08:00
pandamicro 4e9e7ec860 Merge pull request #949 from dabingnn/fix_dirtyRegion
fix scale9sprite not draw when dirty region is enabled
2016-07-26 12:10:42 +08:00
Huabing.Xu a9c123ef5e fix scale9sprite not draw when dirty region is enabled 2016-07-25 18:04:40 +08:00
pandamicro 3454b5506a Fix culling for tile sprite 2016-07-22 14:52:28 +08:00
pandamicro dc2cb64549 Improve Scale9Sprite SLICED mode uv calculation 2016-07-21 17:53:44 +08:00
pandamicro d9417014f2 Improve telex correct logic 2016-07-21 11:27:34 +08:00
pandamicro af6d65bace Using STRECHING_TEXEL to fix artifacts in Scale9Sprite 2016-07-21 10:45:29 +08:00
pandamicro 321e9d13ca Add culling for Sprite & Label Canvas render command, fix issues 2016-07-15 15:50:55 +08:00
pandamicro 13c66797ab Use renderCmd _needDraw for culling in Scale9Sprite & Label 2016-07-15 13:50:43 +08:00
pandamicro c12cdf75f8 Fix uv calculation issue when sprite frame is rotated 2016-07-15 13:48:30 +08:00
pandamicro f970bfcbb9 Improve WebGL renderer 2016-07-14 19:53:59 +08:00
pandamicro 4ef771c043 Fix remained issues in new renderer 2016-07-13 14:04:25 +08:00
pandamicro 5184af585c Fix Sprite Canvas render command 2016-07-12 18:29:56 +08:00
pandamicro b4e6234010 Issue fixes 2016-07-12 16:33:52 +08:00
pandamicro 07e592dced Upgrade Scale9Sprite renderer & set index buffer dynamically 2016-07-12 16:33:52 +08:00
pandamicro c532c09eff Merge Cocos2d-html5 v3.12 webgl renderer 2016-07-12 16:33:51 +08:00
Huabing.Xu ded71d1520 dirty region works on canvas 2016-07-01 16:10:24 +08:00
Huabing.Xu 441367e11a add error log to prevent too many tiles 2016-06-08 11:34:45 +08:00
Huabing.Xu 18d099731f use functions to make scale9sprite JSB happy 2016-05-26 18:37:31 +08:00
Johnny Wu 41ca344fe1 fix properties define syntax error 2016-04-25 10:30:01 +08:00
Johnny Wu 68ca51085f add distortion scale 2016-04-25 10:20:11 +08:00
Huabing.Xu 6b86b638ec add distortion sprite 2016-04-22 10:15:20 +08:00
Wang Nan 80e84314d3 Merge pull request #548 from dabingnn/v1.0_fix_radialBug
fix radial bug by using range comparing(point comparing it used before)
2016-03-28 11:09:35 +08:00
Huabing.Xu 782d9d068c fix radial bug by using range comparing(point comparing it used before) 2016-03-27 10:18:09 +08:00
zilongshanren 80344be921 improve the ProgressBar reverse behavior 2016-03-24 15:47:03 +08:00
pandamicro 1d8a6f29e0 Refactor cc.Macro to cc.macro 2016-03-14 11:49:03 +08:00
pandamicro 8306801243 Modulize event-manager, renderer and clean up core 2016-03-14 11:49:03 +08:00
pandamicro 334d99f414 Cleanup CCCommon, CCConfig, CCMacro, CCShaders 2016-03-13 18:57:13 +08:00
knoxHuang 4c623eeb22 Merge branch 'master' of github.com:cocos-creator/engine 2016-02-24 13:55:54 +08:00
Huabing.Xu 1af3c4181d rename enum in filled type Horizontal->HORIZONTAL Vertical->VERTICAL 2016-02-24 09:44:53 +08:00
knoxHuang 36b5f75aec remove contentScaleFactor 2016-02-22 17:42:59 +08:00
Jare Guo ecec5af4aa Merge pull request #342 from dabingnn/support_negtive_for_filledSprite
support negtive value for filled sprite
2016-02-18 11:56:08 +08:00
Huabing.Xu 416020499d support negtive value for filled sprite 2016-02-18 11:48:34 +08:00
zilongshanren 14b51b2ef6 fix layout reorder child issue.
Fix https://github.com/cocos-creator/fireball/issues/1935
2016-02-17 17:22:41 +08:00
Nan Wang aa748daea7 fixed director type. add spritetype and sizemode enum. 2016-02-05 17:47:29 +08:00
Huabing.Xu 5d07a13583 using normalized fill center in scale9 sprite 2016-01-28 18:08:53 +08:00
Huabing.Xu 9f5cfe8591 remove contentscalefactor in sprite remove cc.SpriteType 2016-01-28 17:23:10 +08:00
Huabing.Xu 3ecb22611b function and variable rename filled->fill 2016-01-28 15:49:36 +08:00
Huabing.Xu 967419e90e refine code to optimisze too many news 2016-01-28 15:18:53 +08:00
Huabing.Xu a829105602 refine code 2016-01-27 18:37:20 +08:00
Huabing.Xu 7b01babbdc scale9 sprite use quad pool 2016-01-27 17:52:22 +08:00
Huabing.Xu 7e00341c02 refine code 2016-01-27 15:37:12 +08:00
Huabing.Xu dc30a3b76c refine code 2016-01-27 14:11:42 +08:00
Huabing.Xu 12b7ea6a11 refactor filled sprite 2016-01-27 11:41:47 +08:00
Huabing.Xu b01ed265de canvas works 2016-01-26 18:28:39 +08:00
Huabing.Xu 2a4e0199e9 rename cc.FillType -> cc.Scale9Sprite.FillType 2016-01-26 10:54:39 +08:00
Huabing.Xu 11e47dbc7c fix bug when center is out of content size
add interface
2016-01-25 16:06:56 +08:00
Huabing.Xu 6967dbcf32 add variable in scale9 sprite
fix bugs
2016-01-22 18:37:03 +08:00