Commit Graph

5616 Commits

Author SHA1 Message Date
Deal(一线灵) 490483b15e
Update lua debug project files 2023-02-24 04:31:05 +08:00
Deal(一线灵) 56d4140628
Revert design size. 2023-02-24 04:20:14 +08:00
halx99 de05d9af44 Fix android assets 2023-02-23 23:48:06 +08:00
RH d08383dee1
[Android] Update icons to Axmol logo (#1073)
* Update Android icons in test projects.
2023-02-23 23:43:51 +08:00
Deal(一线灵) 1ae9cd33ae
Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
RH c628e0f428
Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
RH 4b4294c6d2
Update app icon to Axmol logo (#1070)
* [iOS] Axmol logo

* [Windows] Add Axmol logo as icon
Replace old logos in test resources with Axmol logo

* [tvos] Update to Axmol logo

* Update iOS and tvOS app logo

* Update cpp template app logos

* Fix resources for iOS and tvos. Update to new Axmol logo.
2023-02-23 13:07:12 +08:00
halx99 b29817b672 Fix ci 2023-02-23 10:14:14 +08:00
halx99 95964d5476 Improve cpp-tests design resolution setup 2023-02-23 09:50:36 +08:00
halx99 21c92c5434 [CMake] Add symlink support, refer to #1005
- Rename ax_<xxx>_copy_xxx to ax_<xxx>_sync_xxx
- Add optional arg `SYM_LINK`
2023-02-22 23:37:32 +08:00
aismann 1b4c7b9976
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 76b8747874
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 8f7d9a4808
Improve test naming (#1057)
* add anchored sprite class

* Add feature tests

* Update SpriteTest.cpp
2023-02-13 17:55:26 +08:00
aismann 294ce2fffc
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 2712f0ee2f
Add Anchored Sprite Class (#1040)
* add anchored sprite class

* Add feature tests
2023-02-10 14:07:20 +08:00
aismann 651839bd92
Changeable window for all "PCs on cpp_tests (#1036) 2023-01-23 19:30:13 +08:00
halx99 19a749615f Fix ci 2023-01-21 14:51:14 +08:00
halx99 1eb3675b48 Make cpp-tests window resizable 2023-01-21 14:30:17 +08:00
aismann b1c5f106ca
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 857f669970 Fix http test print 2023-01-05 23:31:39 +08:00
halx99 0825311308 Change HttpRequest::getTag return type from const char* to std::string_view 2023-01-04 23:37:57 +08:00
halx99 28eb9e1886 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
halx99 d000a1bcb7 Update fairygui tests resources 2022-12-11 16:25:22 +08:00
RH 7dba255a1d
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
halx99 0651f77a3c Improve gradle scripts
Add cmake options from gradle command line properties support
2022-11-10 22:53:54 +08:00
aismann 4fb2e1aa65
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 6169dfdb3d Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 51b991b105 Delete unused resource files 2022-11-07 15:37:43 +08:00
halx99 4f7ffa02fd Fix copyright notice [skip ci] 2022-11-01 20:02:56 +08:00
halx99 103334e251 Add effekseer test 2022-11-01 19:50:43 +08:00
RH b0c51f590d
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
halx99 620b009286 Remove FileUtils::searchResolutionsOrderArray 2022-10-30 23:03:39 +08:00
halx99 1ed106b341 Fix cpp-tests material texture path 2022-10-20 20:19:11 +08:00
halx99 06079a5369 Migrate 2022-10-18 19:17:36 +08:00
一线灵|Deal 39b57ae939
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 1d01e163e9 🔨Fix #887 2022-10-12 19:44:31 +08:00
halx99 046eef5cf0 Fix #873 2022-10-12 12:39:27 +08:00
aismann c206a1456f
/* axmol thread id */ (#924) 2022-10-12 07:04:36 +08:00
CHP d5635a2687
Update UIImageViewTest.cpp (#923)
Fix UIImageViewIssue12249Test
2022-10-12 07:04:21 +08:00
CHP 825cfd05bb
Update CMakeLists.txt (#922)
* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-12 07:04:01 +08:00
aismann a5810457f1
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 544c3919c3 Fix #908 2022-10-11 13:23:47 +08:00
CHP 01e3b209fb
Fix noisy message "Unable to resolve full path of PCH-header" (#918)
* Update CMakeLists.txt

fix noisy message "Unable to resolve full path of PCH-header"

* Update CMakeLists.txt

* Update CMakeLists.txt
2022-10-11 08:54:02 +08:00
RH ffef1ea55b
Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
CHP 58c311f63d
precompile_headers all platforms (#901) 2022-10-10 03:52:04 +08:00
aismann f22148e80f
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 92e5f465fa
Merge pull request #801 from theunwisewolf/dev-richtext-scale-support
RichElementImage - Add support for scaling
2022-10-04 11:08:49 +08:00
aismann 3af8ad9580 removed folder _MACOSX 2022-10-02 12:32:36 +02:00