Hi,
How to change project cpp-empty-test to full screen?
Currently on simulator and device I see following:
Regards,
CHP
Hi,
How to change project cpp-empty-test to full screen?
Currently on simulator and device I see following:
Regards,
CHP
I created a new project like this:
cocos new MyGame -p com.MyCompany.MyGame -l cpp -d ~/MyCompany
And i see it in full-screen mode on iPads…
@CrazyHappyGame did you change anything in AppDelegate or perhaps using an old version of that class?
@slackmoehrle below steps how to reproduce it:
~ $ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.2
BuildVersion: 18C54
~ $ /usr/bin/xcodebuild -version
Xcode 10.1
Build version 10B61
$ git clone https://github.com/cocos2d/cocos2d-x.git
$ cd cocos2d-x/
$ git checkout cocos2d-x-3.17.1
$ ./download-deps.py
$ mkdir b
$ cd b
$ cmake .. -GXcode -DCMAKE_TOOLCHAIN_FILE=../cmake/ios.toolchain.cmake -DIOS_PLATFORM=SIMULATOR64
$ open Cocos2d-x.xcodeproj
In Xcode:
cpp-empty-test->iPad (5th generation)
run
@slackmoehrle
The same is for cpp-tests and iPad (5th generation)
@tranthor
You are right it works fine for new project (e.g.: ./cocos new MyGame -p com.MyCompany.MyGame -l cpp)
Observations:
@slackmoehrle @drelaptop
Questions:
It works, In CMake scripts the only difference with one folder or two folder is resources path, you can found it at below:
@drelaptop Thank you for confirmation about cmake.
What about folder structure. Why there is “proj.ios and proj.mac” for cpp-tests and “proj.ios_mac” for default template.
Why cpp-test and cpp-empty-test is not full-screen on iOS?
theoretically, it should be.
but maybe In the history, someone commit a feature to improve template, but no care tests project. so it is…
try to diff cpp-template with cpp-empty-test to found a result
In XCode please select: