Commit Graph

356 Commits

Author SHA1 Message Date
aismann cfcf541744 Visible artifacts on DrawNode::drawCircle() with a corresponding lineWidth > 5 (window resizing issue) (#1050)
* Fix DrawNode::drawCircle() behavior itf the window is resizing.

* Update CCDrawNode.cpp

Tested also with
resourceSize(960, 640) or (1280, 720)
designSize(480, 320) or (400, 320);

Making a deal with the "boss"

* Update drawCircle and Tests

_lineWidth/4  is needed => the circle grow to fast without

---------

Co-authored-by: Deal(涓€绾跨伒) <halx99@live.com>
2023-02-22 20:02:20 +08:00
RH 20dcad664b Trim leading space from wrapped lines of text in RichText (#1066)
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
Turky Mohammed 3ebd6202cc Improve test naming (#1057)
* add anchored sprite class

* Add feature tests

* Update SpriteTest.cpp
2023-02-13 17:55:26 +08:00
aismann 800da490d8 drawCircle tester improved (#1054)
* drawCircle tester improved

* add more info to the tester

* codacy fix
2023-02-11 08:05:27 +08:00
Turky Mohammed 63263e09d2 Add Anchored Sprite Class (#1040)
* add anchored sprite class

* Add feature tests
2023-02-10 14:07:20 +08:00
aismann 8f63f3934f Changeable window for all "PCs on cpp_tests (#1036) 2023-01-23 19:30:13 +08:00
halx99 a370e0e602 Fix ci 2023-01-21 14:51:14 +08:00
halx99 059dafe021 Make cpp-tests window resizable 2023-01-21 14:30:17 +08:00
aismann f238e5e0ff Improve drawCircle rendering for big rings (#1013)
* Update HelloWorldScene.cpp

replace   _director->end();  with menuCloseCallback(this);

* Rendering drawCircle
2023-01-06 23:25:31 +08:00
halx99 95052b2961 Fix http test print 2023-01-05 23:31:39 +08:00
halx99 2410e7a782 Change HttpRequest::getTag return type from const char* to std::string_view 2023-01-04 23:37:57 +08:00
halx99 cb35a48885 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 0f97e3fa3a Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
RH 2e30b51ab7 Add a pool for GroupCommand rendering commands (#969)
* Committing genbindings changes

* Use a pool of GroupCommand entries to avoid multiple entries of the same group in the render queue in certain scenarios

* Ensure captureNode works as expected.

* Set member variables to default values when init method is called on the GroupCommand

* Explicitly reset the command state when retrieving a GroupCommand from the pool
2022-11-28 08:37:22 +08:00
aismann 9af1674516 Update DrawPrimitivesTest.cpp
fix #137 and try to "explain" the behavior of setLineWidth() om DrawNode object
2022-11-07 20:56:11 +01:00
halx99 e12b56fd3f Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 f0fe1a01c9 Fix copyright notice [skip ci] 2022-11-01 20:02:56 +08:00
halx99 de61119a21 Add effekseer test 2022-11-01 19:50:43 +08:00
RH 82bcb1ae5f Add support for centered horizontal layout (#946)
* Committing genbindings changes

* Add support for CENTER_HORIZONTAL layout type.
2022-11-01 19:02:04 +08:00
涓€绾跨伒|Deal 6ddd6f0e05 Update CMakeLists.txt 2022-11-01 06:47:36 +08:00
halx99 a87bf2ee4b Fix effekseer compiling [skip ci] 2022-10-31 14:30:33 +08:00
halx99 56d66aba67 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 376941da91 Migrate 2022-10-18 19:17:36 +08:00
涓€绾跨伒|Deal 25d93bd509 Improve code quality (stage1.Oct) (#916)
* Improve code quality

* Add env PULL_REQUEST [skip ci]

* Update build.ps1

* Fix ci [skip ci]

* Update ZipUtils.cpp

* Update build.ps1

* Resolve reviews

* Improve

* Improve code style

* Resolve reviews

* Use pod_vector

* Improve resize growth

* Update CCAnimation3D.cpp

* Update axstd.h [skip ci]
2022-10-13 21:44:42 +08:00
halx99 8c18f962d5 馃敤Fix #887 2022-10-12 19:44:31 +08:00
halx99 ec72ebb697 Fix #873 2022-10-12 12:39:27 +08:00
aismann eb5058e6d0 /* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
CHP bdbe9b4f6f Update UIImageViewTest.cpp (#923)
Fix UIImageViewIssue12249Test
2022-10-12 07:04:21 +08:00
aismann 3ef8ac63f2 rename cocos2d to axmol (#920)
* rename cocos2d to axmol

* rename cocos2d.h to axmol.h

* Update Physics3DTest.cpp

replace Sprite3D -> MeshRenderer
2022-10-12 00:15:09 +08:00
halx99 fb227f352f Fix #908 2022-10-11 13:23:47 +08:00
RH 34094038d5 Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
CHP 9c7a876970 precompile_headers all platforms (#901) 2022-10-10 03:52:04 +08:00
aismann 49f7406f94 Improve MeshRenderer #879 thanks @solan-solan (#904)
* Update Physics3DTest.cpp

Improve #879  thanks @solan-solan

* Update CCMeshRenderer.cpp

#hope this is fixing #879
2022-10-08 06:15:03 +08:00
涓€绾跨伒|Deal 79925e07d6 Merge: 6cd36ab02e c26ab44880
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support

RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
涓€绾跨伒|Deal 0844893fb8 Merge: b249282234 3af8ad9580
Merge pull request #882 from aismann/dev

Adapt Physics3DTest.cpp to #879
2022-10-02 19:43:32 +08:00
aismann a5acb0d180 Update HelloWorldScene.h 2022-10-02 13:09:56 +02:00
aismann 3650bd73a1 Test adapt to #879 2022-10-02 11:56:38 +02:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
aismann 359c4ccc83 Add test case for issue #861
Add 'obj' on:
Physics3DTerrainDemo
Physics3DCollisionCallbackDemo

Co-authored-by: 涓€绾跨伒|Deal <halx99@live.com>
2022-09-24 14:00:00 +08:00
halx99 5c735619f9 Improve code style 2022-09-24 11:01:45 +08:00
halx99 82acade5b9 Improve code style 2022-09-24 10:42:11 +08:00
halx99 3a9a26c743 Fix #861 2022-09-23 22:41:30 +08:00
aismann e571e8242d Clipper2 v1 04 (#856)
* Clipper2 v1.04 (and small fixes)

* Update README.md
2022-09-19 14:17:13 +08:00
Paulo Coutinho f5aeb5a8c2 Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
aismann 6038cfb531 Update Issue829Test (DrawPrimitiveTest) (#844)
* Update Issue829Test (DrawPrimitiveTest)

* Update DrawPrimitivesTest.cpp

* Update DrawPrimitivesTest.cpp
2022-09-05 13:48:28 +08:00
halx99 ec1a06afe8 Fix typo 2022-09-02 10:36:25 +08:00
aismann 68f8a2b0c7 #825 2022-09-01 13:51:19 +02:00
aismann 448dd9ee44 Issue_829 2022-08-30 14:05:44 +02:00
涓€绾跨伒|Deal e37761260a Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
aismann 9a8ed19d0d Update SpritePolygonTest.cpp 2022-08-28 07:17:10 +02:00