416 Commits

Author SHA1 Message Date
deal
1aa112fe40
[cocos2dx] Fix ClippingAttachment doesn't work (#2011) 2022-01-19 15:35:54 +01:00
halx99
287825dab5
Fix command pipeline state uniform location mismatch (#1947)
* Fix command pipeline state uniform location mismatch

* Fix indent

* Adapte adxe (cocos2d-x-v4 fork) custom batch draw

a. adxe engine have better custom batch draw support
b. https://github.com/adxeproject/adxe
c. see relative issue: https://github.com/adxeproject/adxe/issues/482
2021-09-25 10:43:55 +02:00
RH
f06fd410e8
Fix to address issue introduced in PR #1787 where the same ProgramState was being used for each attachment, but would cause problems if the attachments did not use the same texture. (#1801) 2020-10-27 09:34:31 +01:00
halx99
21185a1fc3 fix 2020-10-16 18:46:13 +08:00
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
4927c2be63 [cocos2dx] Closes #1710, MALLOC is not available in cocos2dx 3.x. 2020-08-26 16:20:46 +02:00
badlogic
1cc50fd09e [cocos2dx] Closes #1734, simplify file I/O. 2020-08-26 16:16:36 +02: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
Mario Zechner
90c2a19364 [cocos2dx] Updated windows build for cocos2d-x v4. 2020-02-03 15:52:50 +01:00
badlogic
0dd2db2627 [cocos2dx] Improve CMake build for cocos2d-x v3 and v4 example projects, based on PR #1572. 2020-02-03 14:57:29 +01:00
badlogic
acee8d0bd4 [cocos2dx] Disable BUILD_EDITOR_SPINE in example project, so our sources in tree get used. 2020-02-03 14:43:19 +01: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
1daedd3f1c [cocos2dx] Disable cocos2d spine editor support for our example project. 2019-12-12 16:27:20 +01:00
badlogic
944b656517 Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8 2019-12-12 16:08:54 +01:00
badlogic
47db7878fc [cocos2dx] Fix macOS target configuration. 2019-12-12 16:08:48 +01:00
badlogic
9f0a361df0 [cocos2dx] Updated Windows build instructions. 2019-12-12 15:56:05 +01:00
badlogic
7f58a2f5da [cocos2dx] Fix VS solution and instructions. 2019-12-12 15:12:11 +01:00
badlogic
63be983014 [cocos2dx] Updated instructions for running the example for cocos2dx v3 on Windows. 2019-12-12 14:51:05 +01:00
badlogic
9974fec421 [cocos2dx] Need to duplicate assets in the example-v4 folder as the Android build doesn't like relative directories outside the root folder. Fixed linking for Android. 2019-12-12 14:35:55 +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
cd77aa908a [cocos2dx] spine-cocos2dx sources are build as a separate static library as part of the example for v4. 2019-12-10 15:16:27 +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
d8f94bc18a [cocos2dx] Unified SkeletonRenderer.h 2019-12-10 13:38:20 +01:00
badlogic
d950c32ba2 [cocos2dx] Unify SkeletonRenderer interface. 2019-12-10 13:38:01 +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
015de8ed4c [cocos2d-objc] Added IK example. Also added SkeletonAnimation preUpdateWorldTransformListener and postUpdateWorldTransformsListener which allow modifying a skeleton pre- and post-calculation of the world transformations. See #1532. 2019-10-28 15:34:53 +01:00
badlogic
656b08a32e [cocos2dx] Added IK example, see #1532. Also added SkeletonAnimation::setPreUpdateWorldTransformsListener() and SkeletonAnimation::setPostUpdateWorldTransformsListener(). 2019-10-28 14:07: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
badlogic
9cfe697cfd [cocos2dx] Fix VS project to copy resources to new required location on Windows. 2019-09-19 15:44:52 +02:00
badlogic
6e4a6925a2 [cocos2d] Updated CHANGELOG and README.md for VS2019 upgrade. 2019-09-19 14:36:09 +02:00
badlogic
0e9978b5d2 [cocos2d] Updated README.md with better instructions for Windows. 2019-09-19 14:26:00 +02:00
badlogic
e89043b1f6 [cpp] Fixes #1444. SpineObject was using the wrong calloc. 2019-09-18 17:29:21 +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
badlogic
40d4cad434 [cocos2dx] Properly retain/release textures in attachemnt vertices. Closes #1442. 2019-08-12 14:02:05 +02:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
aab88a7a6f [cocos2dx] Fixed up reference to isAutoCullEnable(). 2019-07-12 13:03:39 +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
badlogic
b22420b03b [cocos2dx] Fixed mix-and-match example. 2019-07-11 14:32:14 +02:00