speed

  1. G

    Problems with Speeds

    So I've come across quite a strange bug recently.. I've been developing a game with one large room, lots of enemies and one player. The player moves with a simple point and click system and moves at a speed of 0.5, the enemies also move at a speed of 0.5, this has worked fine up to now...
  2. W

    Legacy GM [SOLVED] Moving object from x and y to x2 and y2 in a certain amount of time.

    How can I make an object move from one specified location to another in a specified time limit at a constant speed? I've pretty much got the moving of objects down, but I don't know how to enforce a time limit that would also determine the constant speed for the object from a given position.
  3. D

    Permanently increasing an objects speed with each click

    Hey guys, Hoping for some help with a problem I can't figure out. I have a ball object in my game that bounces around in random directions upon creation, and off the walls of the room. I have a series of buttons at the bottom of the screen that I want to use to do two things: Change the...
  4. M

    GMS2 results of array run times

    I compared array access times in GMS2. The GMS2 code is here http://s000.tinyupload.com/index.php?file_id=72896515703887271702 The results are 500 iterations 1172 instance array [r,c] 1225 instance array [c,r] 1154 global array [r,c] 1215 global array [c,r] 1197...
  5. E

    Windows How to make a caracter turn smooth

    I have a 2d caracter and i want him to turn smooth in a circle like in Slither.io. Like a Car. Could someone send my the Code for that.
  6. D

    [RESOLVED] Help With Speed / Movement Control

    I can't seem to figure this out. My player object is a spaceship that starts off invisible. When visible become true, speed == 30. My problem is that I cannot get the ship to drop out of warp with any of the commands that I've tried. I've used speed - -, friction, and everything I could think...
  7. S

    Subpixel Movement

    To have pixel perfect movements, I use movement loops, but this only lets you move in integers unless you store the speed remainder. ySpeedRemainder = frac(ySpeedRemainder) + ySpeed; repeat(abs(ySpeedRemainder)) { if place_meeting(x, y + sign(ySpeedRemainder), objSolid) ySpeed = 0; else y +=...
  8. D

    Move direction

    I'm making a top-down game in which my player is facing to the top of the screen at all times, and instead the floor is rotating when I move the mouse. is there any way I could make my character move forwards, backwards, left and right in the direction which my sprite is facing? the direction...
  9. M

    (Warning, I'm a noob) Problem with object movement (game maker 8.1)

    2 things: 1) When I set vertical speed to 0 (to prevent my character to fall off the screen after jumping), I can't move horizontally until I jump, any way to be able to fix this? 2) Is there any way to limit for how much time I can jump?
  10. P

    diagonal speed

    can someone please tell me how to make my diagonal speed equal to my hspd and vspd in this code? x += (right - left) * spd; y += (down - up) * spd; as of now the diagonal is noticeably faster
  11. T

    [SOLVED] Help with movement speed

    Hello, in my game, player can move in 8 direction using wasd and he will face up, down, left or right, based on mouse direction. right now, the speed is always the same, no matter where the player moves or face. What I need help is to make the player move slower (60%ish of the movement speed) if...
  12. P

    Making arrows and bullets and Box2D...

    Hey guys, I've just recently started toying with Box2D and right off the bat I can see there are many differences between the default GameMaker engine, and Box2D which I can manage to work around. However, I don't understand the impulses, force, phy_speed_x, velocity, or anything like that. I'm...
  13. M

    Legacy GM [PHYSICS] Maintaining constant velocity

    I'm just trying to get to grips with some basics of the physics engine. The game I'm making consists of a ball which, when shot, fires towards where the mouse was before the button was released, and bounces off any static objects. It's bouncing realistically, but isn't maintaining its original...
  14. T

    Legacy GM Diagonal speed changes?

    Hello. I'm currently remaking the legend of Zelda: Lttp into a fan game with new story. I'm currently trying to fix diagonal speed. Okay, so normally, if you move right, left, up, down, your movespeed is 3. However, when you move into diagonals, your speed decreases by 2. So can this work? : if...
  15. L

    How fast is ds_list_write and ds_list_read?

    I think this is the right section to put this. Basically what I want to be able to do is create save states for a fighting game (so to be able to implement rollback netcode at a later date), with Game Maker's buffers seeming to be a good way to do this. This is simple enough with most of what I...
  16. S

    Legacy GM Arrow keys and joystick controls + platforming slopes [SOLVED]

    At the moment, the basic platform physics of my game are going well (it uses arrow keys). I'm currently trying to implement an optional gamepad input into my game, which uses the joystick for moving left/right and the A button to jump. But whenever I press an arrow key AND a joystick direction...
  17. R

    Diagonal Speed(SOLVED)

    Hi, everyone. I think everyone(at some point) had problems with players moving faster when moving in a diagonal direction, and i had diagonal speed problems solved, but for more precise collisions i started using physics world, and now i'm back at it again with the diagonal double speed. I've...
  18. H

    Game speed doubled after new patch

    Hi. I just upgraded my GM Studio to 1.4.1760. After it was done upgrading, I opened up my project, then ran it, and noticed that the game speed had doubled for some reason. I tried setting the room speed to half but it had no effect whatsoever. What's going on?
  19. V

    Test for speed

    Hey guys! Today I've been goofing around a bit on Game Maker Studio and I wanted to create a falling object that respawns and accelerates everytime it hits the ground, so that it gets harder to avoid the object. However, at a certain point the object will fall too fast and should slow down. Is...
  20. sman

    Windows Game in slow motion on powerful computers. Why?

    Hello, I've seen many youtubers play my game and I don't understand why, for some of them, the game is in slow motion. I don't think PewDiePie has a slow computer, with all the money he is making, and yet for him the game is very slow. (here is the game in normal speed) I've seen also...
Top