Commit Graph

40656 Commits

Author SHA1 Message Date
aismann 1b35d57b0b Improve cpp-template
Add:
- scheduleUpdate()
- HelloWorld::update(float delta) with some "gamestate switch/cases"
2023-01-02 22:26:23 +01:00
halx99 7d2166fb31 Fix ci 2023-01-01 23:31:24 +08:00
halx99 7b0866edac Avoid packet GC
yasio-3.39.7 introduce YOPT_S_FORWARD_EVENT.
2023-01-01 23:11:32 +08:00
halx99 401c0d96aa Update yasio to latest (v3.39.7) 2023-01-01 23:09:17 +08:00
halx99 e30d3c159c Fix ci 2023-01-01 18:41:48 +08:00
halx99 25a9a4fb7a Committing genbindings changes 2023-01-01 10:21:43 +00:00
halx99 38cfc6aaa2 Renaming performFunctionInCocosThread to runOnAxmolThread 2023-01-01 18:08:25 +08:00
halx99 59bc12dddf Improve base64 API
Move base64Encode/base64Decode to namespace `ax::utils`
2023-01-01 18:07:18 +08:00
一线灵|Deal 32367c8026
Remove unused 2023-01-01 18:01:01 +08:00
halx99 c96bd308c7 Update yasio to v3.39.6 2023-01-01 17:36:38 +08:00
halx99 22244469d4 Add win32 console for cpp template [skip ci] 2022-12-29 19:00:40 +08:00
halx99 c149cb6c79 Committing genbindings changes 2022-12-29 09:01:26 +00:00
Turky Mohammed eb5ec6047c
[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 d2a3b9a375
[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
halx99 73e4fa9ee3 Update yasio to v3.39.5 2022-12-29 15:45:34 +08:00
pietpukkel 24c3afa524
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 e25f4d4f77
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 ae9e79f62d
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 2e4324c363 Fix charset process in glfwCharCallback 2022-12-18 11:52:57 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
CHP 2f54ecaf6d
Improve lua cmake (#986) 2022-12-17 16:35:20 +08:00
halx99 3f0df4a348 Update logo [skip ci] 2022-12-17 16:32:20 +08:00
halx99 d525658277 Update docs 2022-12-17 15:01:06 +08:00
halx99 f180e71353 Fix ci 2022-12-17 14:49:06 +08:00
halx99 df75decfe4 Update docs for new logo 2022-12-17 14:44:02 +08:00
halx99 691cdd0ed9 Remove unnecessary cmake include 2022-12-17 14:32:20 +08:00
halx99 5424844c8b Fix ci 2022-12-17 14:31:23 +08:00
halx99 1868f3b7e3 Fix ci 2022-12-17 13:19:26 +08:00
halx99 a4240d2403 Update png to 1.6.39 2022-12-17 12:00:15 +08:00
halx99 0a4bf2b3fa Move SIMD detection to AXConfigDefine.cmake 2022-12-17 11:56:48 +08:00
tkzcfc fa0d9c8d55
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 5fe200ca0a
Fix #983 2022-12-12 19:41:07 +08:00
CHP 7a0138e3f1
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 41b9b68038
Update before-install.sh (#981) 2022-12-11 22:26:24 +08:00
CHP 09f5ac6150
Update before-install.sh (#980) 2022-12-11 22:25:54 +08:00
halx99 d000a1bcb7 Update fairygui tests resources 2022-12-11 16:25:22 +08:00
halx99 b5713f2443 Fix #972 2022-12-11 15:58:55 +08:00
一线灵|Deal 7d2ecae55c
Update CMakeLists.txt 2022-12-07 21:38:19 +08:00
halx99 445e51d4c4 Committing genbindings changes 2022-12-07 01:31:10 +00:00
RH be224656fc
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 63533a93b5
Update README.md (#976) 2022-12-02 18:58:15 +08:00
aismann 14d8592405
Update README.md (#977) 2022-12-02 18:57:31 +08:00
aismann c94b1db7ac
Update README.md (#975)
improve some upstream links
2022-12-01 20:44:19 +08:00
halx99 e943d5d24e Committing genbindings changes 2022-11-28 00:44:15 +00: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
RH c4fc0967ea
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
一线灵|Deal f3dc4ac682
Merge pull request #965 from euler0/fix-warnings
Fix warnings (implicit conversion loses and use of deprecated function)
2022-11-20 10:26:38 +08:00
Vincent Lee 8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
一线灵|Deal 1bf0c821c5
Merge pull request #964 from AsakuraMizu/dev
feat: experimental linux prebuilt support
2022-11-18 07:54:32 +08:00
AsakuraMizu e0feb20bbc fix linux prebuilt support
now lua-template can also use this feature
2022-11-17 23:20:26 +08:00