• 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. J

    Android android mouse problem[SOLVED]

    Hey, i have a problem with the mouse click events with android..... I have 1 object and it uses left mouse click event and the right one..... Everything works fine on pc but when i'm trying it on my phone its just doing nothing/bugging..... Normally it should set a variable to 1 if i left...
  2. A

    issue for removing item from mouse

    Hi everyone, i'm a newbie in gml and following this guide on youtube i've created a inventory interactive (like the guide). Now all ok ,but when i pick-up the object in the inventory and put in some object, i solve for the disappar in the inventory but not in the mouse drag drop. I tried with...
  3. A

    Windows Keyboard and mouse click event

    Hello, Is there a way to create a keyboard and a mouse click event to execute an action? e.g CTRL + "Left Click On Mouse" takes user to a room
  4. J

    [solved] Help with object following mouse and collision

    Hey everyone! I'm a bit new here, hope this is the right spot for this (if not let me know and I'll fix it). In this 2D side scroller type of game, you have a crystal that's attached to your mouse. So here's what I'm trying to make: I want the crystal to follow the mouse, but when the mouse...
  5. A

    how to change mouse over icon hint delay ?

    hello ! i'm new to GMS, when i hover an icon the hint takes ~10 seconds to show.. how can i configure it to show hint after 1 second ?
  6. S

    [SOLVED] Need help with point and click movement

    I'm having a bit of trouble with a click movement system i'm using for an rpg-ish like point and click adventure game. It uses 4 directional movement with the player and I have a method that I want to work but it isn't for some reason. My question is: is there a way to only create an object on...
  7. D

    Legacy GM [SOLVED] Changing Sprite Index Based on Mouse Direction

    Trying to figure out how to change the sprite index based on the mouse being between the degrees of 0-90 91-179 180-269 270-359 Any Ideas on how? So far all I can find is how to rotate the sprite, not change between sprites.
  8. B

    Windows Forced mouse movement problem

    Sorry if this is confusing Ok, so I'm making a twin stick shooter prototype that locks the mouse into a circle in the center of the window and it works well when it's a single screen, but I wanted to have a larger room to move around in with the "boundary" staying in the center of the view...
  9. A

    Mac OSX Mac Can't Hide Cursor

    I am unable to hide the cursor in my Mac build. I have unchecked display cursor in the Global Settings. I've also tried window_set_cursor(cr_none) Is anyone else having this problem? Can anyone else confirm it? Does anyone have a solution?
  10. G

    GML Visual How to prevent click events from passing to object beneath?

    I have two objects and one overlaps the other. Both have left_mouse handling events. When I click the top object, I was surprised to find the left_mouse event was being triggered by the bottom object as well. How can I design it so only the top object event gets triggered? Assuming there is an...
  11. Erayd

    Android device_mouse_x and position_meeting problem

    In my game, the goal is to create a little box which holds the sprite of the currently equipped weapon. This is on android, so when you "click" on the box with your finger, it selects that weapon so you can drag it around the screen. If you release your finger anywhere other than the box you...
  12. Z

    Button not drawing correctly

    Hi! In my game (in GM 6.1) I have a clickable button which should look as if it's pressed down while you're clicking it. The button itseld is an object and it has two subimages and a variable frame that tells which subimage should be drawn. In the mouse press left event I do this: frame = 1; and...
  13. X

    Android Problem object following mouse when try to press on screen GUI Button

    hi guys. i made this game for android but i have a problem with the player control Step Event: execute code: move_towards_point(mouse_x,mouse_y-50,8); if point_distance(x,y,mouse_x,mouse_y-50)<speed { direction = 0; speed = 0; } The code is for the player which is constantly following the...
  14. Binsk

    Asset - Extension [FREE] 3D Mouse Detection

    Hello everyone! A while back I wrote a nice system that makes using the mouse in 3D space much easier based off of an old script by Yourself. This system takes the script a bit further by providing an interface to handle multiple pointers and projections as well as calculating triangle and / or...
  15. Z

    Legacy GM Limit camera to in room, but don't just stop it.

    So I am having my camera in between the center of the room and the mouse, but it can go way far out of the room, I have some code that stops it before it goes out of the room but it makes it stop instantly and it looks bad. How would I make it smoothly stop outside of the room? Like have it move...
  16. N

    Windows Make mouse using object

    I'm making a co-op game and each player will have a mouse object to help them press other objects and upgrade their stats on an upgrade screen. Can someone show me the best way to do movements for the mouse objects and best way to do a mouse click for the mouse objects like a real mouse would...
  17. H

    Windows SongScape

    Movement - Mouse Space (hold) - Slow motion If you release the Space or the slow motion bar at the top gets empty, you can't use slow motion as long as it won't grow back to 100%. Notes: Green note - +1 life White note - -1 life Red note - -3 life Aqua nute - ??? The only test map available...
  18. D

    Android How to simulate mouse click?

    Hello everyone! How to make a simulation of mouse click? Can be possible it? I have been read about JS extensions, but i'm very bad on it (don't know nothing in JavaScripts). Google gave me old DLL. Thx for spending your time :)
  19. T

    3D 3D Mouse Checking?

    Heya! Damn I wish there was a 3D section in the Game Maker Forums... Anyway. I've recently starting coding Game Maker in 3D, however, I've never been able to figure out a way of checking when the mouse is hovered over or clicking an object/model. The project I'm currently working on has a First...
  20. D

    Legacy GM Mouse Clamp for multiple Screens

    Some users have reported the following issue: The game, even when running at fullscreen, lets the mouse to freely move outside the game window, therefore the cursor can easily get outside the game window and thrown the game to the background. I've checked a several amounts of GMS games, all...
Top