scale

  1. O

    GML Please help me with this window resizing problem

    Dear Game Maker Community, I have this problem where after expanding the game window my view just halfs and i can't find a bug in my code. So I tought one of you coluld maybe help. This my code: window_set_size(global.newViewportWidth * global.scale,global.newViewportHeight * global.scale)...
  2. D1Project

    GML Scale Particle System Instance

    Hi everyone! In the latest patch 2023.8.2, we can change the scale of a Particle System Instance from the room editor. Is it possible to do it at runtime using code? Thanks! Mana
  3. Dilawlaw

    SOLVED High resolution sprites on upscaled low res room

    Hi everyone, I am not sure this is the right forum to ask this question so please guide me if I am mistaken so I am making a super low res game, with 8x8 sprites, my view in the room is 256x192 ported into a full HD 1920x1080 screen, till now I had no problems, but lately, I have been trying...
  4. Staral

    GML Pixel scales are too big/small (can't get a medium)

    Hi, I've got a camera system for my game, it works fine I just cant find a good size. I have a surface scale of 3 and a camera scale of 1. When it's at 1 I feel like the camera is way zoomed out. (My character is 32*32 pixels btw) and when it's 2 I feel like it's way too close. If I were to set...
  5. kopoflakes

    GML Mouse position doesn't work GMS2

    Hello! I was trying to make an object appear in the position of the mouse when clicked. After few tests I found out that the position of the mouse in the screen wasn't the same as in the game regarding both position and scale. The red line was approximately my mouse movement on the screen and...
  6. wilmer

    GameMaker Make the view scale and follow my character

    Greetings to all I need help, how can I make the view scale when my character moves to the left and the view shrink when he moves to the right and without the view going out of bounds? here a representation
  7. 2

    Legacy GM Objects Doing View Based Parallax Correctly by Scale, and Overlapping at Screen Center

    I want to have objects parallax correctly based on their scale and the camera view position, and have their position adjusted in the create event so objects that had the same xy coordinates will have a position offset that when added with parallax will allow them to all overlap in the center of...
  8. sv3nxd

    HTML5 Is this a game-maker bug? Scaled fonts don't work on HTML5

    Description: As you can see in the image above, the text-size and separation are different between desktop and web. Why is that? I am drawing in the draw-event using a font with a size of 100 and downscaling it so it still looks good on a low view size. (This was a suggestion I read here...
  9. Sargonnas

    [SOLVED] background_scale not functioning

    Am I overlooking something simple? I'm trying to have a background layer stay the same scale, despite the scale of the cameras height / width. Instead, my backgrounds are scaling along with the camera instead of acknowledging my layer_background_ commands. The goal is to have the foreground...
  10. David Lorenz

    SOLVED Draw Nine Slice Sprite on Scaled up GUI

    Hello, everyone! I'll go straight to the point: I want to draw a textbox sprite that uses nine slice on the GUI layer, but it appears tiny because my GUI is scaled up. Got any suggestion? Thank you!
  11. mbeytekin

    2k 4k monitor scaling problem

    I am facing a problem that I cannot solve. My application contains a text based interface. When I tried it on several different computers, on some of them it detects the Scale in the Windows Display settings and enlarges the application interface. But on some computers it doesn't. As far as I...
  12. Chris G.

    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...
  13. anima

    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
  14. 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...
  15. Lady Glitch

    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...
  16. Lucas C

    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...
  17. 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 https://www.yoyogames.com/blog/67/the-basics-of-scaling-html5, tutorial to fit the canvas to the browser window size and it works well. But unfortunally it doesn't scale the game...
  18. 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...
  19. M

    GameMaker 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...
  20. Z

    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...
Top