scaling

  1. V

    HTML5 HTML5 scales beautifully on desktop browsers, but the resolution is completely wrong (3-4x too small) in iOS and Android browsers!

    Hi all, I've been following the tech blog article on HTML5 scaling, and to my delight, it has worked great for my HTML5 game. However, it only seems to work on desktop browsers. When I try to test the game on my iPhone 7 iOS (12?) Safari or my partner's Samsung S9 with Chrome, the game...
  2. Fluury

    Get size of "scaled" view / How to achieve pixel perfect scaling with free window scaling

    Heya. Following Issue: Similar to Nuclear Throne I'd like to allow the player to freely resize the window to their liking while keeping the area within the window the same - this means we get Black Bars. These are fine, what however isn't fine is the game's sprites getting all crusty...
  3. Cupid Stunt

    GML Is there automatic scaling?

    Before I get to reinventing the wheel I want to be sure that there is not an automatic scaling system for users resizing game or browser windows. The games that I'm currently working on should have their elements stay in the same relative position and all remain visible as the window's size is...
  4. Carloskhard

    GML Change resolution of VM while testing

    So I wanted to test my android game in different resolutions and see how my system for scaling works, however when I was testing I saw that changing the size of the emulation window doesn't change "display_get_...", while doing this in another new proyect it works(It changes the display size). I...
  5. Rizlad

    16:9 scaler script

    So I created this script to scale a game with 16:9 ratio. Basically it scales to edge for width then puts it to a 16:9 ratio via a surface scale. Works, I just thought I'd share for anyone interested and see if there's any additions or alterations anyone may have to suggest.
  6. Mehdi

    Android / Amazon Fire 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...
  7. Warspite2

    GML Objects decrease in scale based on y position

    I am working on a concept where I want to randomly place trees based on room width and height. So what I am trying to do is decrease the scale of the trees that are placed higher up to give the scene more depth. Bascially I am wanting to scale the trees based on their y position, towards the...
  8. X

    Question - IDE How to make the size of windows in GMS2 room editor constant ?

    Hello ! I am new to Game Maker. I'm using GMS2 , and one of the problems I realized is that, by zooming the room editor out, all of the windows get smaller too. This causes a big quality loss and makes a lot of text unreadable. I posted two images : Normal zoom ( Normal.png ) and zoomed out (...
  9. Ricardo

    Windows multi-monitor fullscreen issue

    Hi there! I have two monitors. Monitor #1 is ultrawide (2560x1080), whereas monitor #2 is a regular 1920x1080. If I try to maximize my game on monitor #1, everything works as expected. However, if I move the game window to monitor #2 and maximize it (window_set_fullscreen(true)), the game...
  10. JeanSwamp

    GMS 2 Support 720p and 1080p in GMS2

    Hello Game Makers! I've been reading a lot and found a few methods and tutorials on how to support multiple resolutions in GameMaker. Sadly most of them are aimed to GMS1. With the new cameras in GMS2 most of the stuff is outdated and I wonder how do you guys give support to 720p for a pixel...
  11. I

    Android / Amazon Fire [SOLVED] Camera screwing up graphic

    Hello everyone, I'm so sick of this problem and 'Ive been trying to solve it for such a long time, that I've decided to look for help somewhere else. I'm talking about cameras. In all of my games I have one big problem with cameras. And that is smooth camera movement to player. I have this...
  12. 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...
  13. E

    Android / Amazon Fire GMS2 Help with scaling for mobile

    Hello, i'm trying to scale the view port to be the biggest possible without changing camera size and while keeping the aspect ratio. And then bring the view port to the top of the screen, so i have enough room on the bottom of the screen to add buttons, which i know i can achieve by using...
  14. Jihl

    Android / Amazon Fire Question on Android proper scaling

    Hey there! I am exporting an application with GMS2 to Android, I have set the room size to be 720x1280 which is the Android size I'm using. I have set up my android settings with this guide: https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android Sadly, Everytime I...
  15. R

    How to achieve 3D low-res effect in GameMaker:Studio 1

    I'm coding a 3D FPS-type game in a popular game engine called GameMaker:Studio 1.99.44. I'm trying to achieve a low-res "pixelated" effect, for example like this: I've tried experimenting with views, thus making their resolution smaller and afterwards scaling up the game window in code in...
  16. EloNuclear

    Small questions about scaling and sprites

    Hey, I'm a total beginner when it comes to GM2, recently started working on a little visual novel game with the team, still learning the program slowly.. The game I'm making is gonna have a high res pixel-art kind of style, I had a hard time understanding how I should upscale everything, it...
  17. inertias

    GMS 2 Font issue relating to screen resolution

    So above is a picture of a sprite that contains a very small font. My game is at 1920x1080 resolution and my monitor matches that as well. My problem is that when I draw this font to the screen (using the draw gui event), the font only appears clearly depending on where my mouse coords are (I am...
  18. AndHeDrew

    GMS 2 Scaling game surface with different sized rooms

    Hello! I've been trying to crack this problem for a while, and I haven't been able to find a solution. I am adapting Pixelated Pope's scaling method to work with my game, and I'm stuck. Here's what I'm trying to do: 1. Determine the size of the monitor 2. Scale the application surface height...
  19. 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...
  20. L

    GUI(healthbar) not scaling with zoom (GameMaker 8)

    Hello, I'm using a fairly older version of Game Maker which does not have the GUI draw event included, or any GUI codes by that means. My "GUI" in this case is just a drawn healthbar. My problem is that it's scaling down when there's a zoom-out. Basically, I have two characters in a room...
Top