Commit Graph

2778 Commits

Author SHA1 Message Date
halx99 9b381c8fb2 Fix #1157 2023-04-02 09:27:56 +08:00
Deal(涓€绾跨伒) 621c94c9e7 Enable video player(VideoTexture) based on new MediaEngine for macOS and tvos (#1154)
* Ready for PR macOS

* Update videoTexture.frag

* Fix compile

* Fix h265 for mac [skip ci]

* Fix compile error

* Update readme [skip ci]
2023-04-02 01:51:36 +08:00
Deal(涓€绾跨伒) b860217be0 Fix #1156 2023-04-02 01:41:00 +08:00
halx99 4494bd2431 Fix #1155 2023-04-02 00:26:03 +08:00
Deal(涓€绾跨伒) f6281b9504 Support clang-cl + ninja, refer to #1152 (#1153) 2023-04-01 23:11:58 +08:00
Deal(涓€绾跨伒) 1bf1798fef Update .gitignore 2023-04-01 22:34:00 +08:00
bwaiox 0d812e09ff Fix lua warnning (#1151)
* Update CMakeLists.txt

fix tmpnam warnning in loslib.c

* Update utils.py

fix error "File "/axmol/tools/console/bin/axmol.py", line 1091, in <module>" when command "axmol new " was used
2023-04-01 17:31:13 +08:00
halx99 72d1f96b6e Update readme files 2023-04-01 16:14:05 +08:00
halx99 2209df46a1 Update readme 2023-04-01 16:07:55 +08:00
RH 52d7ea6316 Ensure that the axmol engine git folder is the one used for versioning (#1149)
* Committing genbindings changes

* Fix compilation error related to redefinition of 'pause'
Fix update override warning
Improve code

* Revert "Fix compilation error related to redefinition of 'pause'"

This reverts commit 1744a48fec.

* Ensure that the engine .git folder is the one being referenced for versioning
2023-03-31 08:04:38 +08:00
halx99 35db29919e Done #1139 2023-03-30 22:08:53 +08:00
aismann 2469c1506e Fix: error C2360: initialization of 't' is skipped by 'case' label (#1146)
* Fix: error C2360: initialization of 't' is skipped by 'case' label

case ExampleGameState::update:
/////////////////////////////
// Add your codes below...like....
//
// UpdateJoyStick();
// UpdatePlayer();
// UpdatePhysics();
// ...
int t = 10;
break;

* Update HelloWorldScene.cpp

* Update HelloWorldScene.cpp
2023-03-30 21:41:44 +08:00
halx99 7039336946 Fix #855 2023-03-29 23:36:54 +08:00
halx99 90f441441e For clang-format happy 2023-03-28 00:07:33 +08:00
aismann af68d2e9e2 Clipper2 1.2.2 (#1138) 2023-03-27 21:46:14 +08:00
halx99 cd10baf7e5 Add FileStream::getNativeHandle() 2023-03-26 22:42:13 +08:00
halx99 2e261b3dab Fix ci 2023-03-25 16:08:48 +08:00
halx99 dc4e141387 Update readme & ci files 2023-03-25 11:18:21 +08:00
halx99 9bd9bb5714 Update ci: setup-python step 2023-03-25 11:14:51 +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
Turky Mohammed fc4766076c [IMPROVEMENT] Fix tilemap camera move and zoom culling (#1134)
* Fix tilemap culling

* Update CCFastTMXLayer.cpp

* Update CCFastTMXLayer.h
2023-03-25 08:33:39 +08:00
Turky Mohammed eae2ffabcb [BUG] Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing (#1131)
* Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing

* Revert "Fix TMX Tiled Map `CSV`, `BASE64`, & `ZLIB` incorrect parsing"

This reverts commit 3088123a20.

* Use `std::regex_replace` instead

* Avoid copying strings

* Update CCTMXXMLParser.cpp
2023-03-25 08:33:13 +08:00
RH 4c90ac17a4 Fix return reference to local temporary value (#1127)
* Fix invalid return type for temporary variable
2023-03-21 21:22:02 +08:00
Deal(涓€绾跨伒) 9720265ba6 Update update-prebuilts.ps1 2023-03-21 21:21:02 +08:00
Sam ba935d7dd0 Improve Android performance (#1125)
* Improve Android performance

* Remove unused memset

* Using the same code as Metal.

* Add a comment
2023-03-21 19:43:37 +08:00
halx99 42567d0c98 Update ios splash images [skip ci] 2023-03-21 19:40:55 +08:00
halx99 5e78f5c0db Improve thirdparty updating robot 2023-03-18 00:25:35 +08:00
Sam edfacba3db Add ClippingNode Performance Test (#1122)
* Impore Metal Renderer Dirty Detection.

Remove setTargetFlags _dirty

* Add Clipping Node Performance Test

* Fix Win UWP compile error
2023-03-16 08:07:53 +08:00
Yehsam23 9b0b6fd4ce Impore Metal Renderer Dirty Detection. (#1120)
Remove setTargetFlags _dirty
2023-03-15 11:09:20 +08:00
aismann d58d4198e4 improve cpp template (add more event handler) (#1118)
* improve cpp template (add more event handler)

* fix C-style pointer casting
2023-03-14 15:25:12 +08:00
halx99 912bf32d13 Remove UWP from PC family 2023-03-14 12:08:31 +08:00
halx99 2f04914405 [UWP] Add cmake option: AX_VS_DEPLOYMENT_TARGET
a. It's useful to specify UWP apps deploy target version, vs property is
TargetPlatformMinVersion
b. Use `CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION` possible
supported by cmake-3.27.0 or later
2023-03-14 08:24:27 +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
RH b6ab32ae6d Fix for incorrect tile sprite setup on creation (#1114)
* On tile sprite creation, apply required settings based on tile flags
2023-03-13 08:55:26 +08:00
halx99 8237960c1f Fix osx-ci.yml
Don't set cmake version which may not present on target action vm
2023-03-12 19:26:36 +08:00
halx99 09c8383e93 Set default UWP min deploy target to 10.0.19041.0 2023-03-12 19:00:35 +08:00
halx99 760c59ab6e [UWP] set VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION for all targets 2023-03-12 17:57:54 +08:00
RH 941ccd0d14 TiledMap sprite position fix (#1112)
* Correctly store flags and gid with sprite created for tile
Use correct coordinates when displaying sprite for a tile

* Fix up typo and long test titles
2023-03-12 16:15:11 +08:00
RH 3f6847ebf0 Set default project in Visual Studio for UWP (#1111) 2023-03-12 12:34:51 +08:00
halx99 eadd53f366 Improve winuwp-ci 2023-03-12 02:42:32 +08:00
halx99 517ffeedc6 Update project url in sources 2023-03-12 01:44:55 +08:00
halx99 53208eedbc Update build status badges 2023-03-11 23:34:10 +08:00
halx99 0fbda93c39 [UWP] Add API GLViewImpl::createFullScreen
- Fix for luabindings
2023-03-11 23:19:52 +08:00
halx99 1152c73575 Fix ci 2023-03-11 23:14:04 +08:00
halx99 1c97c31799 Update readme files 2023-03-11 23:08:08 +08:00
halx99 48d45fe0f1 Committing genbindings changes 2023-03-11 15:01:39 +00:00
halx99 360950f1d7 Improve API GLViewImpl::createWithRect 2023-03-11 22:53:55 +08: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