Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

Description

This extension adds,

  • Locking the Screen Orientation Using Orientation API ( Offers a way to check it ) -- Including Reverse Orientation.
  • Expression ( For getting Current Locked Orientation )

How to use the extension

Changing The Orientation

  • Go to actions, camera and you will see the event Change Orientation.

Check The Orientation, Condition

  • Go to Conditions, Camera and you will see the event "If Orientation"

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Reviewed

Example file

None, May Come Soon...

Extension file

ScreenOrientationLock.zip


Extension by @CreatorADOfficial

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions bot added the ✨ New extension A new extension label Sep 21, 2025
@github-actions github-actions bot requested a review from a team as a code owner September 21, 2025 12:41
@github-actions github-actions bot added the ✨ New extension A new extension label Sep 21, 2025
@CreatorADOfficial
Copy link

CreatorADOfficial commented Sep 21, 2025

For Constibutor

My extension is not a duplicate of Orientation Checker. That one is reactive — it only detects the current orientation and lets the developer show an object/message if the game is being played in the wrong orientation.

By contrast, my extension is proactive — it uses the Screen Orientation API to force the game into either portrait or landscape mode. This is a different use case: instead of just warning the player, it actually locks the orientation.

Thank you, If there's somethings for changing. I'm ready to work on that, I'm also sorry but I had to reopen it because the other one was closed before I can explain.

@D8H
Copy link
Contributor

D8H commented Sep 21, 2025

Is it not the same as your other PR?

@CreatorADOfficial
Copy link

CreatorADOfficial commented Sep 22, 2025

Hello D8H, Yeah it's the same I just changed the name and other things to avoid confusion.

@D8H D8H mentioned this pull request Sep 22, 2025
3 tasks
@D8H
Copy link
Contributor

D8H commented Sep 22, 2025

I had to reopen it because the other one was closed before I can explain.

I'm not sure which one you meant, but please do stop opening new PR for the same thing.

@CreatorADOfficial
Copy link

CreatorADOfficial commented Sep 22, 2025

I'm sorry, It's my first extension, a bit inexperienced. I'm ready to learn. close all of them please, except this one. also if there's something for changing please tell me. Thank you!!😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ New extension A new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants