• 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 controls

  1. P

    GM Beta Multiplayer - recording input with non-player objects using rollback

    I'm looking for an assist with the new Gamemaker Beta multiplayer rollback system as it is relatively new and there is not a ton of information out there yet. From my limited understanding, the rollback function applies exclusively to input on the player object. For example, moving the player...
  2. M

    GameMaker Question regarding moving left / right in editor

    Hey guys, I have taken a break from GM2 for about 6 months or so. Inside the editor the room cannot be moved left/right as you can move windows in a workspace. If I remember correctly by holding down middle mouse button you could move the scene around. Now that just moves up down. Help, this...
  3. thejosving

    SOLVED Make player follow mouse with hsp and vsp?

    So I want to make the player follow the mouse cursor. I already know how to make something similar using speed + direction, but I want to make it using separate hsp and vsp variables, so I can have more control in collisions and other stuff.
  4. F

    SOLVED Problem with mouse control

    Good Day I made a space shooter yesterday. You can control it with the help of the point_direction function. (The ship follows the mouse cursor). It works almost flawlessly. The problem is, when I move the mouse cursor all the way up to the last pixel of the screen, the ship starts to freeze...
  5. flyzo

    wanting to stop the player to go forth and back with mouse controll

    my player is going back and forth and I don't know how to stop it. here is my code mousedistance = point_distance(x,y,mouse_x,mouse_y) / 20 playerSpeed = mousedistance if point_distance(x,y,mouse_x,mouse_y) > 5 { move_towards_point(mouse_x,mouse_y,playerSpeed); } I tryed to change the...
  6. Shadowmancer

    GameMaker Mouse 8 directional point and click movement? [GML]

    Soooooo after a binge of founding out I absolutely ADORE arpg's (diablolike arpgs to be clear) I have a determination to make as close to one as possible in 2D, but im like really really noob, and only picked this up yesterday, with zero coding experience. Possibly a fools errand but im trying...
  7. UnderdogKeeper

    GameMaker GML, How to Change Sprite depending of a mouse placemant?

    Hello, guys and gals. I'm very new to the GameMaker, and even newer to this place. So I hope I'm posting this in a right thread, and I hope my problem will not irritate you or something like that. Before all of this I just want to repeat that I'm a rookie beginner, so all of this stuff is pretty...
  8. woodsmoke

    Windows Roger Recoil - shoot to move

    Low gravity environment. Downward shots kick you up into the air. Defend the base for as long as you can. Small prototype game. DOWNLOAD (3MB)
  9. Bluetail7

    Windows One Life - One Boss [Mouse Game]

    A game made in May 15, 2016 - Ventisca Games Play as the pilot of a spaceship going your way through the final boss. Avoid enemy bullets and reach the enemy, destroy the target and save the galaxy from the monster that wanders in the void. Download
  10. Adrien Dittrick

    HTML5 Branching corpses - The network

    What is this about? Part of the "branching corpses" series, "The network" is a strategy game with a simple premise: Between the moment where you choose an attack and the moment where the attack happens, all enemies will have the time to move away. Make sure to block every possible outcome where...
  11. W

    Legacy GM Mouse only Movement[solved]

    So I want to start a prototype for a top down dungeon crawler that can be played using just the mouse, but I can't get the player to move right at all. even just using x = mouse_x , it slides without me moving the mouse at all and I don't get why. Does anyone have any suggestions for how to do...
  12. woodsmoke

    Free Catacomb Chess

    The city of Chessfield is under attack by bloodthirsty creatures! They come from ancient catacombs under the church. King, Queen, bishops, knights, rooks, and pawns descend beneath the surface to end the evil monster menace from down below. CATACOMB CHESS
  13. S

    GameMaker [SOLVED] Bullet Object Only Destroyed Sometimes

    I created a character that uses a gun weapon, and whenever you right-click, it shoots a bullet projectile towards the position that you clicked in. I created it in a similar fashion to how I made the player move to a spot you click by left-clicking. The system almost works completely how I want...
  14. O

    Legacy GM **SOLVED** Mouse Wheel - Iterating too much

    --SOLVED-- The code was running on the objects themselves, causing it to iterate up once for each instance of the object! Moving the code to a controller object solved it ---------------------------------------------- I'm trying to enable the user to, when hovering the mouse over a given...
  15. woodsmoke

    Windows Digital Firewood

    Put wood on the fire to keep it going. Stare into the flames as the wood burns away. CPU heat keeps you warm. Includes various seasons and fireplace decoration. Download Digital Firewood
  16. 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...
  17. L

    3D Flight Simulator

    Greetings, all! I'm in my second semester here at wake tech learning simulation and game design. Unfortunately, it seems I may have taken a level 200 class to soon, or at least, the classes before hand haven't adequately prepared me for this one. (This is a known issue, and has recently been...
  18. P

    GML Visual When mouse pressed - move object to that point on screen ( D&D )

    Hi all! I'd like to control my character movement via mouse. So when I click somewhere on screen, the object should move towards that point. Also some pathfinding option maybe? So that it avoids walls or "forbidden spots" in his way and goes around them.. Can I do this without any code in...
  19. M

    Left-mb click activates second object but need to turn first object over to AI

    Hi, I have 5 unique characters each with different objects to cover running, standing still, jumping, etc. I mouse click on one character and I'm able to control it using buttons on screen. The problem is when I click on a character to manually control it, I also want the prior character...
  20. T

    Legacy GM Alternative Mouse Controls

    I'm working on a project that, rather than using the keyboard to move and the mouse to be a boss, it's flipped. Movement The player character needs to move towards the mouse at a certain speed depending on the distance of the mouse from the player, with a dead zone near the player, a sneak...
Top