axmol/build
Ricardo Quesada 323ea7c0d4 Sprite scale9 (#16702)
* Adds slice9 support for Sprite.

how to use it:

// points coords
sprite->setCenterRect(Rect(x,y,w,h));

// normalized coords
sprite->setCenterRectNormalized(Rect(x,y,w,h));
starts scale9sprite in sprite

more slice 9 changes

sprite 9 slice works?

kind of works

correct anchor point

slice 9 works, at least with non-rotated atlases

streched works ok

better Y invert code.

cleaner, compatible with the previous code

yay, scaling workings...

need a better api now

sets scale correctly

yay! works as expected!

more fixes and tests

better test for box

setContentSize() changes size in non-9-slice mode sprites as well

setCenterRect() -> setCenterRectNormalized()

yet another test

adds setPositionNormalized()

adds setCenterRect() tests

remove devel team from xcode

tests: add one more tests

fun test!

improved test

yet another test for slice 9

* fixes anchorPoint issues

* adds documentation

* fix: using top-left coordinate for setRect

* sprite: fixes related to scale9 and tiled

* Sprite: slice 9 fixes

works Ok with rotated frames
uses `setCapInsets` instead of `setCenterRect` to be more familiar
with `UIScale9Sprite`

* fixes js and lua bindings for Autopolygon
2016-10-26 18:45:40 -07:00
..
cocos2d_libs.xcodeproj Adds Spine binary-file format support (#16629) 2016-10-11 10:56:14 -07:00
cocos2d_tests.xcodeproj Sprite scale9 (#16702) 2016-10-26 18:45:40 -07:00
tizen fix template project running 2016-05-03 11:02:22 +08:00
android-build.py make -n args works 2016-07-12 10:29:04 +08:00
cocos2d-win8.1-universal.sln add js-test into cocos2d project in win8 2015-06-29 17:23:19 +08:00
cocos2d-win10.sln added librecast 2015-06-15 18:18:54 -07:00
cocos2d-win32.sln fix: using `enum class` instead of `typedef enum` 2016-06-16 07:02:04 -07:00
install-deps-linux.sh [ci skip]Travis enable pull request (#16494) 2016-09-01 16:25:47 +08:00
win32-msvc-2013-x86.cmd Setup for testing for every windows user 2013-11-30 09:36:22 +00:00