mouse position

  1. D

    SOLVED Camera follow makes mouse position shaky

    Hello everyone! First, here's the video showing the problem: (sry for the bad video quality, but it is enough šŸ˜‚) As said in the title, the problem lies within the camera. Basically when my camera is following the player, the mouse position gets shaky (the white square at cursor in the video...
  2. Corey

    GameMaker (Fixed)Click + Drag mechanic help

    Hello. I am having an issue trying to set up a "click + drag" type mechanic for an object. Currently, the object is a placeholder and follows the mouse_x and mouse_y position, and it is set to move_snap on a 32 x 32 grid in a step event (the sprite is 32 x 32 pixels as well, and the origin is...
  3. A

    GameMaker Need DS_Grid Help

    I am new to programming with GMS in its entirety, and I need a bit of help. I have a Ds_Grid set up fully with visuals for my inventory system, but the issue is that I have no idea how to grab the array values from the ds_grid relative to the mouse position on the inventory GUI. The inventory...
  4. A

    Change object depth based on mouse position

    Im making a game project (still learning) and im trying to make an obj "sword" change depth when the mouse is in north of the screen. i did it as a similar thing when i made the obj "player" change xscale on mouse position //xscale on cursor// var...
  5. C

    Rotating object based on Mouse Position

    I'm currently trying to figure out how to change the sprite of an object based on mouse position. For Example: I want a left facing sprite when the mouse cursor is to the left of the object, a right facing sprite when it is to the right, as well as up and down facing sprites...
Top