Skip to content

Screen Orientation Lock (reopened)#1838

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
extension/CreatorADOfficial/1837
Open

Screen Orientation Lock (reopened)#1838
github-actions[bot] wants to merge 1 commit into
mainfrom
extension/CreatorADOfficial/1837

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 21, 2025

Copy link
Copy Markdown
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

gdevelop-game.zip

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

CreatorADOfficial commented Sep 21, 2025

Copy link
Copy Markdown

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

D8H commented Sep 21, 2025

Copy link
Copy Markdown
Contributor

Is it not the same as your other PR?

@CreatorADOfficial

CreatorADOfficial commented Sep 22, 2025

Copy link
Copy Markdown

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

D8H commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

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

CreatorADOfficial commented Sep 22, 2025

Copy link
Copy Markdown

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!!😁

@github-actions github-actions Bot force-pushed the extension/CreatorADOfficial/1837 branch from 8417747 to f05445f Compare October 14, 2025 12:38
@CreatorADOfficial

Copy link
Copy Markdown

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.

Hi! I’ve updated the extension and added an example project. All checks are passing again—would love a review when you get the chance🙂

@CreatorADOfficial

Copy link
Copy Markdown

@D8H Hello, this is one of my old extension and I use it everyday. It's really helpful for changing the orientation mid game and I was wondering if I could contribute it since it was finished and it has export and browser support

@D8H

D8H commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

If you want people to start using your extension while waiting for a review, you can add it to the community list:

@CreatorADOfficial

Copy link
Copy Markdown

If you want people to start using your extension while waiting for a review, you can add it to the community list:

Can you add it, thanks brother!

@D8H

D8H commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

No, I can’t because it need to be hosted. Please read the link from my previous message.

@CreatorADOfficial

Copy link
Copy Markdown

No, I can’t because it need to be hosted. Please read the link from my previous message.

Okay brother

@CreatorADOfficial

CreatorADOfficial commented Apr 6, 2026

Copy link
Copy Markdown

No, I can’t because it need to be hosted. Please read the link from my previous message.

I read it, this one is safe and doesn't contain malware (I don't even know how to make that stuff) also it doesn't contain and iligal stuff, I would take full responsibility in that case!

@D8H

D8H commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

So, follow the instructions there and it will be added to the community list. I don't understand what you expect from me.

@CreatorADOfficial

Copy link
Copy Markdown

So, follow the instructions and it will be added to the community list. I don't understand what you expect from me.

Thanks for the help! 🫡

@CreatorADOfficial

Copy link
Copy Markdown

!update
ScreenOrientationLock.zip

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Successfully updated the extension.

@CreatorADOfficial

Copy link
Copy Markdown

@D8H Hello, You said to continue here. How do I get the extension on the experimental extensions (in the engine)?

@D8H

D8H commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Reviews are done according to reviewers availability and what they think is a priority, so it can take a while.

@CreatorADOfficial

Copy link
Copy Markdown

Reviews are done according to reviewers availability and what they think is a priority, so it can take a while.

Thanks For The Help, I really appreciate your time!

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