1. Tymo

    GMS 2.3+ Problem with scaling the surfaces.

    Hi there, I'm a beginner and I come with a problem that I'm struggling with for a while. I searched on the internet but I have no luck so, my game is low resolution (640x360) and I use surface_resize to upscaled two times for a good look, I also use a vibrant light system with shaders that I...
  2. A

    SOLVED setting a enemies scale according to distance

    hello so i am making a game and i need to make enemies scale according to their Y cord (like higher Ycord less scale and moreYcord less scale) and they spawn in random y positions so i cant just use if vspeed>0{vspeed+=0.10} if vspeed<0{vspeed-=0.10} please help
  3. RyanC

    GML Question about Gravity vs Scale & Lerps

    Hi All, I have been trying to make a ghost on my platform game which basically records the users game play and plays it back again. The issue I'm facing is that on different scales the ghost does not perform correctly. About the game mechanics. player x position is generally fixed, with the...
  4. Lady Glitch

    GMS 2.3+ How to NOT scale mask?

    So it appears that scaling a sprite also scales its mask. No matter if I scale it by xscale/yslcale, draw manually with draw_sprite_ext(), change the mask from "same as sprite" to something different, or keep it as it is. With that, my bounding box collisions get messy. I would like to keep my...
  5. Lucas C

    GMS 2.3+ Introducing Xtend - The Setupless, Simplest, most Flexible, most Pixel-Perfect Display Scaler!

    Hi everyone! It's been a while since I last posed around the GMC, but I'm so excited about my latest Marketplace asset I just had to share it with you all. This one has a long history for me, going all the way back to my very first Marketplace asset, originally released in 2014. I created it...
  6. M

    Help: Fitting Game to Canvas HTML5

    Hello :) I’m using GameMakerStudio2 and I've created my first game that I now exported to HTML5. I followed the, tutorial to fit the canvas to the browser window size and it works well. But unfortunally it doesn't scale the game...
  7. P

    ViewPorts Views Cameras, Need Help [UNSOLVED]

    Hello everybody, could you please help me with scailing, fullscreen mode and else: I am doing game for portrait view of phones so I have maximum view Width of 800 px. So when I test my game on computer of 1280:1024 in full screen it looks normally (can't make a screenshot, so explain here: right...
  8. Mythi.T

    GMS 2 Few Quick Questions About Image Scaling/Importing

    Hello. Because my brain isn't filled with enough knowledge, there are questions to be answered, and this is the place I've chosen to ask them. The title probably says it all about what I am asking about. That's all I have to say before I ask these questions. The GMS documentation page about...
  9. zendraw

    Graphics Graphics size and scaling

    i have a problem im not sure how to handle, i want to make a more hi res sprites for a game butif i scale them down thru view port theyr quality gets destroyed. basicly its 8x8 plane where each tile i want to make 256x256 so it ends up 2048x2048, yeah but when i squeeze that in a view quality...
  10. 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...
  11. Divinik

    GMS 2 [SOLVED] Keep Sprite in Same Position Relative to Obj Scale?

    So I have a simple scale calculator used for scaling active actors relative to their horizontal position on the screen during the battle sequences of the game. The code for that is: battleScale = (distance_to_point(x, camera_get_view_y(camera)))*0.0025; image_xscale =...
  12. O

    GML Does scaling text involve loss?

    If text is being dynamically generated and drawn to some confined space, there seems to be two ways to deal with sizing the font correctly: 1. use draw_text_transformed to draw a scaled version of the string, after string_width_ext and _string_height_ext so that you can compare it to the...
  13. Kezarus

    Legacy GM Font Size / GUI Layer

    Hi friends! I am having an issue with font sizes. People say that they can't barely read the text on my game. I am at 1980 x 1080 resolution and all is fine. Should I scale the GUI Layer? What is the best course of action? Thanks in advance, Kezarus
  14. U

    GMS 2 Mouse_x/y and views

    Hey Everyone, I have a very strange problem which I seem unable to solve by myself. What am I trying to do: I want get the angle (for direction/image angle purposes) of my sword object compared to the mouse when I click the mouse button. This sounds simple enough...
  15. FB-Productions

    GMS 2 How to make Fixed Scale (100%) Full Screen switching on Windows?

    Hello everyone, I have been having some problems achieving a certain Full Screen look in Game Maker Studio 2. The look I am trying to achieve when Full Screening my game is called FIXED Scale on 100% (NOT Full Scale!). This was an option available in the Graphics tab of the Global Game Settings...
  16. FacesOfMu

    GMS 2 draw_sprite_ext with scaling and the mask?

    Hey all, I've been working under the assumption that when you draw a sprite to the object's x and y and use scaling as in draw_sprite_ext that the bounding box would be calculated to the newly scaled sprite. I tried making a button in my game and scaled it by 2 but found clicking on it didn't...
  17. K

    how would you create a balance scale?

    Hi, I want to have a balance scale in my game, and I want it to be dynamic looking so that it swings up and down a bit when you put on weight, but I have hard time thinking how I should do it. So my question is, how would you guys go about creating one? I was thinking of using the physics in...
  18. M

    Windows How do I scale my textures and/or room in GMS2?

    Hello, I am fairly new to Game Maker and wanted to know how I can scale my room size and textures. I looked into doing it though code, but obviously I don't want to do that for every single object, it would also cause problems because 1. like I said, I would have to do this for everything, and...
  19. jwrose

    trying to scale and affect opacity on all instances on specific layers

    Hello! In order for a specific gameplay feature to work, I need to make all enemy instances on a specific layer, additional instances on another layer, and all tiles on a tile layer to essentially "zoom" toward the screen quickly and, at the same time, change opacity (image_alpha) so they do a...
  20. cidwel

    Individual DPI config - MacOS

    I'm using GMS2 in Mac (I'm a newcomer in mac) So... I have two monitors. A 27inch which GMS editor looks perfect and the 13inch from the laptop. This is what happens when i move the GMS2 window into the 13inch laptop screen I configured the DPI override into 150pts and now it looks good in...