box2d

  1. 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...
  2. Bart

    GMS 2 Only trigger collision event when colliding with specific collision group

    Hi all. Recently I've been working on physics collisions on multiple levels using Box2D. To achieve that, I define each level's collision mask with a different positive collision group (>0). When the z value passes the midway point (half level height), I unbind the player's fixture, change its...
  3. Jezla

    Windows Box2D fixtures not binding correctly

    I've just filed a bug report on this, but I thought I'd post here so anyone encountering this issue can find some information on it, especially since the Box2D tutorials have been re-published, and more people might be trying their hand at it. I've noticed that sometimes, when using the physics...
  4. Y

    Trying to set up a resource friendly destructible physics terrain...

    Hello Community, I am making a game for Game Maker Studio 2 and I learned a bit about the physics in-depth already, I had an idea for a game but I’m stuck at something maybe on of you have a solution for. My game is a physics platformer where the physics are an absolute must for me because of...
  5. Ninomojo

    GMS 2 How to "parent" physical objects to another? (Box2D)

    Hi there, I'm new to Game Maker Studio 2, even though I used Game Maker 7 and 8 a lot back in the day. However I'm completely new to physics, and I started looking at tutorials for basic physics simulation. Then tried different types of joints. So far so good. What I can't find information...
  6. DDanny

    GMS 2 Weird behaviors of rope joints

    Hi, I'm currently using a rope joints (physics_joint_rope_create) to connect multiple "rope segments" and create a rope. This method is very popular for making a rope and so far it's been working fine for me - 2 objects connected with a rope will move together in a believable fashion. However...
  7. P

    Legacy GM Help with box2d networking

    I have created a basic client and server game where the client can pass inputs to the server and the server will move their character accordingly and then pass the x, y and rotation of the object back to the client so the character can be drawn. I have been trying to implement box2d instances...
  8. S

    GMS2 and BOX2D?

    Hey everyone I want to learn more about using physics in GMS2 and had heard BOX2D was the best way to go but it seems all online info and tutorials are for GMS 1.4. Is the native physics engine in GMS2 the standard now? I'm new and still learning but I want to start off on the right foot...
  9. despair3042

    Asset - Project Self-Balancing Ragdolls

    This asset will present you with a fun, and intelligent self-balancing ragdoll. Features: Fully customizable ragdoll appearance Easy to implement ragdoll behavior, and drop into any project that uses Box2D physics A set of well-made balancing algorithm that can handle collision, impulse...
  10. B

    Job Offer - Programmer Looking for box2d physics developer

    Hey everybody! Looking someone who could develop box2d physics platformer engine with some custom features. If you think you are intrested and want to know more contact me by email - bruslyvk@gmail.com. Basically what's needed in engine: - Player movement on different shapes(Also enemies). -...
  11. Geoff Moore

    Legacy GM Box2D trajectory - help getting code to work

    I'm making a 2d game using the built in Box2D physics where you throw a ball around and I want to draw a simple trajectory to show the player where the ball will go. I found this page on how to do this with Box2D: http://www.iforce2d.net/b2dtut/projected-trajectory This page goes into a lot of...
  12. E

    Legacy GM Physics Box2D Bouncing off Walls

    I have been having issues with the default physics 2d engine. I have two 2d games, a minigolf, and a pool game, both of which use the built-in physics engine in a top-down format. The issue is that when the balls bounce off walls, their collision isn't in the same direction. So basically if the...
  13. erryox

    Box2D max speed

    I'm trying to do movement by applying force. But at the same time I want to limit the max speed of the instance. Does anyone know how to do this? I know that the physical engine in Game Maker works separately in its own cycle. And a simple speed limit like: phy_speed_x = clamp(phy_speed_x, -3...
  14. D

    GMS 2 0 Restitution But Still Bouncing

    So I have a wall object that is set to kinematic with 0 density and 0 restitution. I also have a dynamic ball object set to 1 restitution and 1 density. I would expect that when these objects collide, the ball would not bounce off the wall at all (since the restitution values are multiplied...
  15. DyadGames

    Billiards Physics - Box 2D Issue

    Above is a video helping explain my problem. For whatever reason, the ball collides and stays put immediately at a certain range of speed. I want a realistic soft bounce off the object, which if I do just a little more speed I get. I've tried playing with the friction, the physics steps and...
  16. T

    HTML5 Box2D games doesn't work in 1.4.1772

    Hi, it looks like physics_world_create() doesn't work anymore in HTML5 GMS 1.4.1772. How can this version can be marked as "stable"? Does someone know about a workaround?
  17. Matt Hawkins

    Super Rufio Bros

    I've started working on a bootleg of the popular Super Mario Bros game. My goal is to capture the feel of the original game but change all the artwork so Nintendo doesn't come after me. So far I have the gameplay just about spot on. The gameplay is entirely physics based using the Box2d code...
  18. D

     [Feature Request] Add multiple fixtures in GUI

    I commonly find myself needing to assign an object multiple, separate collision shapes. For objects with a kind of "inside", like a cup for instance, you simply can't create the shape in the GUI since it currently only allows for a single convex shape. Creating such shapes through code is...
  19. D

    GMS 2 Box2D Raycasting?

    Hey all, I'm making a physics based game and need some sort of raycasting system to determine line of sight and stuff for the AI. I know we have collision_line and those other functions, but those aren't for Box2D physics and thus won't be very accurate (or perhaps even possible) in some...
  20. Matt Hawkins

    Horsey Horse Horse Physics Work in Progress

    I've started work on a horse physics game inspired by the game CLOP. So far I have made a basic horse that moves fairly realistically with random timers, and my next step is to make each limb individually controllable. Windows Installer...
Top