scrale - Letterboxing the simple way [0.10.2, BETA]

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
Marty
Citizen
Posts: 89
Joined: Mon Dec 04, 2017 1:47 am
Location: Germany

scrale - Letterboxing the simple way [0.10.2, BETA]

Post by Marty »

Personally, I think the push lib is a bit too complicated, so I came up with my own implementation for low resolution games that scale and center itself. Here are the features:
  • Support for window and fullscreen mode.
  • Supports toggling between window and fullscreen mode.
  • Works for desktop and mobile devices.
  • Supports fill-mode on fullscreen. (Good to support different screen sizes of mobile devices)
  • On desktops in window mode it increases the window size by a multiple of 2 as much as possible, so you end up with the best view of your game.
  • Has helper functions to resolve click locations and more.
READ THE DOCS AND GET IT HERE

Have fun!


I'm not sure about the compatibility towards 11.1, but I will target this for 11.1 sooner or later, in any case.
Visual Studio Code TemplateRichLÖVE Mobile (AdMob+UnityAds+PlayGamesServices+GameCenter)Add me on Discord

───▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄───
───█▒▒░░░░░░░░░▒▒█───
────█░░░░░░░░░█────
▄▄──█░░░▀█▀░░░█──▄▄
█░░█▀▄░░░░░░░▄▀█░░█
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 26 guests