Module
New publish Android package, support Apk and AAB format (google play store is required AAB format to publish)
Instructions.
1. steam version can be directly packaged after the update.
2. Package name is used to distinguish the same name will overwrite this APP every time you install
it.
3. The key is used to sign the official release, it means the APP is released by you, you can create a
key by yourself, GC also provides a default
GC also provides a GC common key by default (debug mode does not need to sign, generally
available in debug mode when testing yourself).
4. Icons can be replaced by yourself, providing a variety of sizes to fit Android specifications, you
can replace each size.
5. Permission settings can generally be set without adjustment, the permission corresponds to
some API.
Packaged Android APP takes a long time to wait, please be patient, if you need to test the cell
phone running effect, please use the software game running QR code scan Code test.
optimization and adjustment
1. optimize the same walking map on the scene batch rendering, reduce drawcall, in order to improve performance
2. Generate system code for custom modules when saving, in order to cooperate with third-party IDE development
bug fix
1. Fix the bug that the last module data cannot be selected in the properties of the custom module type in the custom editor
2. Fix the bug that some of the lists only for selection also allow to change the data name
3. Fix the problem that the public property right-click menu of the scene object conflicts with the right-click pop-up menu of its array property, and now the public property right-click menu is only valid in the title bar of the block
4. Fix the implementation of frame locking to ensure that the enterframe function and rendering are synchronized when locking the frame, which was occasionally out of sync (i.e. the frame entered the enterframe function but may not have actually been rendered, resulting in the function not being executed before rendering, such as the Callback.CallLaterBeforeRender function)
5. Fix the error that the data may not be read when the module data in the database is large, resulting in the value modified in the editor, but still not read after restarting (actually saved to a file).
6. Fix the error that after modifying the public properties of the prototype of the scene object, the module on the object of the prototype of the class is removed from the unopened map
7. Fix the problem that the dialogue that has used the stand is reported wrong after the stand is deleted
API
Added or adapted Android-related APIs.
os,platform == 4; // 4 in Android environment
os.minimize(); // compatible with Android in addition to PC: minimizing the app
os.shake(1000); // the phone vibrates for one second (only if the user turns on vibration)
os.horizontalScreen = true; // true horizontal screen, so the input method will be displayed horizontally
too
os.insomnia = true; // Allow the device to be always on, the default is on. For example, hanging games
will also keep the phone on, not because of a few minutes of inactivity
and not automatically turn off the screen
os.closeWindow(); // compatible with Android in addition to PC: close the application
