Commit Graph

3372 Commits

Author SHA1 Message Date
Turky Mohammed 969c2257f8 [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
RH 8d52ad2e56 Add missing renderer source file references to CMakeLists.txt (#1100)
* Add missing file references to CMakeLists.txt
2023-03-07 18:51:58 +08:00
Turky Mohammed 6a7522ae84 [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
halx99 e5acd7da01 Fix dead lock when post new http request on failure callback 2023-03-06 12:13:12 +08:00
RH 00989196af Fix incorrect content variable in cpp template (#1095)
* Fix cpp-template-default CMakeLists.txt content folder reference
Update test project content folder variable name to match cpp template
2023-03-04 21:25:05 +08:00
halx99 f4855f0e14 Add more compatible macros 2023-03-04 16:13:21 +08:00
halx99 a4fae9dd57 Add more compatible macro [skip ci] 2023-03-04 15:48:33 +08:00
halx99 d487b3128c Fix #1088 2023-03-04 15:38:39 +08:00
RH 14ccdfcffa [Apple] Fix for missing resources (#1092)
* [Apple] Ensure resources are mapped to the expected directory by iOS and MacOS targets
2023-03-03 21:53:18 +08: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 01a74f3b61 Fix #1082 2023-02-27 15:43:35 +08:00
aismann 2cb695e398 removed unused variable: const Vec2 pt (#1079)
const Vec2 pt(so.x / PRECISION, so.y / PRECISION);
2023-02-26 04:29:57 +08:00
Deal(涓€绾跨伒) e8d63fd992 Update workflow files 2023-02-25 03:06:54 +00:00
halx99 c4e219160a Fix #1075 2023-02-25 06:21:23 +08:00
halx99 cc9cb5f38e [CMake] Improve link prebuilts 2023-02-24 19:33:26 +08:00
Deal(涓€绾跨伒) b06c60dfe5 Update lua debug project files 2023-02-24 04:31:05 +08:00
Deal(涓€绾跨伒) aaadb1752f Revert design size. 2023-02-24 04:20:14 +08:00
halx99 b377f1238e Tidy lua-template-default 2023-02-24 00:17:36 +08:00
halx99 b6ca5716c5 Fix android assets 2023-02-23 23:48:06 +08:00
RH 9c526c81e4 [Android] Update icons to Axmol logo (#1073)
* Update Android icons in test projects.
2023-02-23 23:43:51 +08:00
halx99 ed9c2d161c Improve UserDefault code style 2023-02-23 21:59:27 +08:00
halx99 ad9760aa85 Fix live2d sdk crash issue 2023-02-23 21:59:00 +08:00
Deal(涓€绾跨伒) 83d53ba46b Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
RH c642b3babc Better richtext word wrapping (#1071)
* [RichText] Do not word-wrap on punctuation characters for better readability
2023-02-23 13:55:42 +08:00
RH a8b02df98a Update app icon to Axmol logo (#1070)
* [iOS] Axmol logo

* [Windows] Add Axmol logo as icon
Replace old logos in test resources with Axmol logo

* [tvos] Update to Axmol logo

* Update iOS and tvOS app logo

* Update cpp template app logos

* Fix resources for iOS and tvos. Update to new Axmol logo.
2023-02-23 13:07:12 +08:00
halx99 c42d6a220f Fix ci 2023-02-23 10:14:14 +08:00
halx99 b666fe93c8 Improve cpp-tests design resolution setup 2023-02-23 09:50:36 +08:00
halx99 452754981a [CMake] Add symlink support, refer to #1005
- Rename ax_<xxx>_copy_xxx to ax_<xxx>_sync_xxx
- Add optional arg `SYM_LINK`
2023-02-22 23:37:32 +08:00
aismann cfcf541744 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
RH b21b34ee66 Scrollbar visibility fix for when auto hide is disabled (#1067)
* Fix for scrollbar visibility when auto-hide is disabled

* Set the default opacity to 255 when the scrollbar auto hide is disabled since _opacity is unknown
2023-02-22 11:13:56 +08:00
RH 20dcad664b Trim leading space from wrapped lines of text in RichText (#1066)
* Fix issue with a whitespace appearing at the start of left-aligned text in RichText when using wrapping at word boundaries.
Update RichText test.
2023-02-21 13:15:28 +08:00
Deal(涓€绾跨伒) 408d36557d Update CHANGELOG (Commits on Dec 18, 2022) 2023-02-18 13:45:29 +08:00
halx99 70cef3ca58 Check astc image header wildcard for some extesion formats [skip ci] 2023-02-18 11:43:44 +08:00
halx99 e6a3aedff0 Working on c++23
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
halx99 859d2b0b1b Android CI: signed release apks 2023-02-18 11:26:37 +08:00
Deal(涓€绾跨伒) 456ee6d8d5 Update .clang-format [skip ci] 2023-02-16 13:20:29 +08:00
Deal(涓€绾跨伒) 1fcbab8322 Update .clang-format 2023-02-16 13:13:22 +08:00
Deal(涓€绾跨伒) 0ae5a3e91a Update update-prebuilts.yml 2023-02-16 06:25:35 +08:00
Deal(涓€绾跨伒) 492c1705ab Delete README.md 2023-02-15 15:06:53 +08:00
halx99 b8528b920a Committing genbindings changes 2023-02-14 15:38:16 +00:00
halx99 350a172860 Now lua-binding generator use python3 2023-02-14 23:30:44 +08:00
halx99 233cdd0daf Remove unused 2023-02-14 23:23:11 +08:00
halx99 c85c778cea Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
Turky Mohammed 3ebd6202cc Improve test naming (#1057)
* add anchored sprite class

* Add feature tests

* Update SpriteTest.cpp
2023-02-13 17:55:26 +08:00
halx99 7202e55ba2 Drop python2 support 2023-02-13 17:52:05 +08:00
aismann 800da490d8 drawCircle tester improved (#1054)
* drawCircle tester improved

* add more info to the tester

* codacy fix
2023-02-11 08:05:27 +08:00
Turky Mohammed 63263e09d2 Add Anchored Sprite Class (#1040)
* add anchored sprite class

* Add feature tests
2023-02-10 14:07:20 +08:00
Andreas Loew d444937358 display error message if shader initialization fails (#1051) 2023-02-09 23:07:36 +08:00
Deal(涓€绾跨伒) 4d608eba39 Fix #990 2023-02-09 21:40:38 +08:00
halx99 ed9e539a85 Fix ci 2023-01-24 18:27:40 +08:00