• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!


  1. RizbIT

    Using gallery picker and camera photo extension on android 10

    im using one of the camera/gallery android extension from the marketplace in my project it works fine on older android phones on android 10 phone it does not work. Im targetting api 29 now i found way to make it work, issue is with access to storage on android 10 in gms android options >...
  2. 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...
  3. FoxyOfJungle

    SOLVED [DISCUSSION] I need opinions (and help) regarding building an interface (views, surfaces, cameras, Draw GUI...)

    Hello ! Look at this interface image: This is an interface. I want to use the DRAW GUI event to draw ALL the interface of the program I'm doing (everything inside it...), however, I need to draw the camera view in this middle area (where is the rabbit). The questions: 1 - How would I do...
  4. André Luiz

    GMS 2 help!

    I want to make the character's life bar follow the camera, but I can't do that, so i need your help to send me some toturial or write some code that helps me. here's my camera code: { #region Movimentação da câmera halfViewwidth = camera_get_view_width(view_camera[0]) / 2; halfviewHeight =...
  5. André Luiz

    SOLVED Help with camera!

    Hi, I'm Brazilian so I apologize for any English mistakes, okay let's start, I was playing with the game maker studio 2 and there came a time when I had to make a camera for my character, but I couldn't, I saw several codes and videos and I got this flawed result: #region Camera halfViewwidth...
  6. Claspo Jones

    GMS 2.3+ 2.3 Sprites Not Drawing

    Whenever I run my game none of the sprites or text draws, at first I thought the camera wasn't in the current room, so I used camera_get_view() and show_debug_message() to check, and it told me the camera was in the middle of the room. I tried adding draw_self() to my player object, but still no...
  7. K

    SOLVED Rooms within Rooms and Camera View Constraints

    Hello, Basically I'm trying to accomplish something like how Metroid or Super Metroid handles its "camera" and room transitions. What I want to do is draw various rooms using tiles within one GM Room asset, and the reason I want to do this is that more objects than just the player will be...
  8. Telorr

    SOLVED Creating object that zoom automatically when created

    Hi everyone! I'm a newbie here, so I need your help I want to make object that when I created it (call it oZoomIn and oZoomOut), it will zoom in automatically (oZoomIn) and zoom out automatically (oZoomOut). I don't have any idea to do it, because I don't understand about camera zooming yet. My...
  9. KingRegicon

    Simple Viewport Setup- Can I Toggle Tall and Wide?

    Hello, everyone! I have been practicing GML for a few weeks now, and I'm really loving the problem-solving aspect of programming. The manual, online tutorials and GML forum posts have helped me through every problem I've faced so far, but now I must write my own post in desperation. The Setup...
  10. L

    camera problems (PLEAS HELP)

    when I move the camera, either way, it is stuttering, it's been hours trying to fix it
  11. L

    GMS 2.3+ Camera stuttering

    my camera is stuttering when I move it no matter what i do. can someone help me? {game maker studio 2}
  12. B

    GMS 2 Object flicker/stuttering when scrolling (low resolution)

    So I've recently started work on a 2D platformer which I originally planned to be made up of short level, single screen levels. It's really low-res: the viewport and camera are 300 x 169, and the player sprite is is 9 x 9. I figured this wouldn't matter too much with it being single screen...
  13. F

    3D Help/Advice calculating the 'Up' vector of a 3D projection

    Hi Everyone! Apologies for asking what may well be a super obvious question, but I was wondering how to accurately calculate the xup, yup, and zup values for the d3d_set_projection_ext() function. All of the tutorials I have watched and read have set xup, yup, and zup to (0,0,1) or (0,0,-1)...
  14. gibsonfan2332

    GMS 2 Camera Follow Player, Sprites are Shaking/Vibrating. Rounding x and y only causes direction/motion problems.

    I am trying to make a simple boat object with a camera that is following the player from the top/behind. Basically when you turn your boat, it stays right in the middle of the screen, and the world is what appears to be moving because the camera is following the player as well as rotating along...
  15. JeanSwamp

    Vertical Scrolling Parallax Issue

    Hello, I've been tweaking my camera every now and then because after adding new features to it, I might run into new problems. Currently I am having issues with the vertical parallax scrolling my layers. This is for a 2D Sidescroller. This is how I am scrolling the layer_y var _ypos =...
  16. KyleRansford

    GMS 2 [SOLVED] Game Not Scaling Correctly When in Fullscreen

    I have a game where it's camera size is 640x360 and the viewport is 1280x720 and when the game is run in Windowed Mode, it displays fine (no pixel distortion). But, when I set it to full screen, (using a 1080p monitor) the pixels get stretched (even though it shows black bars and I have it set...
  17. J

    (Solved)Rotate Player movement with camera view rotation

    So atm i can rotate the camera and the player matches the camera angle, im trying to add/subtract the angle of the camera view to the movement code of the player. if i rotate the camera 180* and move the player up, it will actually be moving down, because its not taking into account the...
  18. LanderMiskolczi

    GMS 2 Camera_get_view_x / y only returning 0

    So i've been trying to get my buttons to follow the camera, and to do this, I need to get the camera x and y, but using the object it makes it lag behind. But when I use this function it only ever returns me a 0. Here's a gif to show you what I mean. If you look to the left, that is printing...
  19. S

    How to curve the camera?

    Hi guys I want to curve the camera but I don't know how to do it. Can you help me? What I mean by curving camera is : in the image the "HOT" text is curved like its in a old tv screen. That's the effect I want to make.
  20. M

    SOLVED Changing Viewport width and height does nothing

    So I'm trying to make my game fullscreen dynamically, Changing the width and height of the camera works but changing any information of the viewport doesn't do anything at all. //changing viewport information, not working view_enabled = true; view_visible[0] = true; view_wport[0] =...