Commit Graph

168 Commits

Author SHA1 Message Date
一线灵|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
halx99 3cf19787ce Fix #791 really 2022-08-11 10:52:38 +08:00
DelinWorks 4ed7c32cf3 Remove assign dups and simplify function naming. 2022-08-11 01:52:04 +03:00
Turky Mohammed 84003b66b2
Update CCCamera.h [skip ci] 2022-08-10 21:10:34 +03:00
DelinWorks dcd0fd6001 Add initialize member function. 2022-08-10 21:09:10 +03:00
DelinWorks 0dfa828926 Update CCCamera.cpp [skip ci] 2022-08-10 20:38:59 +03:00
DelinWorks 63e72775f5 Fix camera view calculation and tidy up system 2022-08-10 20:14:18 +03:00
aismann 8b408b2cde rename push_back vs emplace_back (fine tuning and remove on Live2D (too much)) 2022-08-09 05:51:07 +02:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
aismann 10530b1a19
Replace push_back() vs emplace_back() on axis/tests/cpp-tests and axis/core (#781)
* Replace push_back() vs emplace_back() on axis\tests\cpp-tests\

D:\______\GitHub\aismann\axis\tests\cpp-tests\Classes
Replace Vector push_back() vs emplace_back() #762

* Replace push_back() vs emplace_back() on axis\core\ #781

* Update CCConsole.cpp

* Update UIWebViewImpl-android.cpp

* Update UIWebViewImpl-android.cpp
2022-08-08 13:18:33 +08:00
aismann 73153ad614
Improve c++11 for-loop performance with Universal References (#760) 2022-07-21 19:19:08 +08:00
halx99 c0a4371879 Migrate more macors 2022-07-16 10:43:05 +08:00
halx99 f3ac6ea871 Migrate macros 'CC_' to 'AX_' 2022-07-15 19:17:01 +08:00
一线灵 c7a26bebbf
Fix warning format 2022-07-12 22:57:45 +08:00
halx99 4ad4bf93b0 Avoid unexpected frame refs increase 2022-07-11 19:34:31 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
Turky Mohammed 8517d0ee7f
Replace everything under `core` (#735)
Co-authored-by: deal <halx99@live.com>
2022-07-09 01:23:11 +08:00
DelinWorks d1379cd5c2 Improve RngSeed. 2022-07-05 17:21:21 +03:00
一线灵 b51e50a498
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
halx99 768a8bd5e1 Refator sampler name in shader 2022-07-04 21:26:48 +08:00
DelinWorks 210816a8bc Fix android arm64 incorrect random number generation. 2022-07-04 03:28:55 +03:00
DelinWorks 166ebd2ce6 Move global enums to their own file. 2022-07-03 20:43:55 +03:00
halx99 047206e529 Fix warnings 2022-07-01 13:47:47 +08:00
DelinWorks 6d8aa5e6c1 Update CCCamera.cpp [skip ci] 2022-07-01 05:59:45 +03:00
DelinWorks 4997f613de Fix overriding position when applying custom properties. [skip ci] 2022-07-01 05:58:42 +03:00
DelinWorks 8d3c2b0cdb Use CCASSERT instead. 2022-07-01 05:54:20 +03:00
DelinWorks b24f4fb520 [skip ci] 2022-07-01 03:39:27 +03:00
DelinWorks b4bac6d651 Fix get default camera nullptr on scene initialization. 2022-07-01 03:34:37 +03:00
halx99 3d1690cc25 Add missing autorelease call 2022-06-30 18:18:24 +08:00
halx99 7837395ea5 Fix ci 2022-06-30 18:15:43 +08:00
halx99 38f2b5ca9d Use sprite to implement layer color for auto batch draw 2022-06-30 18:01:29 +08:00
rh101 c6c07428bf Ensure the render target is released if it is already set, since the initWithWidthAndHeight method may be called multiple times. 2022-06-28 17:56:17 +10:00
rh101 1b21f1969b 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
一线灵 e7f5f28931
Merge pull request #653 from DelinWorks/camera-2d-zoom-feature
[PROPOSAL] Add camera zoom, near, far, fov, aspect features & fix camera anchoring.
2022-06-25 10:15:31 +08:00
halx99 1889180a75 Improve renderer 2022-06-24 14:18:48 +08:00
DelinWorks aa372510a4 Use the simple version of create orthographic. 2022-06-17 21:33:06 +03:00
DelinWorks 040a31f908 Modify orthographic projection rather than scale.
Modify the orthographic projection of the camera rather than the scale of the Node when in 2D projection.
2022-06-17 21:25:33 +03:00
DelinWorks f43f11c883 flag camera as Initialized in custom create functions. 2022-06-17 20:41:38 +03:00