speed

  1. C

    Collision help with decimals

    Hello everyone. I'm having trouble to understand how collision detection works, I'm really beginner and not being the english my main leanguage, manuals doesn't help. Well, with that said, I'm trying to emulate Super Mario World physics, for now I only have the horizontal movement partially...
  2. T

    GML Replacement for built in speed functions?

    So I'm trying to make some sort of F-Zero like racing game, but I'm using the built in speed variables and functions because I don't know how to achieve what i want with custom variables, which is already bad because the built in speed variables are way too jank. The other problem with them is...
  3. IchicoreGames

    Windows Game speed has messed up! HELP!

    Hello guys!! I have a queston that is killing me, last week i tested my game and recorded some gameplays to upload to my social medias and gamejolt, everything GOOD! But, i open my project today and the coordinates movements (X,Y) have slow down, like gravity of moon, and, my animation speed...
  4. G

    Legacy GM whats a slow speed in code

    ive been trying to get a speed that is slow, in code but i never get the right speed. i tried image_speed = 0.1 and image_speed = 0.25 and more. but i never got the right speed. Please help :)
  5. R

    GameMaker Issue with collisions

    Hi GameMaker Community! So I'm having some troubles with collisions detection. I'm using some basic code to make my walls tangible: //Horizontal Collision (ok) if (place_meeting(x+hsp,y,obj_wall)) { while (!place_meeting(x+sign(hsp),y,obj_wall)) { x = x +...
  6. G

    GameMaker (solved) hspeed=0 equivalent for diagonal?

    How would I do the equivalent of hspeed=0 (leaving the vertical component of speed intact while killing the horizontal component) to kill speed in one diagonal direction without affecting the other diagonal? Thanks.
  7. K12gamer

    Need help fixing busted PACMAN code...

    I included a short (2 mb) open source file made with Gamemaker Studio 1.4 Link to open source Zip File: Drop Box or Google Drive In it are two rooms...One where the game runs fine. But the other...I tried to speed up Pacman (and enemies) from speed 2 to speed 2.5. (Note: I want to speed up...
  8. P

    Windows View not following object because of high speed

    Hello guys, so I have this 2d top down starship game and the thing is everything works fine for now but I use this code In the step event to follow the player because the player ship is almost always outside the room borders. The only problem is the player object often exceeds speeds of up to...
  9. M

    About enemy objects' movement speed...

    So. This might have the easiest solution to it that i just cant figure out, but: i have this TDS game where an enemy object has two stances, patrolling and attacking. Patrolling means it gets a random direction and speed, and starts going around the level. (in Step Event) Then when the time...
  10. M

    Gamemaker Physics, Speed and Bounce Problem...

    Hello, I help you guys can help. I am using the Gamemaker functions speed, physics and bounce to have my objects move through my room and bounce off eachother wen they collide with any other object. This is so far only done with the drag and drop commands. The problem is that sometimes objects...
  11. 2

    DS Grid vs 2d Array: Speed and 4 other Questions

    1. Which is faster a DS grid or 2d array? 2. Which are local or global? 3. Which need to be destroyed before destroying the object that made them, to free up memory? 4. Which are persistent/nonpersistent? 5. Which take more memory?
  12. NathanAuckett

    Question - IDE Is there a way to set the default animation speed for sprites?

    In preferences you can set the default playback type to either frames per game frame or frames per second. When you first install it's set to frames per second with a speed of 15. I've set the default to frames per game frame, but there doesn't seem to be an option to set the default speed so it...
  13. DukeSoft

    Asset - Extension CPU Mercy - Lower CPU usage [100% to 10%]

    Hi everyone, I was working on my dedicated servers for my game, and noticed that (mainly on Linux) the game seems to use an entire CPU core, 100%, no matter the FPS. The FPS real was about 2300, the FPS was 60/60, yet the CPU usage was 100% on a single core machine. 100% on 1 core on a...
  14. C

    [SOLVED]Things Getting Faster: A question about Speed

    Hi, good day. I made an object that tracks distance by drawing the value of global.howFar now here's the problem: the room starts and global.howFar starts increasing, with normal speedModifier value, when it reached 1000, it's speedModifier increased as well (as intended) but I also want the...
  15. M

    Windows Weird gamespeed problem (fullscreen / windowed)

    Hey. My game runs fine and as expected when in windowed mode. But causing weird speed problems when entering fullscreen mode. The problem i have is - when going fullscreen while test running the game from the IDE the gamespeed is slowed down alot. Feels like 5 fps. While still in fullscreen -...
  16. D

    Legacy GM How to use delta_time

    Hi guys, i'm trying to understand how to use delta_time but checking on the docs i can't understand it completely. According to the manual for example to adjust the speed of an object you should do: speed = spd * (ot - delta_time); ot = delta_time; Am i right? But it seems to me like something...
  17. H

    Question - IDE Game runs way too fast when exported as .exe in fullscreen mode

    Hello! I have encountered an issue with exporting my game as a windows .exe file, as when I do the game appears to be running way faster (perhaps 2x the speed, more or less I don't know) in fullscreen-mode. It does not run at that speed in the game maker editor in fullscreen or in windowed. I am...
  18. R

    Does a sprite's speed need to be a multiple of its number of sub-images? [SOLVED]

    My friend and I are making our first game. He says that a sprite's speed (in frames per second) needs to be a multiple of the number of the sprite's sub-images. For instance, a sprite with 7 sub-images would need to have a speed of 7, 14, 21, etc. Is this true? The sprite seems to work just fine...
  19. jujubs

    Legacy GM Number of instances affects objects' speed (SOLVED)

    So this is a weird one. I followed the twin-stick shooter tutorial to learn how to add gamepads to my project, and got very strange behaviour in my player objects. Whenever I connect a new gamepad, every player onscreen speeds up, as if their speed somehow is multiplied by the pad number or...
  20. inertias

    How to go about "Plus % to movement speed"

    Suppose you want to create a low-res pixel art rpg that has items that affect your player. You want to create magical boots that increases the player's movement speed by something like +15%. If you use super basic movement code, something like a keyboard input check that increases x or y by +1...
Top