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

phyisics

  1. A

    GameMaker Detect physics collection between static and non-static object

    Hello! I'm making a top-down car game utilising the built-in physics features of GM. With my player character, I'm able to detect physics collisions with other dynamic (density > 0) objects just fine using the Collision Event pattern. The problem comes when I'd like to detect a collision with...
  2. M

    GameMaker Bug when I create a rope.

    I am making a rope based physics game with the built in physics engine and I followed a video to make proper rope physics, but in the issue of doing this is that I have no clue on what to change specifically to get my desired outcome. It makes the rope initially spawn across the y-axis which is...
  3. Luke Peña

    GameMaker Physics fixtures offset by 1 pixel consistently

    I've noticed this weird bug where Game Maker creates physics fixtures offset from the sprite origin, down one pixel and right one pixel. This happens if I use the built in fixture editor or if I customer code one. (I have some custom fixture generation functions that account for this weird...
  4. Xenotrigger

    GML Updated Jump and Movement Tutorial

    Is there an updated double/variable jump tutorial out there? I’ve been having issues getting the double jump to work properly. I would imagine that this would affect other physics oriented code as well. Any new tutorials or tools/information dealing with the subject would helpful!
  5. RyanC

    Android Physics Particles Causing Game to run at 120 Room Speed when Frame Skipping Draw Event

    Hi All, I have recently implemented water physics into my game and have noticed strange results on Android that speed up the game to what looks like 120 room speed. The game has a lite graphics setting for older devices which frame skips the draw event 1/2 but when using this lite mode on an...
  6. AndreLeier

    GML Set object rotation to last input

    Hi everyone, I'm making a isometric game with 8-direction movement. I just got the movement perfect how I wanted, with physics! Now I want my player to face the latest input he pressed, and I could solve my problem with: keyboard_check_pressed(key). But I'm not using the keyboard_check as my...
  7. Andrey

    GameMaker Friction change via physics_set_friction

    Hello! I can't understand a strange (or normal?) behavior of an object, to which I change friction via physics_set_friction function. If an object moves, for example, on an inclined plane and I change its friction from 0.1 to 1000 at that moment physics_set_friction(fixture_id, 1000); , it...
  8. Maverick_Box2D

    The Backrooms

    OK here's the scenario. You, are playing VR games in your mom's basement at 3AM when suddenly you trip over some balls and no-clip though the floor. You are now trapped in the Backrooms. Downloab WIP APK
  9. J

    Tricky Collision bug

    I am making an arena shooter based off of the tutorial made by Mark Alexander. I wanted to add walls and collisions to my project to add a layer of complexity to the game. In order to do that I had to change the movement system in order to get rid of a bug where the player would get stuck on the...
  10. W

    Weird Physics Collision Clip

    So I was trying to make a physics platformer and I haven't worked with physics that much, but I ran into a problem where the player object would clip on the ground. So in order to recreate the problem I had created a new project with three objects, two of them being static walls and one of them...
  11. V

    How to make a Rocket League 2D

    I wanted to make a drive ahead sport style game but for PC to play with friends and I could not do the physics of the jump that when it falls, it is rotated to 0 degrees (initial position) I am new to this. Can you help me with the code?
  12. Elfiawesome23

    Legacy GM Physics Engine plane physics

    hello, just wanted to ask if there is any way to program 2d side view airplane physics. I'm using Gamemaker's build in physics engine to do this. My current project only has a movable object that can only move left and right by applying force to it. I want it so that the object can fly upwards...
  13. OctoMoosePrime

    Legacy GM Physics platformer collision

    Hello everyone. I'm trying to make a local multiplayer platformer but can't get the basic collisions to work properly. I started by using the classic hsp/vsp movement/collision code from Shaun Spaldings platformer tutorials but I had problems implementing collisions with other players...
  14. S

    Are Physics Behaviors in games like Space Engineers possible in Game Maker?

    Of course, apologies if this was answered somewhere fully. I wasn’t able to find it. A project that I have been toying around with involves physics objects that can be attached to each other and hopefully act as a single grid. There are a multitude of 3D games that involve building “vehicles”...
  15. F

    physics codes

    all objects in the room rotate intact, not as images, rotate as a position. Which method do I use?
  16. L

    Platformer jumping | friction not working (using physics)

    For some reason my character is not jumping. I have looked around and I believe I am using the right code. I put a debug message to check if I hit the code and I do. Second problem is if I set friction variable it seems to not be doing anything. If I set it under the physics window on object it...
  17. M

    Simulating gravity with slowmotion

    Hi I'm currently working on a strategic space game where in you control a space ship and shoot projectiles, all affected by gravity generated from nearby planets. This currently works fine as is but I was wondering how I would go about implementing slowmotion/speedup of time in the gravity...
  18. S

    Sprite offsets when a fixture is rotated

    I was wondering why the sprite of an instance sort of offsets when the instance is rotated. The red box is the actual shape of the fixture box drawn by phy_debug_render_shapes and the black sprite shouldn't be visible if it was working as intended. The left peg is at the starting angle and...
  19. D

    GML Visual Throwing a ball

    Hi, I want to make a simulation where a ball is thrown with a random force and there is gravity. I choose a 'create' event, choose 'set direction' and 'set speed' functions. It works if physics in the room are not enabled. If I enable that, the ball just drops with gravity as if this 'create'...
  20. L

    Windows fullscreen toggle not working with physics enabled

    Can't toggle windows full-screen I have two identical games with a persistent game object in each of the first rooms. full-screen toggle works on the game without physics and doesn't on the one with. I'm not sure this is the problem but it's the only difference I haven't check because it...
Top