GDevelopApp / GDevelop-extensions

Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games
https://gdevelop.io
MIT License
131 stars 52 forks source link

New extension: Resize the window to fit the screen #261

Closed Jurfix closed 3 years ago

Jurfix commented 3 years ago

Description

The function allows you to resize the window to fit the screen while keeping the camera in the middle of the scene without unexpected displacement.

How to use the extension

An important condition for correct operation is to set the game resolution to 1280 horizontally and 720 vertically, you also need to check the box "change the width to fit the screen size" and the checkbox "update the resolution while playing".

Checklist

Example

https://games.gdevelop-app.com/game-60d3910d-88ec-4fae-81c8-702b1a6f70db/index.html

Extension file

ResizeTheWindowToFitTheScreen.zip

github-actions[bot] commented 3 years ago

Hi @Jurfix! 👋 This submission has been moved to a PR as part of our submission pipeline. Please continue the submission process on this page. Thanks!