Commit Graph

34 Commits

Author SHA1 Message Date
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 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +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
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
一线灵 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
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
一线灵 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 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
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
DelinWorks 101f09d912 Add comment. [skip ci] 2022-06-17 17:16:39 +03:00
DelinWorks 6d858b4b9d Apply orthographic zoom values non-destructively. 2022-06-16 16:41:40 +03:00
DelinWorks 3ad75970ee Remove useless functions. 2022-06-16 16:16:19 +03:00
DelinWorks 730700cf10 Fix rotation override and node base class calls.
Make sure Node class calls it's base functions and NOT the ones overridden when changing position, and make sure the rotation set for the camera isn't altered when calling applyCustomProperties().
2022-06-15 16:10:47 +03:00
DelinWorks 8d614ada98 Fix rotation update & reference deduction. 2022-06-15 05:00:17 +03:00
DelinWorks c43880d991 Fix orthogonal apply custom positioning. [skip ci] 2022-06-15 03:55:57 +03:00
DelinWorks 81a6c508d1 Add position rotation setters & getters override for custom behaviors. 2022-06-15 03:48:26 +03:00
DelinWorks e9ce8da4ef Update CCCamera.cpp [skip ci] 2022-06-14 02:11:40 +03:00
DelinWorks a9a29c2a40 Improve system and fix near plane zoom in. 2022-06-14 01:53:35 +03:00
DelinWorks 61337ff5f4 Fix other platforms compilation. 2022-06-13 21:33:23 +03:00
DelinWorks 6d5c1a446a Add zoom and camera features. 2022-06-13 21:04:24 +03:00
halx99 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00