Platform Builder Forums

Main => General Discussion => Topic started by: ZANARD on August 30, 2022, 12:03:13 PM

Title: Ultrawide
Post by: ZANARD on August 30, 2022, 12:03:13 PM
Is it possible to create a game in ultrawide?
thanks.
Title: Re: Ultrawide
Post by: Gizgord on September 04, 2022, 07:17:00 PM
do you mean 21:9 aspect ratio, like some gaming monitors? you can't change the aspect ratio of Platform Builder. it's stuck to 16:9.

you can simulate the effect by adding making a letterbox (black bars on top and bottom).
here is the easiest way to do it. place "area boundaries" tiles like in the pictures. it looks OK as long as you don't move the camera, so I recommend adding orange "View Boundaries".

(https://i.ibb.co/1GhnmCW/Screenshot-png2.png) (https://imgbb.com/)

(https://i.ibb.co/dQJZ4VX/Screenshot.png) (https://imgbb.com/)

there is a better solution, but only if you own the Pro DLC. let me know if that's the case. otherwise, I hope this was helpful :))
Title: Re: Ultrawide
Post by: ZANARD on September 05, 2022, 01:06:13 PM
Thanks Gizgord,
if I have the pro version.
Another problem I have noticed is the impossibility of having bigger sprites.
Is that so, or am I wrong?
thanks
Title: Re: Ultrawide
Post by: Gizgord on September 05, 2022, 01:32:12 PM
you would upload this graphic as a sprite (I made it just now). then in game, set it as a hud sprite with the command ( hud sprite = [ID] ). after that, you need to reposition every other hud graphic, because they stack on top of each other. kind of tedious but what can you do.

(https://i.ibb.co/1Jd40TL/21-9-letterbox.png) (https://ibb.co/dJLHfDr)

you shouldn't be limited to sprite sizes, unless they are very big. can you explain in more detail what sprite is it, and where does it happen? that would help a lot  ;)

EDIT: check out this template 8)
https://theplatformbuilder.com/forums/index.php?topic=2162
Title: Re: Ultrawide
Post by: ZANARD on September 06, 2022, 12:20:45 PM
I simply loaded a sprite and found the reduced size.
in practice only a portion was visible.
Thanks