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

move

  1. D

    Legacy GM [Solved] draw_getpixel problem

    Hello, I have a problem with function draw_getpixel. var R,G,B; var i = C_Sound; draw_set_color(c_white); draw_sprite_general(spr_exodus_colour,0,0,0,200,200,view_xview+view_wview-220,view_yview+20,1,1,0,c_white,C_Sound_bar[0],C_Sound_bar[0],c_white,1)...
  2. B

    GML [Resolved] Move object from one point to another

    Hello! I'm starting the development of a game for android where the obejto will walk vertically automatically and when clicking on the screen the object goes from one side to the other of the screen, when clicking the object reverses the trajectory, so on, the game has a bar on each side of the...
  3. P

    moving a virtual_key on tap

    Hey all, I need to move a virtual_key's x & y on to the position of a screen tap. I can't seem to get hold of the virtual_key as it doesn't seem to be a conventional object. is this assumption correct? can a virtual_key have it's x /y set after creation or should i destroy then recreate a new...
  4. A

    GML Does move_bounce_solid() negate other collisions?

    I have a ball that bounces off an object using the "move_bounce_solid(true)" function. When I'm using place_meeting and collisions events to change variables when the ball does bounce.. off that specific solid surface, these variables i need registering aren't changing. is there a conflict...
  5. K

    GML Object shaking when following other Object?[SOLVED]

    I have a little problem:I'm making a Remixed Pong game and in the Title Screen appears a game demo, with the camera following and the bats following the ball, the problem is when the bats follow the ball, they "shakes", and never stop this, I tried to put if...
  6. C

    GameMaker Help with objects direction staying consistent

    Hey So I am trying to make my player object shoot out a laser. I want it to shoot for as long as you hold the right mouse button, and stop when you stop, so I use a bunch of different objects to act as one laser. The laser has a sort of chargeup phase, and after the chargeup phase, the animation...
  7. TheOnlyWRT

    Getting the direction of a moving object

    Hey guys, so i am using the following function to move an object: mp_potential_step_object(objectPlayer.x, objectPlayer.y-100, hsp, objectFloor); and I want to get the direction to change the sprite image depending on which way the object is moving. How can i do that?
  8. T

    Question - IDE [HELP] How to Remove Motion Blur/ Jitteriness?

    I am fairly new to game maker 2 and just started a platforming project. Currently I'm moving the player by adding "spd" (which is an integer) to the player's x position. The pixels aren't distorted or anything, but anything that is moving relative to the camera blurs. If the camera is stuck in...
  9. S

    GML Visual Camera Scrolling - Tutorial

    GM Version: Game Maker Studio 2 Target Platform: All Download: N/A Links: N/A Summary: A brief intro to camera movement for scrolling. Tutorial: This video covers the basics of scrolling and setting up your screen size.
  10. S

    GML Visual 8 Direction movement and importing sprites - Drag and drop basic tutorial

    GM Version: GM Studio 2 Target Platform: ALL Download: N/A Links: N/A Summary: Simple drag and drop method for animating an 8 direction character in GM2. Tutorial: Hey there guys, this video is for absolute beginners and if you are new to drag and drop. this video has not coding. This is a...
  11. S

    Drag and Drop - Basic Movement/ collision / walking animation/ - tutorial part 1, 2, 3, 4 - GMS2

    GM Version: GM:Studio Target Platform: Desktop (should work with Mobile and HTML5) Download: none -- see videos below Summary: A video tutorial series showing movement with Drag and drop coding. o_O Hey there guys, here is part one of this DnD drag and drop basic movement tutorial. This...
  12. R

    GML [SOLVED]Gradual grid movement

    Hi everyone. I'm trying to make some movement/animation, but I'm having some trouble. Let's say I have a 32x32 grid. What I'd like to achieve is to move the player object tile by tile (32 pixels each). I managed to do that by setting the player's speed to 32, but it moves instantly to the next...
  13. Y

    Movement bug?!

    Hello I've got some movement code that has always worked and then suddenly I could not move right anymore. I can move all the other directions so what may be the problem? Should I just try and reinstall game maker? (btw am on GM1.4) ///Gets input key_right = keyboard_check(ord("D")) key_left =...
  14. J

    Screen Wrapping for top down

    This is a topic I can not find a single clue on. It's a top down shooter based on moon like planet Let me start off by describing exactly what I'm looking for. Lets say you start at the north pole i'd like to be able to move all around the planet. Enemies chasing player even as "wrapping"...
  15. Z

    Question - IDE Resource Tree is Extremely Difficult to Sort Now with Groups and Nested Groups

    Hello, Prior to GMS2 Version 2.0.6.136, moving/sorting Files and Groups within the Resource Tree was intuitive and worked quite well. Now, the UI "line/bar" element, which showed us if an item was going to be dropped above, below, or into another Group, appears to have been removed completely...
  16. R

    Legacy GM Planning path without grid

    Hello! I want my ai object to move the left or right side of my player, avoiding every obstacles. I can't use mp_grid, because my objects are rotating. How can I make an AI that avoid all obstacles and move to the desired point? Thanks for any idea!
  17. I

    I want to make a new state and switch to it

    I created a new state called scr_crouch_state and want to make my character switch to it from scr_move_state by pressing a button. I already made a whole bunch of code about it but accidentally deleted it. I don't really regret it because it was actually flawed. For example,when I pressed the...
  18. S

    Locking movment on one axis

    I have a block that the player can push around but is also gravity affected. However, I want the cube to be not moveable while it's falling. I tried things like: if vspd > 0{hspd = 0} But this code doesn't work properly and leaves a small gap. Is there any way to lock an object at an axis when...
  19. N

    Windows Using my Windows 10 2 in 1 tablet accelerometer...

    Hello!!! I installed Game Maker Studio 1.4 in my 2 in 1 tablet pc. Alright!!!. But I cannot make an objet moving using titl. My small pc has built-in an accelerometer. It make the screen to rotate. I make a simple prodject creating a small square sprite, an object with this sprite, obviously a...
  20. E

    Question - IDE [SOLVED] Is it possible to move tiles already placed on the room?

    So, yeah, just like the title says. In GMS1.4 you can select any tile placed on the room and place it again without any problem. Now, as far as I've seen, this isn't possible on GMS2, since there's no tool for that on the room editor. Probably there's a reason for that, but why? There's a lot...
Top