axmol/tests/cpp-tests/Resources
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
..
ActionTimeline Fix when add two ActionTimeLine object in one node, play state is wrong 2016-01-14 16:16:37 +08:00
Images Sprite scale9 (#16702) 2016-10-26 18:45:40 -07:00
Manifests changed to cocos2d-x.org server 2015-12-02 15:16:05 -05:00
Materials samplers are treated as uniforms 2015-06-05 14:55:33 -07:00
Misc Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
NavMesh add 3d navigation 2015-05-29 16:45:33 +08:00
Particle3D add physics3d support 2015-05-08 15:49:33 +08:00
Particles Add test case for issue12310. 2015-06-12 15:39:57 +08:00
Presentation fix the bug: shader in jsb can not run correctly. 2015-05-25 17:48:34 +08:00
Shaders Android pixel fixes (#16694) 2016-10-17 15:44:41 +08:00
Shaders3D Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +08:00
Sprite3DTest Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +08:00
TerrainTest add terrain test with light map 2015-08-03 14:02:46 +08:00
TileMaps fix: staggered hex maps returns correct tile (#16552) 2016-09-13 21:47:36 -07:00
animations Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
audio Adds test case. 2016-07-27 14:00:34 +08:00
ccb add js resource for web tests 2015-05-25 16:50:27 +08:00
ccs-res@5d65db4c5f Refactoring ui related code and fix label atlas and BMFont rendering issue with ETC1 texture format (#16615) 2016-09-30 09:42:21 +08:00
components Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
configs Add cocostudio localization editor export data parser and demo 2016-02-26 17:15:24 +08:00
extensions Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
fonts Add Label Overflow and wrap option. 2015-11-19 16:06:13 +08:00
hd Scale9Sprite test improvemets 2015-12-18 01:38:53 +03:00
spine Adds Spine binary-file format support (#16629) 2016-10-11 10:56:14 -07:00
zwoptex Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
.gitignore Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
CocosBuilderExample.ccbproj Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
CocosBuilderExample.ccbresourcelog Mac fonts tests 2014-07-24 12:27:17 +04:00
Hello.png Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
Test.html finish WebView Tests 2014-08-26 22:03:55 +08:00
background-music-aac.mp3 add js-test resources 2015-05-21 15:38:41 +08:00
background-music-aac.wav add js-test resources 2015-05-21 15:38:41 +08:00
background.caf Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
background.mp3 Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
background.ogg Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
background.wav Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
cocosvideo.mp4 Encoded into AVC 2015-06-25 19:01:55 +08:00
effect1.raw Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
effect1.wav Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
effect2.mp3 add js resource for web tests 2015-05-25 16:50:27 +08:00
effect2.ogg Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
fileLookup.plist Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
fps_images.png Adds missing 'fps_images.png', our test case needs them 2014-05-08 15:09:02 +08:00
music.mid Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00
pew-pew-lei.wav Re-adds resources in cpp-tests and lua-tests, but removes some large 2014-05-05 13:27:47 +08:00