viewports

  1. 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...
  2. U

    Graphics warped, even when viewport, camera, and room all share same size

    Normally cameras and stuff don't get the better of me so badly, but I've been banging my head against the wall with this one for over an hour now and just can't figure it out. I create this grid for the player by repeating the same sprite multiple times on a surface and saving it as its own...
  3. P

    Windows Creating a camera to the following specifications...

    Hello! The issue I bring you today is one that's been stumping me for weeks, so I thought I'd bring it to some individuals who perhaps know a bit more than I do. I'm trying to make a camera for my game that functions in an... unorthodox way. At its core, it's simple: it follows the player...
  4. L

    GMS 2 Help with camera and viewports for oldschool kind of game

    Hello, i need some serious help with getting the viewports to work as i need them to in this game i'm working on. I'm new to programming so please be very gentle. Here is the deal; I want to have this big room with smaller "rooms" in them, we can call them scenes. These scenes will be the same...
  5. S

    GMS 2 Changing Viewports while in the game

    So I'm working on a game with a lot of numbers in your face. Basic info is on viewport 0 and for player stats and other important info I wanted to be able to hit the S key and pull up the stats by switching to viewport 1, and then hit S again to switch back to viewport 0. Anyone know what to do?
  6. S

    How to Open a Bigger sized Window or viewport from one room to the next

    How do I open a bigger sized window (viewport) from one room to the next? For instance, if the first room's (the main menu's) viewport is 1500 by 1500, and you clicked "Start Game" (which takes you to another room) the next room is still 1500 by 1500, even though I set its viewport to 1500 by...
  7. M

    HTML5 HTML viewport problem

    Hey guys, having a problem with HTML5 for Gamemaker Studio 2, I recently got HTML5 export (used to have just desktop) and I have started moving all my old games from download to HTML5. As I started on my first game (made in Original Gamemaker Studio) it came up with a graphical problem with the...
  8. G

    GMS 2 Issues With Split-Screen and Changing Viewports

    Hello! I'm having an issue trying to get split-screen to work for my project. As it stands, the following information denotes some of the numbers put into place for Viewport 0: Camera Properties XPos = 0 YPos = 0 Width = 512 Height = 384 Viewport Properties XPos = 0 YPos = 0 Width = 1024...
  9. R

    Room Settings, from GUI to GML

    New to GMS2 So I can create rooms using the GUI, and sub-sequentially edit those rooms' properties using the left hand "Properties" pane. Up until now, I've been creating rooms via point and click like this Room Settings > Width > (Various arbitrary room widths, say 3000) Room Settings >...
  10. L

    GMS 2 [SOLVED] Issue with Black Screen when Using Viewports

    Hey guys, I'm new to the GMS 2 software and this is the second game I'm prototyping. I've made a room that's 1030x10000, and when I set a viewport with the following settings: running the game causes a black screen to show up. I don't know why it'd be black, as the background I set is gray. To...
  11. J

    GMS 2 Pausing with Viewports

    When I pause my game, I want certain sprites to display in the middle of the screen. Since I'm using viewports, it needs to be in the middle of the viewport, which i though would be accomplished by use of something like this...
  12. Hax4Ever

    GMS 2 View is zoomed in?

    Not sure if I'm dealing with an issue with code or a bug with the engine itself, as I didn't even mess with the viewports for this new room. Other rooms share the same viewport / camera settings, and all appear properly, but the rooms I've made for "Level 5" >, are all zoomed in with this...
  13. J

    Camera Control Questions

    Hello, I'm surprised there are not more tutorials on panning the camera to create in-engine cutscenes and such. Hopefully the gurus here will have some answers. I am making a platformer game where the camera follows my player object with a viewport sized at 640x480. I have made the room six...
Top