Commit Graph

2762 Commits

Author SHA1 Message Date
halx99 cb35a48885 Take care lambda implicit capture std::string_view
refer to: #1002
2023-01-03 23:02:17 +08:00
halx99 2522b1ef45 Fix feature check for MSVC 2023-01-03 18:01:40 +08:00
aismann 2ad35decc3 Update HelloWorldScene.cpp (#1008)
replace   _director->end();  with menuCloseCallback(this);
2023-01-03 17:40:05 +08:00
halx99 5cb2f1d57f Fix ci 2023-01-03 15:20:11 +08:00
halx99 f7b8c6528a Fix #991 2023-01-03 15:09:45 +08:00
halx99 d238f72820 Fix ci 2023-01-03 14:34:10 +08:00
涓€绾跨伒|Deal d5c7a2761a Update bug_report.md 2023-01-03 14:24:35 +08:00
涓€绾跨伒|Deal 1ae07227eb Add vs2019 test ci 2023-01-03 12:33:24 +08:00
CHP ac337df402 Update AXBuildHelpers.cmake (#1004) 2023-01-03 09:20:30 +08:00
aismann d842f6fdfb Improve cpp-template
Add:
- scheduleUpdate()
- HelloWorld::update(float delta) with some "gamestate switch/cases"
2023-01-02 22:26:23 +01:00
halx99 2cc1e540ac Fix ci 2023-01-01 23:31:24 +08:00
halx99 82214b4183 Avoid packet GC
yasio-3.39.7 introduce YOPT_S_FORWARD_EVENT.
2023-01-01 23:11:32 +08:00
halx99 b644220459 Fix ci 2023-01-01 18:41:48 +08:00
halx99 3f9cbc3c16 Committing genbindings changes 2023-01-01 10:21:43 +00:00
halx99 319aaf3a49 Renaming performFunctionInCocosThread to runOnAxmolThread 2023-01-01 18:08:25 +08:00
halx99 0f97e3fa3a Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
涓€绾跨伒|Deal bc491ca743 Remove unused 2023-01-01 18:01:01 +08:00
halx99 060a24d641 Add win32 console for cpp template [skip ci] 2022-12-29 19:00:40 +08:00
halx99 ff419dfc47 Committing genbindings changes 2022-12-29 09:01:26 +00:00
Turky Mohammed 4ceadb9740 [IMPROVEMENT] Remove camera unnecessary perspective option. (#993)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr

* remove camera perspective option

* fix merge conflict

* Update CCCamera.cpp

* Update CCCamera.h
2022-12-29 16:54:26 +08:00
Turky Mohammed d7a6a64517 [BUG] Fix camera `applyZoom()` when window size changes and remove unnecessary projection code (#992)
* Fix camera applyZoom when window size changes

* Revert "Fix camera applyZoom when window size changes"

This reverts commit 26154b5ff7.

* Fix pr
2022-12-29 16:54:01 +08:00
pietpukkel 2dcf76a88a Fix for UIEditBox password on Mac/iOS (Montery+/15+). (#995)
Fix for UIEditBox password on Mac/iOS (Montery+/15+).
2022-12-27 14:26:09 +08:00
CHP 10088a72d1 Use standard cmake CMAKE_CXX_STANDARD instead of CXX_STD (#987)
* Update AXConfigDefine.cmake

* Use standard cmake CMAKE_CXX_STANDARD instead of CXX_STD

* Fix formatting

* remov empty line

* Update AXConfigDefine.cmake

Fix typo
2022-12-20 11:31:52 +08:00
RH 5bcc560c9e Fix axmol command search paths (#989)
* Committing genbindings changes

* Fix incorrect environment variable name and console folder path
2022-12-20 11:31:25 +08:00
halx99 0684ac0ef4 Fix charset process in glfwCharCallback 2022-12-18 11:52:57 +08:00
CHP 8d36190c98 Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
CHP fa89bb6706 Improve lua cmake (#986) 2022-12-17 16:35:20 +08:00
halx99 50447f3003 Update logo [skip ci] 2022-12-17 16:32:20 +08:00
halx99 40b8a4c0c2 Update docs 2022-12-17 15:01:06 +08:00
halx99 9d59d1d1ec Update docs for new logo 2022-12-17 14:44:02 +08:00
halx99 176d4384b3 Remove unnecessary cmake include 2022-12-17 14:32:20 +08:00
halx99 1ca8c3fa0e Fix ci 2022-12-17 14:31:23 +08:00
halx99 658f5bbc0f Fix ci 2022-12-17 13:19:26 +08:00
halx99 ad83c5e95f Move SIMD detection to AXConfigDefine.cmake 2022-12-17 11:56:48 +08:00
tkzcfc 8cd1e6f114 Fix download task creation failure Program crash (#984)
* Support return type'ResourceData'

* Revert "Support return type'ResourceData'"

This reverts commit dd38d06350.

* Support return type'ResourceData'

* Support binary files

* Support Lua to call cc.utils: capturenode

* Support Lua to call cc.utils: capturenode

* export: sp.SkeletonAnimation:findBone sp.SkeletonAnimation:getBoundingBox

* export 'setAttachment' function to lua

* Committing genbindings changes

* search path adding repeated judgment

* add macro definition  AX_NO_DUP_SEARCH_PATH

* add macro definition  AX_NO_DUP_SEARCH_PATH

* Update core/platform/CCFileUtils.cpp

* Fix downloader crash in the lua coroutine

* fix download task creation failure Program crash

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
Co-authored-by: 涓€绾跨伒|Deal <halx99@live.com>
Co-authored-by: HYGK-PC\Administrator <tkzc@foxmail.com>
2022-12-12 20:56:48 +08:00
涓€绾跨伒|Deal 6d1e652213 Fix #983 2022-12-12 19:41:07 +08:00
CHP 9b9566df0b unix-ci use cmake --parallel for all platforms (#982)
* unix-ci use cmake --parallel for all platforms

+cleanup

* Update run-script.sh
2022-12-12 02:23:39 +08:00
CHP 65b8f00dc7 Update before-install.sh (#981) 2022-12-11 22:26:24 +08:00
CHP 88a0ac47b6 Update before-install.sh (#980) 2022-12-11 22:25:54 +08:00
halx99 7885170b1d Update fairygui tests resources 2022-12-11 16:25:22 +08:00
halx99 850b0990c3 Fix #972 2022-12-11 15:58:55 +08:00
halx99 2fade7328a Committing genbindings changes 2022-12-07 01:31:10 +00:00
RH 1a0612ca6e Move getWorldPosition() from Widget to Node class (#978)
* Committing genbindings changes

* Move getWorldPosition() method to Node class to allow world position to be retrieved for any node.
2022-12-07 09:24:46 +08:00
aismann 23b19d4b40 Update README.md (#976) 2022-12-02 18:58:15 +08:00
halx99 bb333ed92f Committing genbindings changes 2022-11-28 00:44:15 +00: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
RH ed4d2251df Clarify the order of steps required to create and build new projects (#970)
* Committing genbindings changes

* Clarify instructions on how to create new projects and build files
2022-11-27 22:57:06 +08:00
Vincent Lee 5f6e1cd42d Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
AsakuraMizu ff8e10f280 fix linux prebuilt support
now lua-template can also use this feature
2022-11-17 23:20:26 +08:00
AsakuraMizu 0f32899747 experimental linux prebuilt support 2022-11-17 22:25:13 +08:00