I'm new to Kivy and am trying to make a game that will load and play horizontally on an android phone no matter which direction the phone is oriented. Is there an easy way to do that? I looked through the Kivy documentation as well as some other sites & didn't find much. Thanks in advance!
You can set the landscape orientation in the buildozer.spec file.
# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all) orientation = landscape
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.