aismann
65875a977e
Clipper2 1.2.2 ( #1138 )
2023-03-27 21:46:14 +08:00
Deal(一线灵)
3d23eea8d0
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
ff8a16350f
[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
ed3bb5eaf8
[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
3eae9cf0f6
Fix return reference to local temporary value ( #1127 )
...
* Fix invalid return type for temporary variable
2023-03-21 21:22:02 +08:00
RH
09d86de9e7
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
RH
252308dce0
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
Deal(一线灵)
b46417809d
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
6e5723b590
Fix compile errors in c++17
2023-03-08 08:34:17 +08:00
Turky Mohammed
b68ecc7cd2
[BUG] TileMap flipped/rotated animated tiles incorrect rendering. ( #1098 )
...
* Add test cases
* Delete default_hrtf.txt
* Fix rotated/flipped animated tile maps
* Optimize bitwise operations
* improve bitwise operations
2023-03-07 23:26:37 +08:00
Turky Mohammed
4c2856998a
[BUG] TileMap OpenGL pixel-tolerance fix ( #1085 )
...
* Update CCFastTMXLayer.cpp
* [skip ci]
* Implement equation into engine
* Update CCFastTMXLayer.cpp [skip ci]
* [correction] fix sub-pixel equation
2023-03-06 22:41:16 +08:00
aismann
ee703dc421
removed unused variable: const Vec2 pt ( #1079 )
...
const Vec2 pt(so.x / PRECISION, so.y / PRECISION);
2023-02-26 04:29:57 +08:00
halx99
b05f1efb15
Fix #1075
2023-02-25 06:21:23 +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
Turky Mohammed
2712f0ee2f
Add Anchored Sprite Class ( #1040 )
...
* add anchored sprite class
* Add feature tests
2023-02-10 14:07:20 +08:00
halx99
9f94bd461e
Fix #1032
2023-01-17 10:06:09 +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
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
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
一线灵|Deal
5fe200ca0a
Fix #983
2022-12-12 19:41:07 +08: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
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
Vincent Lee
8fa2d738a6
Fix warnings (implicit conversion loses and use of deprecated function)
2022-11-20 09:58:34 +09:00
joilnen
79ee13376f
fixing some warnings compilation in linux gcc 12.2.0
2022-11-14 15:46:27 -03:00
Vincent Lee
0508dca83f
Replace use of deprecated sprintf with snprintf
2022-11-14 16:02:16 +09:00
halx99
19e2a77bb4
Fix #958
2022-11-10 21:22:55 +08:00
halx99
07f6b8e23f
Improve memory use
2022-11-03 18:01:10 +08:00
RH
4022b1ff2b
Force recalculation of normalized position when assigning new parent to node ( #952 )
...
* Committing genbindings changes
* Ensure normalized position is re-calculated if parent node changes
2022-11-03 15:49:34 +08:00
halx99
d2da0d6078
Validate shared VertexLayout from Shader Program
2022-10-20 20:22:28 +08:00
halx99
cebba41a1e
Validate shared VertexLayout from Shader Program
2022-10-20 20:19:56 +08:00
halx99
06079a5369
Migrate
2022-10-18 19:17:36 +08:00
halx99
9c7c80aafa
Migrate [skip ci]
2022-10-18 19:13:40 +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
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
一线灵|Deal
573933148c
Improve AutoPolygon::generateTriangles performance ( #905 )
2022-10-09 18:06:15 +08:00
一线灵|Deal
5645bb241e
Final migrate ( #876 )
2022-10-01 16:24:52 +08:00
RH
5c1b2d4f16
Fix to ensure Component::onEnter() is called ( #867 )
...
* Committing genbindings changes
* Ensure that Component::onEnter() is called if component is added after parent onEnter has been called.
* Code style
2022-09-27 17:32:04 +08:00
halx99
57a76fb2f9
Remove unnecessary APIs
2022-09-26 23:20:54 +08:00
halx99
0e2194a247
Improve code style
2022-09-24 11:01:45 +08:00
halx99
72e6061557
Fix #861
2022-09-23 22:41:30 +08:00
一线灵|Deal
c5e4438efc
Update CCAutoPolygon.cpp
2022-09-19 18:22:34 +08:00
aismann
3dddef1bc3
Clipper2 v1 04 ( #856 )
...
* Clipper2 v1.04 (and small fixes)
* Update README.md
2022-09-19 14:17:13 +08:00
aismann
baceccbb2f
#825
2022-09-01 13:51:19 +02:00
aismann
8b6767e9f6
Update CCAutoPolygon.cpp
2022-08-27 18:30:22 +02:00
aismann
898b9cd9af
cleanup2
2022-08-27 17:41:12 +02:00
aismann
bb05337bfe
cleanup
2022-08-27 17:40:03 +02:00
aismann
9d1f2f3487
Replace Clipper1 (all stuff)
2022-08-27 17:00:10 +02:00
halx99
9150b9db83
Migrate cmake files
2022-08-11 15:41:10 +08:00