• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

mouse

  1. A

    GameMaker Checking Multiple input Types

    Hi, I am currently working on a project that includes allowing the player to remap their keys. They will be allowed to remap their keys to either mouse, or keyboard buttons. However I am having trouble finding a way to check if the input is either a keyboard or a mouse input. Currently I am...
  2. Luke Pierson

    Flick Gesture

    Hey GMC! Making a mobile game. Need help with flick gestures. So I the flick gesture to be used to change menus in my game. Think snapchat and how you swipe left and right. So I have the code for movement and it seems to work nicely. I have one issue though. So here's how I have it set up...
  3. A

    UWP Mouse Cursor Displaying in build

    I am trying to build my game for UWP but the original mouse cursor displays when I run the game. I've unchecked the checkbox to display mouse and have used window_set_cursor(cr_none). It works on all other builds (MAC, PC, Linux) but UWP shows the original cursor. Also, the cursor shows up in...
  4. Luke Pierson

    Mouse Swipe Controls

    Hey, so I'm designing a mobile app, and since I can't test gestures on my pc, I want to code it to mouse controls. Got a single room with a view that covers a third of the room. Thus, the room is segmented into three parts. They are the home, shop and social pages. The home page is center, shop...
  5. TheOnlyWRT

    Mouse Swiping

    Hey guys, So I would like to implement a swipe to throw technique with my mouse (think of angry birds and how you pull back and a dotted line shows). I found one tutorial that talked about swiping, but it was kinda confusing for me. Does anyone have any idea of how i can implement this? Thanks!
  6. Michael Bateman

    Windows The LowRez Dead!! - LowRezJam 2017 Entry

    Download on Itch.io Here! The LowRez Dead is a top - down mouse controlled game, where left button moves you and right button shoots. You are Jack Times, and the zombie apocalypse has happened. Your food supplies are empty and you need to restock - by finding 10 portions of food! The game is...
  7. A

    iOS Mouse Position Lag in IOS

    There seems to be an issue with Game Maker 1.4 getting the Mouse_x, Mouse_y or any mouse functions (mouse_check_button) anywhere near the left side of the screen (x position less than 50 pixels on the standard resolution of 750x1334 on an iPhone7 IOS device in portrait orientation). What I...
  8. S

    window_mouse_set and display_mouse_set do not work

    On the latest (perhaps last) GMS 1.4, neither the window_mouse_set nor display_mouse_set actually move the mouse for me. After firing off the code via a click event, the mouse always stays in place on both Windows and Android. Is this a longstanding bug, or am I doing something wrong? I am...
  9. X

    GML [Solved] Global Mouse Left overrides Mouse Left?

    I've heard from a previous thread that Global Mouse Left would be the way to go to make it so that, say, a text box I've created gets deselected. However, the moment I do this, even when I click on the text box itself, it stops from being . It seems as if Global Mouse Left overrides Mouse Left...
  10. Pfap

    UWP Xbox mouse shutoff

    I have my game running on xbox, but even with the "display mouse" option unchecked in the uwp options in gamemaker studio 2 the mouse is still visible. I think it may be a gamemaker bug or possibly something with visual studio. Has anybody dealt with this before?
  11. N

    Sprite following the mouse

    Hey guys, I need your help. I'm trying to make a 2d shooter and it's NEITHER a topdown shooter NOR a platformer. It's a rpg game. I want that my character follows my mouse when I'm aiming but I don't know how to do it. I do know how to make my character follow my mouse in a topdown shooter or...
  12. I

    How to create a drag and drop object?

    I feel stupid for not realizing how to do this after all these years of using Game Maker and understanding more complex stuff. . .I need to create an object that can be dragged and dropped in the room by the mouse. The only way I can do that is by having the object jump to mouse position after...
  13. N

    How to reduce mouse speed?

    Hi I'm trying to use the mouse as the controller for my character but I want to set it to a certain speed. If anybody know please help me out. Thanks.
  14. G

    Game Mechanics Suitable Speed &Friction

    Hello guys :) I'm working on a game in which player's movement is a bit wierd and can't figure out how to set a suitable Speed & Friction. 1) I want my player to move towards the mouse & stop when he reaches the mouse's x & y position. 2) Also, I'd like to set a diferect Friction every time he...
  15. Y

    changing viewport with mouse movement

    so I just found out how to use an event (in this case left global mouse button pressed) to change the viewport but I want to be able to click on the screen and then move the viewport along with my mouse is only has to be on the y-axis. is this possible and how would I go at it?
  16. E

    GML Create object at differing positions upon Mouse Click? (SOLVED)

    Hi, So basically what I'm trying to do is everytime the player pushes a button in game (by hovering the mouse over a button sprite and left clicking the mouse) a square appears at a certain position. But I want every successive mouse click to create another object beside the previous one. For...
  17. T

    HTML5 Problem with mouse detection in browser

    I have been having problems when I scale my gamemaker 2 html5 game to fit the height of the browser. Once it scales up it no longer detects the mouse position. Without it being scaled to height I am able to click on my enemies, but when it is scaled to browser height I am unable to. I figure it...
  18. P

    Move towards mouse collisions

    Hi, I have problem with game maker 1.4, I have simple move_towards_point(mouse_x,mouse_y) and I don't know, how to make pixel perfect collisions with walls like while loop collisions but here it doeas not work, so I'll be glad if you will help me, THANKS
  19. T

    Need help with Triple Shot [SOLVED]

    Hi, I'm programming a top down shooter right now where the bullets fire towards the direction of the mouse. I'm programming a Triple Shot upgrade right now, so it fires one bullet straight towards the mouse, and two more 45 degrees above and below the middle shot (or 45 degrees right and left if...
  20. N

    [SOLVED] How to block your mouse in the screen?

    Hi guys! I'm searching for days on how to block my mouse in my game window because i play on multiple screen, i found this function: window_mouse_set(clamp(window_mouse_get_x(), 0, window_get_width()), clamp(window_mouse_get_y(), 0, window_get_height())); it works fine but if i move my mouse...
Top