camera

  1. N

    GMS 2.3+ Making a camera show the contents of another room?

    currently im making an interactable menu with simple objects and such, im not drawing a menu, im simply making another camera visible in another place and make it act as a "ingame menu". So my question is how can i make the camera be in the room the player is in, but show the contents of a...
  2. john2342152

    what would be the right way to create a "room"

    I wanted to make a 2D platform game, but I still don't know the proportions, the screen and room size and the camera, how do I do these things professionally so as not to interfere in the future?
  3. N

    SOLVED Trying to "Stop" a Camera From Going to Certain Parts of a Room

    Hi all, I'm currently working on a 2D game with a smooth moving camera that follows the player. The camera itself works fine and using clamp() I've managed to keep it only moving within the confines of the room it's placed in. I want to be able to control where the camera goes more precisely...
  4. D

    SOLVED Camera center code is making sprite displace when it moves

    Hello, i've been noticing that my sprite gets displaced to whenever direction i add speed and it gets worse the higher the speed. Then i've made a test removing my center camera code and it seems that for some reason the problem happens when the camera is centered on my player. This is my code...
  5. T

    SOLVED Sprites/Textures Seem to Shiver Depending on Camera Position [Help needed]

    So I seem to be having some problems with sprite/texture rendering when I zoom the camera, or sometimes when the camera simply moves. I took this video so you can see what I mean. I have ticked the tile horizontally/vertically on the sprites but it hasn't really seemed to help. Any advice on how...
  6. xDGameStudios

    Asset - Scripts [CAMERA] xCamera is a task based camera asset

    [LINKS] xCamera (marketplace) xCamera (itch.io) [DEMO GIF] [INFORMATION] This is a task based & modular 2D Camera controlling asset pack for GMS2.3+. [SETUP] In order to use the camera system first you need to setup the view/camera as normal in the IDE using the room settings (or through...
  7. blexc

    GMS 2.3+ Accessing Path Based-off Path Layer's Name

    Hi, I have a path layer called "CameraPath". For each level of my game, there is a unique path that the camera will take to introduce the level. Here's a screenshot demonstrating this: Given that the paths are different for each level but the path layer's name is the same, it would be really...
  8. M

    Camera jitter and shake when player moves diagonally.

    Hello, I have camera following the player and when player moves diagonally everything in games starts to jitter and shake. --Player code :-- keyLeft = keyboard_check(ord("A")); keyRight = keyboard_check(ord("D")); keyUp = keyboard_check(ord("W")); keyDown= keyboard_check(ord("S")); hspd =...
  9. L

    Legacy GM [SOLVED]Help with camera views GMS 1.4

    Using GameMakerStudio 1.4 Hey! Currently making a 2D side scroller and I'm having a little bit of trouble with the camera. I'm using a custom camera that I followed from a tutorial. It's supposed to make it smooth and things like that. Here's the tutorial if anyone wants it. Anyways here's my...
  10. 3

    SOLVED how to get view xport and y when using camera_create

    I followed the camera tutorial by Shaun Spalding oCamera create event camera = camera_create(); var vm = matrix_build_lookat(x,y,-100,x,y,0,0,1,0); var pm = matrix_build_projection_ortho(1366,768,2,-1000); camera_set_view_mat(camera, vm); camera_set_proj_mat(camera, pm); view_camera[0] =...
  11. S

    Navigating fixed gui menu while also moving camera around

    I'm trying to build a real time strategy game that involves the user clicking on a lot of menus while moving the camera around a map. It's all 2D, so the camera doesn't tilt, but it does zoom in and out to see the world better. I'm drawing a lot of menus with the Draw GUI event, which works...
  12. S

    sprite scaling with camera zoom

    I'm trying to build a civ6-esque real time strategy game, and it should always have a mouse interactable menu on the screen. I have a menu sprite attached to an object that follows the camera around when the player moves it, but for some reason I can't get it to scale with the viewport when the...
  13. Z

    Legacy GM need help with dynamic camera boundaries

    Hey, I'm trying to make a Camera which boundaries are dynamically changed, based on the current position of the Camera Object. I can't get it to work how it used to be and I found nothing in the internet or in this forum for my special problem. I try to achieve that only certain parts of a...
  14. Gonix

    SOLVED "Ghost" Pixels Above the Camera

    I'm making a platform game with camera travels. I have a problem with vertical camera travels, "ghost" pixels from the screen stay above the screen. They disapear when the camera stops moving verticaly.This not happend when the camera is moving from up to down. I did not find any topics about...
  15. I

    GMS 2 how to follow the camera?

    I want to look for a way to track the view, I thought with camera_get_view_x(view_camera[0]) I did, but in that method, there is an inperfection: so I was wondering: will there be a way to track the view perfectly?
  16. I

    How can I make this camera effect in Game Maker?

    I don't even know if it's possible, but any help will do. youtube link to show the effect:
  17. zendraw

    GMS 2 [SOLVED] custom camera

    im not sure if im doing somthing wrong, but camera/view functions dont seem to work. i have this code that runs in the first room, then we go to 2nd room in the project with 0 effect. /// @desc scrstart(); camera_destroy(view_camera[0]); show_debug_message(111111111111111111); if...
  18. zendraw

    GMS 2 Camera doesnt move

    this is supposed to move the camera, but it doesnt move it for whatever reason. var vm=matrix_build_lookat(x, y, -10, x, y, 0, 0, 1, 0); camera_set_view_mat(global.camera, vm);
  19. Plubu

    SOLVED Smooth Parallax Background

    Hello everyone, I've seen videos of how to code a Parallax Backgrounds, it worked for me but it's not smooth, when the player stops or just starts moving, the background ike cuts off or something, it's not smooth. This is my Camera object: //Create //Display Settings IdealWidth = 1920...
  20. E

    Camera view size using projection matrix

    What I'm doing: I'm trying to allow a top-down camera to zoom in or out. I've created a custom struct that lets me set camera "modes" that will make it behave certain ways when performing different character actions, but this shouldn't matter. I know that the camera view matrix determines where...
Top