-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add screen orientation checker and improve title screen centering for 3D Car Coin Hunt #724
Conversation
… 3D Car Coin Hunt
Preview the game(s) changed or added in this Pull RequestThis is an automatic message displaying links to the games in this PR - double check the JSON in case of doubt. |
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 26.3%, saving 7.44 KB.
6020 images did not require optimisation. |
"const orientation = runtimeScene.getGame().getGameData().properties.orientation;", | ||
"", | ||
"eventsFunctionContext.globalVariablesForExtension.get(\"TargetOrientation\").setString(orientation);" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not define a private expression for it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking that in the future we could have an action to force a specific orientation - to override what is in the game (because some games might want to change orientation according to the scene... even if unlikely).
cd07402
to
bf55f19
Compare
Images automagically compressed by Calibre's image-actions ✨ Compression reduced images by 26.3%, saving 7.44 KB.
6020 images did not require optimisation. |
No description provided.