Author Topic: Ultrawide  (Read 1467 times)

ZANARD

  • Level 0: Bipi
  • *
  • Posts: 4
    • View Profile
Ultrawide
« on: August 30, 2022, 12:03:13 PM »
Is it possible to create a game in ultrawide?
thanks.

Gizgord

  • average
  • Level 18: Statix
  • *
  • Posts: 835
    • View Profile
Re: Ultrawide
« Reply #1 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".





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 :))

ZANARD

  • Level 0: Bipi
  • *
  • Posts: 4
    • View Profile
Re: Ultrawide
« Reply #2 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

Gizgord

  • average
  • Level 18: Statix
  • *
  • Posts: 835
    • View Profile
Re: Ultrawide
« Reply #3 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.



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
« Last Edit: September 05, 2022, 01:54:45 PM by Gizgord »

ZANARD

  • Level 0: Bipi
  • *
  • Posts: 4
    • View Profile
Re: Ultrawide
« Reply #4 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