88 Commits

Author SHA1 Message Date
halx99
5bacfcd733 SkeletonTwoColorBatch also support custom program 2020-10-16 18:42:45 +08:00
halx99
84b0af8ac5 Fix custom program state not applied at cocos2d-x-4.0 2020-10-16 17:48:30 +08:00
badlogic
0a42f4fe28 [cocos2dx] Closes #1733, missing JS bindings. 2020-08-26 16:14:48 +02:00
Nathan Sweet
13b3b2e011
Formatting. 2020-08-10 23:47:50 +02:00
Harald Csaszar
46a0ffce50 [cocos2d-x] Added early out check for MeshAttachment alpha == 0. Related to commit 254baf4. See #1708. 2020-06-22 16:48:14 +02:00
Harald Csaszar
254baf4d75 [cocos2d-x] Fixed broken mesh indices when RegionAttachment alpha == 0. Closes #1708. 2020-06-22 14:44:40 +02:00
badlogic
049adf7e2b [cocos2dx] Apply node Z to debug node. Closes #1655. 2020-04-20 15:51:57 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
Arnold
8c8b08f80b [bugfix] spine-cocos2dx renderer issues (#1577)
* fix some bugs

* auto release program
2019-12-18 09:19:58 +01:00
badlogic
8391097947 [cocos2dx] Don't cull if no visiting camera is set. Closes #1566. 2019-12-10 16:12:32 +01:00
badlogic
75da2e3d94 [cocos2dx] Fix for iOS. Updated README.md partially. 2019-12-10 15:48:24 +01:00
badlogic
9ab8c3817b [cocos2dx] Merged SkeletonRenderer code for v3 and v4. Only the batchers remain in separate source files. 2019-12-10 15:00:32 +01:00
badlogic
bf14723dcc [cocos2dx] Initial cocos2dx v4 support. Need to fix formatting, ensure v3 and v4 work on all supported platforms, unify headers where possible and minimize code duplication. 2019-12-10 13:30:06 +01:00
badlogic
41cfd38049 [cpp][cocos2dx] Skin and attachment setters now handle empty strings correctly. Closes #1543. 2019-11-19 16:36:25 +01:00
badlogic
5cb9afd2fa [cocos2dx] Reimplemented culling. Works with both 2D and 3D projections, and possibly custom projections as well. Closes #1445. 2019-09-23 16:43:19 +02:00
badlogic
fba357ed74 [cocos2dx] SkeletonRenderer:getBoundingBox() recalculates the bounds on each call instead of relying on draw() having calculated it. Closes #1483. 2019-09-23 16:03:37 +02:00
Stefano Lanza
df748dbe4b Fix cocos2dx project and use of premultiplied alpha (#1484)
* Fix project

* Take into account premultiplied alpha of cocos2dx texture
2019-09-10 14:11:58 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
Stefano Lanza
b648d3af99 Remove Socialpoint custom code related to cocos2dx (#1407) 2019-07-12 13:01:15 +02:00
badlogic
e5b88aa4c0 [cocos2dx] Temporarily enable culling by default. 2019-07-11 15:05:29 +02:00
badlogic
727b3866d3 Merge branch 'feature/socialpoint_custom_changes' of https://github.com/socialpoint/spine-runtimes into socialpoint 2019-07-11 14:56:56 +02:00
unknown
c71736792b Formatting 2019-07-03 12:56:51 +02:00
unknown
99c08fced6 Port more features 2019-07-02 17:51:47 +02:00
unknown
9df2c28768 ported more changes 2019-07-02 11:47:45 +02:00
unknown
c8a34cdbd5 Ported my fixes and optimization to spine stable 2019-07-01 17:15:03 +02:00
badlogic
d9793e5df9 [cocos2dx][cocos2dobjc] Renderers must not render slots with inactive bones. 2019-06-06 16:33:30 +02:00
badlogic
61d2b52868 [cocos2dx] Closes #1366, setupGLProgramState incorrectly checked for RegionAttachment. 2019-05-31 11:33:21 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
5c62f78ed4 [cocos2dx] Segfault when copying old scratch buffer contents to resized buffer. Closes #1295. 2019-03-07 19:00:47 +01:00
badlogic
65409ae048 [cocos2dx] Fixes #1229, tint black calculation was incorrect. 2018-12-17 15:04:16 +01:00
badlogic
7fba618e88 [cpp] Fixed bug in handling of dark colors on load. 2018-08-13 17:21:24 +02:00
badlogic
f033239b54 [cocos2dx] Fixes tint black. 2018-08-13 16:56:05 +02:00
badlogic
a6dcbc61e3 [cocos2dx] Fix for tint black in 3.7 branch. 2018-08-13 16:47:36 +02:00
badlogic
bd778ba417 Merge branch '3.6' into 3.7-beta 2018-08-13 16:36:38 +02:00
badlogic
ce536558e5 [cocos2dx] Tint black did not work, didn't multiple dark color with skeleton/attachment color. Closes #1158. 2018-08-13 16:34:06 +02:00
badlogic
5a78663bfa [cocos2dx] Resolved merge conflict that got accidentially commited. 2018-08-10 11:57:11 +02:00
badlogic
253bda4ee4 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-10 11:54:49 +02:00
badlogic
d3e37284fc Merge branch '3.6' into 3.7-beta 2018-08-10 11:14:01 +02:00
badlogic
a578be88e0 [cocos2dx][c] Fixed call to spVertexAttachment_computeWorldVertices, as well as count calcalculation. 2018-08-10 11:11:15 +02:00
badlogic
c405dcd165 [cocos2dx][cpp] More changes to computeWorldVertices. 2018-08-09 15:27:26 +02:00
badlogic
f12728f0d2 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-08-09 15:18:15 +02:00
badlogic
4005ff2ad4 Merge branch '3.6' into 3.7-beta 2018-08-09 15:02:55 +02:00
badlogic
9a428a02b8 [c] Fixes #1148, revert changes to spVertexAttachment_computeWorldVertices. Vertex size must be a multiple of 4, which explains why #1148 failed. 2018-08-09 14:59:09 +02:00
badlogic
218d3b4737 [cpp][sfml][cocos2dx] skip rendering of skeletons/slots/attachment with alpha equal 0. 2018-07-18 14:27:57 +02:00
badlogic
22c1e32164 Merge branch '3.7-beta' into 3.7-beta-cpp 2018-07-18 14:14:39 +02:00
badlogic
6e83e6aed1 [c][cpp][sfml][cocos2d-x] Skip rendering of skeleton/slot/attachment early if alpha is 0. See #1145 2018-07-18 12:04:11 +02:00
badlogic
7e68a48189 [cocos2dx] More fixes to two color batching. 2018-06-05 13:30:00 +02:00
badlogic
162ce9f5aa Fixed meshes. 2018-05-30 18:31:36 +02:00
badlogic
878a6e6435 Refactored C++ runtime, added cocos2d-x cpp runtime. 2018-05-30 17:31:11 +02:00
badlogic
7647c345e3 [cocos2dx] Initializing skeleton setup poses and world transform on construction to avoid flicked in first frame. Closes #1098 2018-04-12 10:42:34 +02:00