Commit Graph

750 Commits

Author SHA1 Message Date
halx99 8469c86eb6 Fix lua binding 2023-04-02 09:29:12 +08:00
Deal(涓€绾跨伒) 1e6e9d4a8d Media engine video texture (#1133)
* VideoPlayer based on new MediaEngine[Win32/UWP]

* Improve MediaEngine interface

* Update readme

* Improve pixel format

* Improve MediaEngine interface

* Ready for PR UWP/Win32

* Ready for PR UWP,Win32

* Update reademe files

* Update readme files

* Update UIVideoPlayer-android.cpp [skip ci]

* Update UIVideoPlayer-ios.mm

* Update MFUtils.cpp

* Fix ci
2023-03-25 08:37:51 +08:00
halx99 32c32bf98a Committing genbindings changes 2023-03-14 00:03:28 +00:00
aismann 213afaefa7 add axmol_ext.h (#1117) 2023-03-14 07:56:07 +08:00
Joilnen cb140abfd5 fixing some warning messages of code not conform C++20 yet (#1113)
* fixing some warning messages of code not conform C++20 yet

* trying to compile in C+17 because UWP
2023-03-13 21:35:42 +08:00
halx99 48d45fe0f1 Committing genbindings changes 2023-03-11 15:01:39 +00:00
Deal(涓€绾跨伒) 277bcd44ce Windows Store UWP apps support (#1108)
* [BIG FEATURE] Windows Store UWP apps support

* Fix ci, add uwp for pr-ci

* Fix ci

* Improve ci script

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Upload uwp appx package artifacts [skip ci]

* Use d2d draw system font text

* Fix ci

* Improve code style
2023-03-11 22:10:18 +08:00
halx99 8bf4817ff7 Fix compile errors in c++17 2023-03-08 08:34:17 +08:00
halx99 a9f2e03c18 Committing genbindings changes 2023-03-07 15:34:03 +00:00
tkzcfc b4b25b3edd fix: type judgment error (#1084)
* fix: type judgment error

---------

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>
2023-02-27 19:12:21 +08:00
halx99 ad9760aa85 Fix live2d sdk crash issue 2023-02-23 21:59:00 +08:00
halx99 b8528b920a Committing genbindings changes 2023-02-14 15:38:16 +00:00
halx99 ed9e539a85 Fix ci 2023-01-24 18:27:40 +08:00
halx99 e5cc37cd40 Fix ci 2023-01-24 17:44:54 +08:00
halx99 a46581532e Update ImGui 2023-01-24 17:20:31 +08:00
halx99 22d3f93864 Improve code style 2023-01-24 15:01:06 +08:00
solan-solan 7378af1e88 GL_RGBA32F GL backend support (#1034)
* Added GL_RGBA32F_EXT for GL backend to support floating point textures.

* Committing genbindings changes

* Added fp texture constant to mtl.

Co-authored-by: solan-solan <solan-solan@users.noreply.github.com>
2023-01-19 22:10:41 +08:00
halx99 32740c2d58 Remove unused from cmake script 2023-01-17 10:08:09 +08:00
halx99 ae14727dc7 Fix #1032 2023-01-17 10:06:09 +08:00
halx99 9ce1d9a3e7 Committing genbindings changes 2023-01-06 15:48:02 +00:00
halx99 58a76fe8ee Fix dll link 2023-01-06 23:21:09 +08:00
halx99 79b90a95dd Fix dll linkage 2023-01-06 18:38:16 +08:00
涓€绾跨伒|Deal 4108bdd048 Fix ci 2023-01-05 02:47:23 +08:00
halx99 98efcfe193 Update yasio to latest 2023-01-04 23:20:07 +08:00
halx99 bb01a66859 Merge: b164698459 6f08abab88
Merge branch 'dev' of https://github.com/axmolengine/axmol into dev
2023-01-04 23:06:18 +08:00
halx99 aeedf0daee Improve posix macro definations 2023-01-04 23:05:52 +08:00
halx99 46e33bb548 Committing genbindings changes 2023-01-04 14:59:56 +00:00
halx99 3f9cbc3c16 Committing genbindings changes 2023-01-01 10:21:43 +00:00
halx99 ff419dfc47 Committing genbindings changes 2022-12-29 09:01:26 +00: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
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
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
Vincent Lee 5f6e1cd42d Fix warnings (implicit conversion loses and use of deprecated function) 2022-11-20 09:58:34 +09:00
halx99 ff4a796a62 Fix ci 2022-11-15 14:34:18 +08:00
halx99 1d7e0da834 Fix ci 2022-11-15 12:28:57 +08:00
halx99 5b846f66c1 Fix ci 2022-11-15 12:21:50 +08:00
halx99 6e119c16c6 Improve cmake 2022-11-15 12:08:14 +08:00
涓€绾跨伒|Deal b01d58a466 Update init.lua 2022-11-12 20:34:48 +08:00
halx99 3d1bf684a4 Fix ci 2022-11-10 22:03:40 +08:00
halx99 0279d5c158 Fix #958 2022-11-10 21:22:55 +08:00
halx99 f11daa7347 Committing genbindings changes 2022-11-07 08:04:54 +00:00
halx99 44b5b1f4bd Add missing source files 2022-11-07 15:55:05 +08:00
halx99 e12b56fd3f Update spine runtime to v4.1-c9af18e 2022-11-07 15:48:19 +08:00
halx99 a8f3863603 Fix spine RotateTimeline 2022-11-03 18:00:48 +08:00
halx99 928a44c69f All gl APIs from glad 2022-11-01 19:49:57 +08:00
halx99 65920b8f9d Fix ci 2022-11-01 16:02:13 +08:00
halx99 f00174bfcc Committing genbindings changes 2022-11-01 04:19:28 +00:00
halx99 9d2aba2b00 Fix ci 2022-11-01 12:12:13 +08:00
halx99 ea260806a9 Fix ci 2022-11-01 11:40:06 +08:00
halx99 33599119ae Committing genbindings changes 2022-11-01 01:34:53 +00:00
涓€绾跨伒|Deal a880bfc6e1 Fix ci [skip ci] 2022-11-01 09:22:19 +08:00
halx99 0749378bc8 Committing genbindings changes 2022-10-31 22:56:01 +00:00
涓€绾跨伒|Deal 29014d0ac8 Merge: f10e63c24d f1a2c04672
Merge pull request #942 from axmolengine/remove-search-resolutions-support

Remove  FileUtils::searchResolutionsOrderArray
2022-11-01 06:48:57 +08:00
涓€绾跨伒|Deal 6ddd6f0e05 Update CMakeLists.txt 2022-11-01 06:47:36 +08:00
halx99 cdf9e3f66a Fix ci 2022-10-31 14:45:07 +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 b1315f0c85 Update extensions/CMakeLists.txt 2022-10-30 23:00:33 +08:00
halx99 a259aefb77 Update readme for extensions 2022-10-30 22:53:58 +08:00
halx99 5d4b821f9e Add particle effect extension 'Effekseer' support
- By default, OFF
- Use cmake option AX_ENABLE_EXT_EFFEKSEER=TRUE to enable it
2022-10-30 22:52:39 +08:00
halx99 54ef53f939 Committing genbindings changes 2022-10-20 12:52:19 +00:00
tkzcfc 8a2f5d6666 Fix downloader crash in the lua coroutine (#927) 2022-10-18 17:42:19 +08:00
涓€绾跨伒|Deal 30298a456e Create README.md 2022-10-17 22:15:27 +08:00
halx99 8b674f73ba Update Dear ImGui to v1.88, refer to #895 2022-10-17 21:46:16 +08:00
halx99 8f9e610713 Committing genbindings changes 2022-10-13 14:08:14 +00:00
halx99 567069236b Luabinding: Add std:🧵:id support 2022-10-12 14:22:45 +08:00
halx99 496962f762 Committing genbindings changes 2022-10-11 23:33:16 +00: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
RH 461e7cfee6 Fix to UI touch location and add keyboard support for ImGui on Android (#910)
* Committing genbindings changes

* Fix for X position calculation not factoring in X origin.
Reduce code duplication.

* Add keyboard input support
2022-10-10 10:16:19 +08:00
RH 34094038d5 Enable ImGui for Android (#909)
* Add support for ImGui usage on Android
2022-10-10 03:53:24 +08:00
halx99 95d3fcb16a Migrate lua scripts, remove deprecated files 2022-10-07 21:24:11 +08:00
halx99 6b73bb1045 Improve code style
Also fix compile error on c++23
2022-10-06 21:32:20 +08:00
halx99 7343c969fa Committing genbindings changes 2022-10-04 03:15:52 +00:00
涓€绾跨伒|Deal 48a7da97d6 Final migrate (#876) 2022-10-01 16:24:52 +08:00
tkzcfc 5f8b96d607 export 'setAttachment' function to lua (#868)
* export: sp.SkeletonAnimation:findBone sp.SkeletonAnimation:getBoundingBox

* export 'setAttachment' function to lua

Co-authored-by: tkzcfc <tkzcfc@users.noreply.github.com>
2022-09-27 19:15:11 +08:00
halx99 b087ac671f Committing genbindings changes 2022-09-26 16:13:15 +00:00
halx99 ad69ed003a Remove unnecessary APIs 2022-09-26 23:20:54 +08:00
halx99 823e6e406f Migrate ImGui source files name 2022-09-26 22:56:47 +08:00
halx99 90bcd95eec Fix ci warning 2022-09-24 12:58:28 +08:00
halx99 c4b11658cd Committing genbindings changes 2022-09-24 04:39:58 +00:00
halx99 3a9a26c743 Fix #861 2022-09-23 22:41:30 +08:00
halx99 ea1b70288d Update thirdparty libs
fmt: 9.0.0 --> 9.1.0
llhttp: 6.0.7 --> 6.0.9
astc-encoder: 4.0.0 --> 4.1.0
webp: 1.2.2 --> 1.2.4
flatbuffers: 2.0.0 --> 2.0.8
2022-09-15 20:15:28 +08:00
tkzcfc b051164bf2 Support Lua to call cc.utils: capturenode (#848) 2022-09-06 21:23:44 +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
涓€绾跨伒|Deal e37761260a Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
涓€绾跨伒 c6fc93abbc Update README.md 2022-08-18 09:13:09 +08:00
unknown 9a9025aede Add empty check 2022-08-16 15:12:45 +05:30
halx99 6d5e50ded9 Avoid unnecessary double lookup 2022-08-16 17:14:06 +08:00
unknown 9968a7ddcb Add support for width & height in percentage for RichElementImage 2022-08-16 12:09:02 +05:30
halx99 87f71ba3a9 Migrte lua script files 2022-08-15 16:28:32 +08:00
halx99 b1287b8cc5 Migrate cmake files 2022-08-11 15:41:10 +08:00
halx99 729916c58f Committing genbindings changes 2022-08-11 03:03:29 +00:00
halx99 fc401343d8 Migrate extension 'ImGUI' 2022-08-11 10:02:30 +08:00
halx99 e3799aec91 Committing genbindings changes 2022-08-11 01:57:48 +00:00
涓€绾跨伒 2c4f0c7278 Improve performance with std::move 2022-08-09 13:21:53 +08:00
aismann 5d64474cfb rename push_back vs emplace_back (fine tuning and remove on Live2D (too much)) 2022-08-09 05:51:07 +02:00
aismann 8139894edd replace push_back() vs emplace_back() on extension (#785) 2022-08-09 09:54:53 +08:00
涓€绾跨伒 9892aa3d1c Migrate axys (#782) 2022-08-08 18:02:17 +08:00
halx99 ddc7d8ccd0 Merge: f40c44755f 7a7c8fe2ae
Merge branch 'dev' of https://github.com/axis-project/axis into dev
2022-08-06 22:03:14 +08:00
halx99 714d814288 Improve android setup tools
- Rename ANDROID_SDK to ANDROID_SDK_ROOT, refer to: https://developer.android.google.cn/studio/command-line/variables
- CMake: Use ndk in sdk_root/ndk/xxx/
2022-08-06 22:02:58 +08:00
halx99 64ec0587a5 Committing genbindings changes 2022-08-06 12:11:55 +00:00
Turky Mohammed 818eb3d754 [PROPOSAL] Add wireframe rendering and function classification improvements. (#778)
* Add wireframe rendering and function classification improvements.

* Fix platform compilation.

* Update CommandBufferGL.cpp

GL_LINE and GL_FILL are no present in mobile devices, so the raw value has been used instead.

* Update CommandBufferGL.cpp

* Try fix IOS compilation

* Update CommandBufferMTL.h [skip ci]

* GLES & D3D11 wireframe

Added crude but okay wireframe mode for GLES and D3D11 devices.
2022-08-06 16:17:55 +08:00
halx99 ca3c6fe1fd Fix #776 2022-08-04 21:05:48 +08:00
tkzcfc 8e6d06e9fe Support spine binary files (#777) 2022-08-04 20:11:11 +08:00
涓€绾跨伒 c28df20133 Merge: 654326ec5a 6c08914f74
Merge pull request #772 from askamn/dev

Replace getSpriteFrameByName() with findFrame() in cocos-studio
2022-08-03 09:53:53 +08:00
pietpukkel 1a6575ae52 Support for Apple Silicon / M1
Added universal libraries where needed and changed PNG CMake file to include ARM files when generating Mac XCode project.
2022-08-02 17:48:03 +02:00
unknown d6e6e81505 Replace getSpriteFrameByName() with findFrame() in cocos-studio 2022-08-02 20:01:44 +05:30
halx99 2f90855c0a Fix live2d_tests android build 2022-08-02 17:55:42 +08:00
halx99 752c4d1d16 Committing genbindings changes 2022-08-02 00:29:11 +00:00
halx99 dec34b4471 Sync spine=3.8 latest 2022-07-26 21:04:27 +08:00
tkzcfc 839097ed95 [Lua Binding] Support return type 'ResourceData' (#763) 2022-07-22 13:13:22 +08:00
aismann 2a2e8a1e95 Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 07906b96e1 Fix #758 2022-07-20 18:41:33 +08:00
halx99 c4feff6e3a Committing genbindings changes 2022-07-20 00:57:28 +00:00
halx99 57a65dc8ce Committing genbindings changes 2022-07-19 10:58:12 +00:00
halx99 2c6fde019b Migrate macro COCOS2D_DEBUG, refer #751 2022-07-19 15:34:26 +08:00
halx99 9c97f210df Remove check since axis allways enable string-pooling 2022-07-16 17:53:01 +08:00
涓€绾跨伒 a5e442b33c Merge: 2e0ac94240 4974d1181c
Merge pull request #750 from axis-project/migrate-macros

Migrate macros 'CC_' to 'AX_'
2022-07-16 12:45:47 +08:00
halx99 e90579ed96 Sync platform macros [skip ci] 2022-07-16 10:53:30 +08:00
halx99 c16a33e347 Migrate more macors 2022-07-16 10:43:05 +08:00
涓€绾跨伒 ac1872494c Remove unnecessary check [skip ci]
refer to #748
2022-07-15 19:44:31 +08:00
halx99 41d2c44308 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
halx99 05805987d5 Sync docs for namespace migrate 2022-07-15 18:40:42 +08:00
halx99 11be5350f9 Fix lua templte 2022-07-12 23:21:04 +08:00
涓€绾跨伒 b7467da607 Migrate extension lua (#747) 2022-07-12 21:31:54 +08:00
涓€绾跨伒 bf77f46dce Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
涓€绾跨伒 9b4a7b1446 Merge: 04ca16125b 9ee4181976
Merge pull request #739 from axis-project/migrate-engine-test-extension-config

Migrate tests, extensions and configs
2022-07-10 09:47:41 +08:00
涓€绾跨伒 d4c4d395a5 Merge: 18076d09f0 2f8d5dd2f6
Merge pull request #738 from solan-solan/index_array_to_stl

IndexArray to stl
2022-07-10 09:47:27 +08:00
halx99 c2acb3a744 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 906c60e40e Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
DelinWorks 765d3f5332 Replace CC_ with AX_ 2022-07-08 02:17:41 +03:00
DelinWorks 70cd6095cc Fix CMAKE 2022-07-08 02:10:35 +03:00
Turky Mohammed d3c3fe9538 Merge: b4d04f4df9 1c02999878
Merge branch 'adxeproject:dev' into improve-engine-types
2022-07-06 07:21:13 +03:00
DelinWorks b9547e5407 Update FastRNG.h 2022-07-06 07:20:40 +03:00
halx99 a5e957de9f Fix ci 2022-07-05 23:47:25 +08:00
halx99 e1757a275f Merge: 3a070cd801 9d2ed962e6
Merge branch 'dev' of https://github.com/adxeproject/adxe into dev
2022-07-05 15:53:50 +08:00
halx99 6aaff5cda8 Delete *.obj to avoid missing 3d model .obj
a. build_xxx, out_xxx in .gitignore is enough ignore code .obj
2022-07-05 15:53:33 +08:00
halx99 36caefd1d0 Committing genbindings changes 2022-07-05 07:53:11 +00:00
Turky Mohammed 656babac78 [IMPROVMENT] Change class name `Sprite3D` to `MeshRenderer` (#705)
* First draft [skip ci]

* Improve comments [skip ci]

* Rename MeshRendererMaterial to MeshMaterial [skip ci]

* Update dependent classes.

* Replace occurrences of Sprite3D with MeshRenderer.

* Update cpp-tests and extensions.

* Fix compilation.

* Try fixing lua-bindings

* Try fixing lua-bindings

* Update lua_cocos2dx_3d_manual.cpp [skip ci]

* Create RENAMED_TYPES.md
2022-07-05 14:48:46 +08:00
halx99 5edbfa5448 [spine] Use currentState to setup shader stubs 2022-07-05 14:40:18 +08:00
halx99 db7681bb8b [Spine] Use backend shader definations 2022-07-05 14:36:04 +08:00
halx99 ba582903fc Spine runtime can use official code 2022-07-05 14:13:15 +08:00
DelinWorks d50d34ea3b Separate renderer enums to their own file. 2022-07-04 19:52:17 +03:00
halx99 9af6fc8c88 Committing genbindings changes 2022-07-04 16:47:16 +00:00
涓€绾跨伒 e6ae7c44b3 Merge: 555f847c1f 6dd8b2c74a
Merge pull request #702 from DelinWorks/improve-engine-types

[PROPOSAL] Move global enums to their own file.
2022-07-05 00:39:20 +08:00
DelinWorks 96158090db Add stride functions and remove unneeded UNSPEC value. 2022-07-04 19:20:04 +03:00
DelinWorks 7e199cce21 Update lua_cocos2dx_auto.cpp 2022-07-04 18:34:50 +03:00
halx99 a31ba3caae Improve meshdata load
- Avoid GC alloc when store indices
- Fix indices iterator by IndexArray::for_each
2022-07-04 23:23:33 +08:00
DelinWorks 49508bd13c Improve function naming. 2022-07-04 17:45:23 +03:00
halx99 0b4363bfc0 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
DelinWorks a8d704babe Improve function naming and add descriptions. 2022-07-04 05:55:29 +03:00
DelinWorks 6a7a77c604 Update CCDirector.h 2022-07-04 04:58:13 +03:00
halx99 38743291e2 Improve class IndexArray 2022-07-04 09:13:06 +08:00
DelinWorks c97042be2e Fix android arm64 incorrect random number generation. 2022-07-04 03:28:55 +03:00
DelinWorks 35d3df7075 Fix mobile compilation.
Treat `CC_ENABLE_CACHE_TEXTURE_DATA` portion of code accordingly.
2022-07-03 22:50:19 +03:00
DelinWorks a4be3feda6 Update lua_cocos2dx_auto.cpp 2022-07-03 21:40:51 +03:00
DelinWorks 0ff762b835 Move global enums to their own file. 2022-07-03 20:43:55 +03:00
halx99 5f4e2c0463 [WIP] Wrapper IndexArray with byte_buffer 2022-07-03 17:24:10 +08:00
halx99 e0e7b2a6c5 Committing genbindings changes 2022-07-03 07:36:16 +00:00
halx99 7ef1ab7eb0 Committing genbindings changes 2022-06-30 13:51:59 +00:00
涓€绾跨伒 6d2bc9bbf2 Revert "Unify frame rate control logical to director mainLoop" 2022-06-30 21:04:00 +08:00
halx99 18f7def462 Committing genbindings changes 2022-06-30 12:22:46 +00:00
涓€绾跨伒 5ef42d4e39 Merge: 42fc96bdac 3d1690cc25
Merge pull request #681 from adxeproject/refactor-layer-new

Use sprite to implement layer color for auto batch draw
2022-06-30 20:13:30 +08:00
涓€绾跨伒 118c1af907 Merge: 752d3150eb f52bc9472d
Merge pull request #682 from aismann/poly2tri

poly2tri:  Version: git 81612cb  (until May 20, 2022)
2022-06-30 19:07:49 +08:00
halx99 32f3777128 Fix ci 2022-06-30 18:15:43 +08:00
aismann 9f060fbd99 Version: git 81612cb (until May 20, 2022) 2022-06-30 12:13:55 +02:00
halx99 502d80ede1 Use sprite to implement layer color for auto batch draw 2022-06-30 18:01:29 +08:00
halx99 f48be5bf4a Committing genbindings changes 2022-06-28 09:42:02 +00:00
涓€绾跨伒 6d1a2e70e7 Merge: 040a64b920 884a4c3b1d
Merge pull request #675 from adxeproject/unify-fps-limit

Unify frame rate control logical to director mainLoop
2022-06-28 17:33:00 +08:00
涓€绾跨伒 8b42852d1f Delete unused comment [skip ci] 2022-06-28 17:14:35 +08:00
halx99 0acbfdb35a Committing genbindings changes 2022-06-28 08:51:45 +00:00
涓€绾跨伒 614397d0f4 Merge: 7f795d7a6c c6c07428bf
Merge pull request #677 from rh101/rendertarget-fix

Make the render target selectable for RenderTexture
2022-06-28 16:39:59 +08:00
halx99 f8c036e621 Improve frame rate control precision 2022-06-28 16:33:50 +08:00
rh101 62af2299a6 Allow the selection of a shared or new render target for each instance of RenderTexture
Add a method to check if the RenderTexture is using a shared render target
2022-06-28 17:42:33 +10:00
halx99 6d9c4ea327 Fix ci 2022-06-28 14:53:39 +08:00
halx99 7591ed14cd Committing genbindings changes 2022-06-25 07:30:20 +00:00
涓€绾跨伒 79a1399b7c [CMake] Remove dup link 2022-06-25 15:23:40 +08:00
aismann b4a7e3823f Revert "Small improvemnts"
This reverts commit 945b65716f.
2022-06-25 02:06:31 +02:00
aismann b79fab0a97 Small improvemnts 2022-06-25 02:00:10 +02:00
涓€绾跨伒 d8a66d4897 Merge: 61c159d3d0 932c3bcffa
Merge pull request #668 from adxeproject/adxe-ext-live2d

Add extension Live2D support
2022-06-24 16:23:26 +08:00
涓€绾跨伒 0e94f96b8a Merge: 6431cd1256 e4b891e550
Merge pull request #667 from FireStorm2012/FireStorm2012-patch-1

Fix print log format
2022-06-24 15:46:45 +08:00
halx99 e6accc2f7e Add extension Live2D support
Live2D sdk version: 4-r.4, reelase date: 2021/12/09
2022-06-24 15:18:08 +08:00
FireStorm2012 9de425666b Update lua_xml_http_request.cpp
print log bugfix
2022-06-24 15:01:26 +08:00
halx99 52f6bcb989 Committing genbindings changes 2022-06-24 06:28:59 +00:00
halx99 ee3605c991 Improve renderer 2022-06-24 14:18:48 +08:00
halx99 1122db3ec8 Improve code style 2022-06-24 03:09:50 +08:00
halx99 6068b0389e Committing genbindings changes 2022-06-19 17:57:08 +00:00
halx99 4cf6c52cf4 string_view 2022-06-20 01:49:50 +08:00
DelinWorks 2de02067d3 flag camera as Initialized in custom create functions. 2022-06-17 20:41:38 +03:00
涓€绾跨伒 19e96d53c8 Rename is64BitIOSDevice to is64BitMobileDevice 2022-06-17 22:54:52 +08:00
涓€绾跨伒 0c431fddf1 Fix ci 2022-06-17 22:50:29 +08:00
halx99 61956d8dd6 Refine enum `Platform` defination to avoid conflict with system macro
refer to: #661
2022-06-17 22:18:26 +08:00
Turky Mohammed 5a0f0f9073 Merge: 101f09d912 820ad21a46
Merge branch 'adxeproject:dev' into camera-2d-zoom-feature
2022-06-17 17:16:55 +03:00
DelinWorks fed10a0197 Add comment. [skip ci] 2022-06-17 17:16:39 +03:00
Turky Mohammed 7c1c0a0f56 Merge: 610711a164 990531ecdc
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-16 19:41:56 +03:00
DelinWorks fd4bfb0fd5 Apply orthographic zoom values non-destructively. 2022-06-16 16:41:40 +03:00
halx99 482df4befc Committing genbindings changes 2022-06-16 13:25:34 +00:00
涓€绾跨伒 9b50a8e8c3 Improve text rendering (#652)
* Improve text-rendering
a. Separate outline texture data upload for GL and Metal backend
b. Fix memory leak of FontAtlas::_currentPageDataRGBA
b. Add FontFreeType::setMissingGlyphCharacter for rendering a missing char
d. Improve FontFreetype::renderCharAt with memcpy
2022-06-13 01:44:31 +08:00
Turky Mohammed 87e4fad96c Merge: a2bea19e1e 3ac444efa6
Merge branch 'adxeproject:dev' into partical-system-animation
2022-06-12 17:26:54 +03:00
DelinWorks 237a3ccbad Improve emission shapes workflow.
`ps->addEmissionShape(ParticleSystem::createConeShape({ -2000, 0 }, 400, 90, 50));` is the new workflow.
2022-06-11 18:06:43 +03:00
halx99 1e080a0f60 Committing genbindings changes 2022-06-09 09:21:12 +00:00
halx99 7943dce776 Committing genbindings changes [skip ci] 2022-06-09 08:51:15 +00:00
涓€绾跨伒 b6790e40e4 Merge: 1cdbf8c273 d2e96534d2
Merge pull request #645 from aismann/patch-1 [skip ci]

Update readme.md
2022-05-25 18:17:43 +08:00
DelinWorks e6c13ac358 Revert stashed changes temporarily. 2022-05-25 10:20:35 +03:00
halx99 3123ede6b3 Committing genbindings changes [skip ci] 2022-05-25 02:36:38 +00:00
Turky Mohammed d0b551d26b Merge: 6e1d48835e 193ed82788
Merge branch 'adxeproject:dev' into partical-system-animation
2022-05-23 16:55:30 +03:00
DelinWorks 5239256b13 Improve particle RNG and add useful functions
Replaced M11 RNG with KISS RNG which is better and fixes a problem with particle strafing, added the ability to pause the entire particle system (useful for pause menus) and ability to control particle system time speed multiplier 馃挭馃ザ
2022-05-23 16:04:09 +03:00
halx99 71c27f43d8 Fix ios device install problems
- lua template missing `CFBundleExecute`
- Use `_` instead tests project to avoid unknown error
2022-05-23 17:03:07 +08:00
DelinWorks 4f7bbcdb48 Add TODO 2022-05-21 16:56:56 +03:00
halx99 38510615db Improve code style 2022-05-21 21:55:48 +08:00
DelinWorks 0a8035c12c Add sprite frame and animation descriptors support 2022-05-21 16:48:46 +03:00
halx99 6dfbe87c3b Fix parameter order 2022-05-20 17:03:26 +08:00
halx99 d84e14e290 Committing genbindings changes [skip ci] 2022-05-18 05:00:01 +00:00
halx99 dffaf9b8d7 Enable video & webview lua-tests on windows 2022-05-18 12:52:05 +08:00
涓€绾跨伒 1a626761a6 Fix include 2022-05-16 08:06:51 +08:00
halx99 a2fcc61a10 Committing genbindings changes [skip ci] 2022-05-13 13:15:09 +00:00
halx99 c3f40d2b36 Improvements and bug fixes
Improve ResizableBufferAdapter style

Improve extesnion adxelua

Improve code quality

Fix lua-tests BillBoardTest

Sync texture pixel format enum values for adxelua

Fix luaval_to_vec2 parameter location

Improve windows workflow

Improve cmake scripts

Take care Texture2D::setDefaultAlphaPixelFormat use
2022-05-13 21:06:29 +08:00
halx99 a6dbeb029e Committing genbindings changes [skip ci] 2022-04-28 04:20:11 +00:00
halx99 cc5509f23a Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 c441e517ed Committing genbindings changes [skip ci] 2022-04-25 01:43:44 +00:00
涓€绾跨伒 479c45ca9a Update README.md 2022-03-30 15:40:06 +08:00
halx99 fad7ac3258 Improve LuaObjcBridge 2022-03-25 10:35:18 +08:00
halx99 a236e9481e Committing genbindings changes [skip ci] 2022-03-18 14:27:43 +00:00
halx99 4a2cd4a4fb Committing genbindings changes [skip ci] 2022-03-18 13:52:57 +00:00
halx99 a576a42002 Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
deal f6fa99b184 Update README.md [skip ci] 2022-02-25 19:09:06 +08:00
halx99 323ed9431b Renaming extension ImGuiEXT to ImGui
The singleton class ImGuiEXT also was renamed to ImGuiPresenter
2022-02-25 19:03:09 +08:00
halx99 55f656d9db Committing genbindings changes [skip ci] 2022-02-24 11:08:25 +00:00
halx99 3452ab798d Update project urls 2022-02-24 18:51:36 +08:00
halx99 5e893f3b4d Update project urls 2022-02-24 18:45:25 +08:00
halx99 f7d3d37ae5 [cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA 2022-02-17 21:31:39 +08:00
halx99 87c51c656c Update plainlua to 5.4.4, pugixml to 1.12.1 2022-02-17 18:06:19 +08:00
halx99 7ce188ebda Finish #578 2022-02-17 17:11:17 +08:00
halx99 bee4c310da Fix WidgetPropertiesReader::getWidgetReaderClassName incorrect 2022-02-16 11:54:48 +08:00
halx99 9b3f4c3f71 Committing genbindings changes [skip ci] 2022-02-15 23:01:37 +00:00
deal 79c8ec3431 Fix #584 2022-02-12 19:56:00 +08:00
halx99 93e250889f Improve some code for #543 2022-02-08 21:54:21 +08:00
halx99 fcbc95bd47 Done #579, update ImGui to 1.87 2022-02-08 12:43:16 +08:00
halx99 bc1d0223c0 Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
deal aca3448bc3 Fix #576 2022-02-03 15:45:58 +08:00
deal de13c4bcba Delete unused 2022-01-23 11:01:42 +08:00
halx99 5486d94646 Fix lua_xml_http_request dataSize incorrect 2022-01-18 18:39:58 +08:00
deal d8dc6c8453 hard to link fmt-header-only[skip ci]
target_link_libraries(fairygui fmt-header-only)
2022-01-08 15:25:50 +08:00
deal f3b3b5a0b1 Update CMakeLists.txt 2022-01-08 14:01:43 +08:00
halx99 5a2807433e [spine] Improve RTTI compare performance when compiler string pooling enabled
Refer to: https://github.com/EsotericSoftware/spine-runtimes/pull/2012

Signed-off-by: halx99 <halx99@live.com>
2022-01-05 14:10:05 +08:00
halx99 14a3a0de93 Fix ClippingAttachment doesn't work
Refer to: https://github.com/EsotericSoftware/spine-runtimes/pull/2011

Reported by: @kangleblue

Signed-off-by: halx99 <halx99@live.com>
2022-01-04 22:38:02 +08:00
halx99 cd98e6c880 Fix #570
a. fix lua build error
b. still use separated link jni libs
2022-01-04 09:40:27 +08:00