Commit Graph

552 Commits

Author SHA1 Message Date
aismann 973239f8a0
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 cd76849c4d Update ios splash images [skip ci] 2023-03-21 19:40:55 +08:00
aismann 487e7bbe76
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 1a537a7a98 [UWP] set VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION for all targets 2023-03-12 17:57:54 +08:00
RH 2b3ce68d8b
Set default project in Visual Studio for UWP (#1111) 2023-03-12 12:34:51 +08:00
halx99 7226125e7e Update project url in sources 2023-03-12 01:44:55 +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
RH 65add9922c
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
RH 37a805072d
[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
halx99 de05d9af44 Fix android assets 2023-02-23 23:48:06 +08:00
Deal(一线灵) 1ae9cd33ae
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 4b4294c6d2
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 21c92c5434 [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
Oren Bengigi 2698663f90
Update CMakeLists.txt (#1031) 2023-01-14 16:34:50 +08:00
RH f59d786b7a
Fix cpp-template (#1016)
* 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.

* Fix compilation error related to redefinition of 'pause'
Fix update override warning
Improve code
2023-01-06 13:02:55 +08:00
aismann 8d4c763769
Update HelloWorldScene.cpp (#1008)
replace   _director->end();  with menuCloseCallback(this);
2023-01-03 17:40:05 +08:00
aismann 1b35d57b0b Improve cpp-template
Add:
- scheduleUpdate()
- HelloWorld::update(float delta) with some "gamestate switch/cases"
2023-01-02 22:26:23 +01:00
halx99 22244469d4 Add win32 console for cpp template [skip ci] 2022-12-29 19:00:40 +08:00
CHP d79156d728
Improve Android cmake (#985)
* Update CMakeLists.txt

* Improve Andoid CMAKE
2022-12-17 16:35:34 +08:00
halx99 3f0df4a348 Update logo [skip ci] 2022-12-17 16:32:20 +08:00
halx99 691cdd0ed9 Remove unnecessary cmake include 2022-12-17 14:32:20 +08:00
AsakuraMizu 8936e77bf6 experimental linux prebuilt support 2022-11-17 22:25:13 +08:00
halx99 0651f77a3c Improve gradle scripts
Add cmake options from gradle command line properties support
2022-11-10 22:53:54 +08:00
halx99 154009da5f Migrate namespace for templates [skip ci] 2022-10-19 13:17:18 +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 7a3314160c
Merge pull request #903 from aismann/patch-2
Update AppDelegate.h
2022-10-07 23:44:37 +08:00
aismann dbedd025d7
Update AppDelegate.h
#883
2022-10-07 15:24:01 +02:00
aismann be406badfe
Update AppDelegate.cpp
#883
2022-10-07 15:21:07 +02:00
aismann 2d666a6b84
Update HelloWorldScene.h 2022-10-02 13:09:56 +02:00
一线灵|Deal 5645bb241e
Final migrate (#876) 2022-10-01 16:24:52 +08:00
Paulo Coutinho 8c359917f7
Add apple tvos support (#846)
* support tvos

* support tvos and fix run command

* support tvos, fix run script and fix windows files

* support tvos on ci

* support tvos on ci and fix windows zlib

* support tvos on ci

* support tvos

* support tvos and tvos tests
2022-09-05 14:13:52 +08:00
halx99 6df48e9f8b Fix typo 2022-09-02 10:36:25 +08:00
一线灵|Deal 33b67fa0df
Migrate, use simple namespace ax (#818) 2022-08-29 20:51:22 +08:00
halx99 7e1db178ab Improve template HelloCpp code style [skip ci] 2022-08-13 09:35:38 +08:00
halx99 9150b9db83 Migrate cmake files 2022-08-11 15:41:10 +08:00
一线灵 13fc72c02c
Migrate axys (#782) 2022-08-08 18:02:17 +08:00
halx99 f03bce1380 Improve android gradle cmake & ndk setup 2022-08-06 23:09:16 +08:00
halx99 f152c8edf3 Update android gradle plugin to 7.2.2 2022-08-06 20:05:12 +08:00
halx99 21b9ac90e0 Update android target and compile sdk to android 12 2022-08-06 19:26:44 +08:00
aismann 12a1d92536
Renamed 'CC_CALLBACK_1' to 'AX_CALLBACK_1' 2022-07-19 08:32:18 +02:00
halx99 cf6baeed52 Improve android gradle script axistools.gradle 2022-07-12 13:07:27 +08:00
一线灵 279337f17f
Migrate engine namespace to `axis`(abbv: `ax`) (#743) 2022-07-11 17:50:21 +08:00
halx99 9ee4181976 Migrate tests, extensions and configs ReSquash for unexpected changes +2 2022-07-09 22:23:34 +08:00
halx99 fff2bd59ed Fix setup cmake files and some relative sources 2022-07-08 14:20:41 +08:00
DelinWorks a27486a7f7 [skip ci] 2022-07-08 07:36:32 +03:00
DelinWorks d8b2298b9b Fix project creation tools. [skip ci] 2022-07-08 07:27:10 +03:00
DelinWorks 49b6dda016 Fix CMAKE 2022-07-08 02:10:35 +03:00
DelinWorks c116171c1f Fix compilation. 2022-07-04 17:55:41 +03:00
halx99 95e8b68051 Improve project template [skip ci] 2022-06-24 03:09:20 +08:00
aismann 0aa6d151c9 SimpleSnake example 2022-06-14 19:48:06 +02:00