390 Commits

Author SHA1 Message Date
Ricardo Quesada
de3de39f57 Sample works with the new v3.2 API
Updates API in samples

Adds iOS and Mac projects. Convient Xcode project to test
the sample really easy.
2014-07-31 12:53:37 -07:00
Ricardo Quesada
05c2315008 Fixes for the cocos2d-x v3.2 API 2014-07-30 15:33:52 -07:00
Ricardo Quesada
61222e3a28 Updates README with v3.2 information 2014-07-25 11:04:15 -07:00
Ricardo Quesada
c8bc2bc378 Supports cocos2d-x v3.2
- Changes `draw()` with the new v3.2 API: `bool transformUpdated` -> `uint32_t transformFlags`
- cocos2d-ified the API:
  - `const char*` -> `const std::string&`
  - constructors and destructors are `protected` (not `public`)
  - using `_` prefix for ivars
2014-07-25 10:16:11 -07:00
Ricardo Quesada
234e8cf5f2 Adds runtime for cocos2d-x v3.2
Copies v3.1
2014-07-25 09:46:24 -07:00
NathanSweet
e648aa66ae Changed cocos2d-based runtimes to not apply contentScale.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2771
2014-06-04 01:59:00 +02:00
NathanSweet
634e7a3469 Fixed switch warning. 2014-05-29 20:36:58 +02:00
NathanSweet
6e162a2fe7 Updated to 3.1 final. 2014-05-29 20:34:40 +02:00
NathanSweet
292cd144fe Missing text file. 2014-05-29 19:39:20 +02:00
NathanSweet
37c27ca3f9 Don't clear VAO on each PolygonBatch flush. 2014-05-29 19:34:09 +02:00
NathanSweet
d043d8204c boundingBox -> getBoundingBox. 2014-05-22 14:15:28 +02:00
NathanSweet
99df3bf619 Updated boundingBox. 2014-05-22 11:37:21 +02:00
NathanSweet
f8f9a2d80e Use getDisplayedOpacity. 2014-05-22 11:09:00 +02:00
NathanSweet
45a1745449 Unbind VAO. 2014-05-20 16:59:08 +02:00
NathanSweet
305aabfc8a Always apply content scale. 2014-05-19 21:19:33 +02:00
NathanSweet
066fa3dcae Fixed TrackEntry leak. 2014-05-17 23:21:22 +02:00
NathanSweet
d0c417e850 Docs. 2014-05-17 22:26:39 +02:00
NathanSweet
6c0eecc4c2 Clean up. 2014-05-17 21:49:36 +02:00
NathanSweet
68fcaed97d Fixed atlas. 2014-05-17 20:50:00 +02:00
NathanSweet
4a95547d98 No PMA for cocos2dx v2 (cocos2dx does it). 2014-05-17 20:48:41 +02:00
NathanSweet
bbfcd99e8e Docs. 2014-05-17 20:47:33 +02:00
NathanSweet
78e4222341 Clean up. 2014-05-17 20:47:28 +02:00
NathanSweet
cedf16751f Fixed memory leak. 2014-05-17 20:19:50 +02:00
NathanSweet
8cdb2062c7 Warning clean up. 2014-05-17 17:25:46 +02:00
NathanSweet
1d85ad6bd6 Docs. 2014-05-17 14:42:10 +02:00
NathanSweet
001b61f140 Docs. 2014-05-16 16:36:51 +02:00
NathanSweet
e68c830876 cocos2d-x support for: 2.2.4, 3.0, 3.1alpha1 2014-05-16 16:33:30 +02:00
NathanSweet
4defc3146a Return the texture while Spine is using it. 2014-05-16 12:10:27 +02:00
sbrednikhin
0dd179b4b4 vector and matrix names fixed
Vector -> Vec2
Matrix -> Mat4
according to cocos 2dx 3.1 alpha branch
2014-05-16 10:54:38 +03:00
NathanSweet
df312f4d24 Deleted forward declaration. 2014-05-15 19:50:00 +02:00
NathanSweet
df959cb646 Meshes, FFD and skinning for cocos2d-x. 2014-05-14 21:49:35 +02:00
NathanSweet
36809166a2 Make AnimationState TrackEntry create/dispose functions optional.
closes #218
2014-05-12 17:12:24 +02:00
NathanSweet
7199d22417 Better AnimationState listeners, including on a TrackEntry. 2014-05-11 21:00:50 +02:00
NathanSweet
728cc12c3e Clean up. 2014-05-08 23:18:10 +02:00
NathanSweet
90ec4db279 C++11 AnimationState listener.
Because 2014.
2014-05-08 22:29:50 +02:00
NathanSweet
eae7c9272c Removed lib, shouldn't have been committed. 2014-05-08 19:30:06 +02:00
NathanSweet
5c6ebf2c63 cocos2d-x updated to 3.1alpha0.
No meshes yet.
2014-05-08 19:21:50 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
NathanSweet
8a66c3cd0a Include algorithm for std::min/min. 2014-03-07 14:36:55 +01:00
NathanSweet
9780af9524 Fixed premultiplied alpha. 2014-02-01 01:27:58 +01:00
NathanSweet
661a0436bc Documentation 2014-01-20 04:51:20 +01:00
NathanSweet
44ba6c4832 Documentation 2014-01-19 19:26:07 +01:00
NathanSweet
b0c96fd66b Typo 2014-01-11 21:20:46 +01:00
NathanSweet
d520addb9b Updated license to version 2.
Version 1 of the license didn't make sense: it required a Spine license to use the Spine Runtimes at all. This means if you used the Spine Runtimes in your application, anyone who purchased a copy of your application also needed a Spine license to use the runtimes. This was not the intent!

Version 2 of the license fixes this by allowing anyone to use the Spine Runtimes but only for internal use. When you purchase Spine, the Spine license (http://esotericsoftware.com/spine/files/license.txt) grants you the right to make and distribute derivative works of the Spine Runtimes. Now it makes sense: making and distributing applications with the Spine Runtimes requires a Spine license, but anyone can run that software without needing a Spine license.

With this fixed, I hope we never need to change the license again!
2014-01-11 21:07:28 +01:00
NathanSweet
54ae334637 Update commented out code to test for memory leaks. 2013-12-05 19:03:42 +01:00
NathanSweet
104b79379f Made getTextureAtlas virtual. 2013-12-05 18:50:31 +01:00
NathanSweet
5e2e5ed8d9 Fixed memory leaks.
closes #148
2013-10-31 09:10:29 +01:00
NathanSweet
51a0876561 Added call to update so it is called before the first draw. 2013-10-30 18:54:35 +01:00
NathanSweet
6862eec5af Made 0 scale use "content scale factor". Commented drawOrder animation. 2013-10-30 14:25:16 +01:00
NathanSweet
8df81c9fbb closes #140 2013-10-14 19:20:41 +02:00