aspect ratio

  1. DarthTenebris

    GMS 2 Supporting Custom Resolution and Aspect Ratio

    Hello everyone, I am trying to make a multiplatform game, but it just occured to me that Android phones are no longer simply rotated desktop screens. Various resolutions and aspect ratio exist outside of the standard 16:9 desktop. Are there any tutorials that teach how to support all these...
  2. S

    Sprite Distortion on GUI Layer

    Sometimes when I draw sprites to the GUI layer, the sprites get distorted. Like these two menu arrows here: If I draw the same sprite on the room level though, there is no distortion with the arrow sprite. As seen here: I also notice that my sprite font can get distorted when the view zooms...
  3. Mehdi

    Android Scaling For God's Sake!!!

    Hello fellow game makers, I have read through all articles and posts related to proper scaling for different devices so far. But nothing seems to work. I want to disable application surface (or at least disable its drawing) to gain some fps. Also I want to have letterboxing (black bars) around...
  4. O

    Question - Code So how to change aspect ratio or display size generally

    Hey all, This one's bugging me. I want to have an option for the player to change between 16/9 aspect ratio and 4/3... I've seen a guide suggesting using the command display_set_gui_size(w, h) but that didn't work at all... Here is the code I have that appears for a persistent object at the...
  5. Hax4Ever

    GML Centering a room in a view larger than the room? [SOLVED]

    Yes I'm aware that it's not the best thing to have a view larger than a room, I've given my game a dynamic aspect ratio horizontally as means of better displaying the art created for it without distortion. It works properly so long as the room's width is equal to or greater than the width of...
  6. MeltingCat

    GMS 2 help with pixel perfect scaling

    Hi! I've come across a problem in my game which I have not been able to solve after countless tries and research. I'm trying to scale my pixel art based game to fit multiple screen sizes, without seeing black bars and hopefully a display with the least amount of pixel deformations as possible...
  7. F

    Android Weird pieces of sprites repeated around screen

    hi My game is aimed for Android. I have checked "keep aspect ratio" to have a padding (black bars) around the screen to compensate for issues with different display sizes. It works pretty well on several devices with various sizes. However on Samsung galaxy a9, a strange problem happens. some...
  8. EvanSki

    GMS 2 Can I get some help with setting up a camera?

    Hi, so i've tried tutorials on making cameras and everyone talks about them different, sets them up different. Its just left me confused and disoriented. I would love it if I could make a camera that has the viewport centered on a target (ex.the player) and that viewport be the size of the game...
  9. Looks Like I've Lost

    Legacy GM [SOLVED] Resolution Issues

    I've been working with a partner recently on a game and wanted to add resolution changing, but I think I made the mistake of making the game with the native resolution of 1920x1080. It seems like the most common way to change resolution is for the native resolution to be lower and to scale up to...
  10. Megax60

    Black bars not showing correctly

    i made the game scale pixel perfect, but the black bars on the sides are moved: i followed this guide. The resolution is 640 x 480. I really dont know what im doing wrong obj_system create event: //Resize application_surface_draw_enable(false); window_set_fullscreen(true); global.MonitorW =...
  11. E

    GMS 2 Resizing background with steady rest [HTML5]

    I want my game to look as if it's full screen on all major aspect ratios for mobile, so no black bars. I tried the fullscreen scaling tutorial here: https://www.yoyogames.com/blog/67/scaling-for-html5 But for some reason it isn't working at all? At least I'd like the background to be full...
  12. B

    GMS 2 Background won't fill the screen?

    Hi there i am new here, and i am currently having an issue with getting my background to fill in on GameMaker Studio 2. I made a display manager that takes care of all the aspect ratio/screen resolution adaptions. But for some reason my background just won't scale and i am making the game in...
  13. flyinian

    concerns/worries of pixel perfect work (60 x 60)

    so, as i am creating this post, I realized that I made an error. Luckily, it's very early in my game's development. I was creating my pixel art 60 x 60 thinking all is good because 60 goes into 1920 and 1080 evenly but, I don't believe this is how pixels/resolutions/aspect ratios (work or do...
  14. HW.

    Android Will the 2:1 kill 16:9 domination? The aspect ratio trends for mobile games, i hope it doesn't becau

    because............. all of my project are still using 16:9 which is HD 720p and or 1080p FHD.. :p And what i always do is "tick" that instant settings on GM to "Keep Aspect ratio".... i really live in a comfort zone doing that.. Yeah it has black bars on top or down...if non-16:9 plays but the...
  15. B

    Increase room size on phone

    Hello! I've been developing a game for the iOS export in GameMaker Studio 1.4 and I need to stretch the screen to fit any phone's aspect ratio. All the rooms are currently 640 x 960, so whenever I try to scale it on a phone that does not have a proportional ratio, black bars show up on the...
  16. W

    GMS 2 Allowing multiple aspect ratios without stretching display

    hi I've been stuck on this one problem for about too long now: adjusting the resolution without stretching/scaling the game. I'm using a view that follows the player and when the aspect ratio is changed i want the view size to change, leaving the GUI and object/sprite sizes the same. Like...
  17. B

    Screen Resolution Question

    Hello everyone! I just have a quick question for anyone willing to answer. I am in the the process of creating my own game and I need to decide on a proper aspect ratio for the game. It is supposed to be a "modern SNES-era game" so I wanted to have the aspect ratio be 16:9 (my laptop is...
  18. S

    GMS 2 [SOLVED] Scaling the GUI correctly to different screen sizes

    Everything below works for my screen, including the GUI functions (my screen is 2736x1824). Room Creation Code: view_visible[0] = true; view_enabled = true; // Variable used to change gui ratio and/or gui aspect ratio. if this is changed, this same variable needs to be changed in the Create...
  19. I

    screen streches out when room size ratio doesnt match

    i have a small room (an indoor house) and the aspect ratio of the room size is 2:1, meaning the room width is 400 and height 200) and my screen is bigger, defualt size (1024x768), which causes the screen to be drawn very streched and ugly. note: im not very good with everything related to views...
  20. P

    GMS 2 prevent mouse outside GUI area

    Im not sure if it's just me doing it plain wrong or if there is just no simple way for this problem: example: you have a 16:9 game and want it to run in fullscreen works fine on all 16:9 displays but has black bars on any other aspecr ratio display (when you want to keep aspect ratio and not...
Top