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

motion_set

  1. S

    Trying to work with motion vectors

    So what is my problem? I want my spaceship (or sth like that) from the start of the game move in one direction with a certain speed. I used motion_set() and it works fine for me. But also i have 2 buttons to rotate spaceship (i used image_angle += *angle*). And the next step is that when player...
  2. S

    4 directional movement question and how to make his collisions

    I'm making an old RPG style (like the first Final fantasy) is "motion_set" the best way to make a 4 directional move? i dont want to make a eight directional movement, just up, right, left, down with not diagonal direction. and the collisions are well scripted? the character's movement is...
  3. inertias

    Windows Motion_set with acceleration/deceleration

    Hey everyone, I'm currently using motion_set for movement. You basically play as a ship that can move in any direction via motion_set(image_angle, spd). The variable "spd" is simply a value, really basic stuff. This works fine, but I can't get any form of acceleration/deceleration to work with...
  4. O

    Legacy GM Distance between two objects

    i have object0 and object1. An object0 can be moved by player control. I want every few seconds an object1 moves only in the direction of an object0 and does not follow it. This is the line of code: var bullet bullet = motion_set(point_direction(x,y,object0.x,object0.y),6); It works fine but I...
  5. O

    Legacy GM How do I change direction by angle

    I do an object that according to this line of code, I want to move in different directions every few seconds: motion_set(choose(45, 135, 100, 225, 315), 5) In addition I want it to change the angle of the object according to the conveying direction. How can i do it?
  6. Y

    Collision for motion_set movement

    So I'm attempting to create virtual controls for a top-down shooter base engine that I'm working on based on a tutorial series I found, using a virtual "joypad" on my Android tablet screen to control the angle of the player's movement. I am avoiding from using solids as per the advice of several...
Top