physics

  1. JustEnix

    HELP: Create A Physics For My Game

    Hi, I'm new to game programming, so as you can guess, I hardly know how to encode what I want. What I'm looking for is a scarf that is attached to the player and moves with him with (like in Dead Cells). I'll appreciate any help.
  2. JustEnix

    GML Physics for a scarf that follows the player

    Hello, I'm new on programming games, so as you can guess a barely know how to do code what I want. I searched for tutorials of how to code the physic that is mentioned on the title but couldn't find anything. What I'm aiming for is a scarf that is attached to the player and moves with him with...
  3. J

    GMS 2 Changing properties on physics fixtures?

    Hello, I am trying to create a system where I can change some of the properties of a physics fixture mid-game. I have read that you have to unbind, change the properties, and then rebind the fixture to do this. However, each time I do that not only does the desired change not happen, but...
  4. A

    Advanced sprites with (kind of) physics

    I’ve played a lot of metroidvania style games, and I’ve wanted to mimic the functions of some of them. The only problem is I have no idea how some of these mechanics were done. A few examples: in Timespinner, the Asure Queen has weapons on the end of intangible chains. The chains fold and...
  5. K

    Physics Based Stickman Melee Simulator

    Hello and thanks for the view. I'm working on a game for the Google Play Store (and hopefully Steam eventually). I am sorry I could not let you try it on Windows, I have not yet bought that module for GMS 2. It is a physics based melee combat game where you play as a stick figure fighting in an...
  6. OneIsNeverLate

    GMS 2 Physics boxes unwanted corner collision

    Hello GMC, I have a physics question, but first, a screenshot: My game is simple in nature, a platformer using the physics engine: my character can move and jump. When my character is touching the wall and jumping, everything works fine. But when I jump and in this case hold left to move left...
  7. JON213

    GMS 2 Help with Gliding in GameMaker's physics engine

    Hello, I've recently been messing with GameMaker's physics engine and I am trying to make a glider like just cause 3. I've managed to get the character to turn however, I cannot find a way to make it change speed and react like a glide would. Could someone please help to point me in the right...
  8. RefresherTowel

    Spaceslingers (v0.7.2) | Beautifying The Game

    Spaceslingers is a fun and mind-bending puzzle game, where the only obstacles between you and your goal are the most powerful objects known to mankind! Use the gravity wells created by black holes (and other exotic objects) to slingshot your cargo ship to the correct destination. Wishlist it on...
  9. Olivebates

    How can I program a ball and chain?

    I've noticed that Game Maker Studio has the "physics" functions, but I have never used them. Can anyone help me with coding a functional ball and chain?
  10. P

    Ideal collisions with borders SOLVED

    Hello everyone, actually I am a newbie in programming physics, so I need help with setting up proper and ideal collisions between my circles and borders, So to understand it clearer without screenshot(will add it soon) imagine a Box with coin in it(2D) and I need to set up collisions of this...
  11. biggins

    SOLVED Making a Skatepark Ramp using GM Physics

    Very new to Gamemaker so asking this question just to confirm I am on the right track. I want to create a half pipe (U shaped) ramp that the player will go up and down in using physics. I know that GM doesn't like concave shapes when it comes to implementing basic Physics fixtures so based on my...
  12. Mookal

    HTML5 Fixture Incorrectly Bound in HTML5 Export

    I'm making a game where walls can be drawn by the player. To cut down on the amount of instances, some walls are made longer when the player moves the mouse across the screen quickly. Because of this, I need to create a properly scaled fixture for each wall object. The issue is that, while the...
  13. Elkrom

    GMS 2 Wires/Ropes/ To Connect Two Objects Like in Contraption Maker

    I'm working on a little physics puzzler game similar to Contraption Maker/Fantastic Contraption (my first project not following a tutorial, and things actually feel like they're starting to click ) i want to have a system where i can have rope/wire to connect different things together, like a...
  14. hans

    GML Physics Collision With Inertia

    I'm making a physics based platformer. I can't get it where when two objects collide they impart each others speed on one another. ie: if the player gets hit by a barrel with a speed of 4 I want the player to then also be moving with a speed of 4 with the barrel. Does anyone know how to make...
  15. D

    GMS 2 Problem With Fixture Collision

    Hello, I'm posting here because I didn't found any person with the same problem as mine and I'm thankful for anyone looking into it. So I have a problem with the collisions between my fixtures, at first I just used the basic collision shape tool to create a box, but I wanted a better shape for...
  16. M

    GML Gravity is completely ignored

    So... I used GM a lot back in the day, 8.1, then I converted from Windows to Mac and that was it. Now after all those years I bought the IDE for macOS and decided to get back at it. First thing I wanted to play with was the new physics engine. So I made a couple of objects, checked on physics...
  17. SirCaliber

    GML [SOLVED] Objects will start with a random hsp variable, but only when created by a certain object.

    I have an object, oCorpse, that creates a random amount of oLoot objects when it is created. In those oLoot objects' create event, they get a random hsp and vsp variable. But the hsp only works if it was created by oCorpse, not by oChest. (oChest) On Collision with oBolt: with(other){...
  18. Deadly Serious Media

    GML Changing the fixture shape

    Hey everyone! So I'm attempting to include som physics objects in my game but I'm having a bit of a tough time with a sliding door. Non physics object collide just fine because to collision shape matches the image_index. Physics object are a different story. Now I may be going about this all...
  19. Nodamex

    Steam Lufulus' Creatures (Action RPG)

    Lufulus' Creatures is my second long-term game project. It is a top-down RPG. The game is now on Steam Early Access. I really want to read your ideas about the game. You may also send me message if you need a key to test the game. Get it on Steam...
  20. duran can

    GML Hook physics like Spiderman?

    Hi everyone, how can i make hook physics like a spiderman game on 2d? i tryed this if mouse_check_button_pressed(mb_left){ var a= instance_create_depth(mouse_x,mouse_y,1,obj_point); physics_joint_distance_create(id,a,x,y,a.x,a.y,true); physics_apply_impulse(x,y,a.x,a.y); } thanks for all...
Top