box2d

  1. 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...
  2. 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...
  3. 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...
  4. 7 Raven Studios

    GML Box2D Pinball question.

    Hi, i made a complete Pinball game using Box2D with ramps and multiball but i saw few small problems where i don't know what to do. First and most important is the rubber band who is normally around the flippers, i don't know how to simulate them because if i add a restitution to the flipper it...
  5. Bart

    GMS 2 Box2D: Cancelling out tire's sideward velocity

    Hi all, I'm currently using Box2D physics to create a basic top-down cart, using the following tutorial: http://www.iforce2d.net/b2dtut/top-down-car The first thing to do is to create a tire and cancel out its sideward velocity. The way to do this seems pretty straightforward: project the...
  6. B

    [SOLVED] Help with physics code

    Hi, My current project consists of a game set in space. Originally I was just using GameMaker's default system for movement of the player and enemies. I would now like to switch to using physics (Box2d) as this will provide a more 'floaty' feeling to the movement and much more desirable...
  7. erryox

    Box2D bug

    Hi there, I decided to try to make a game with physics, and I can not solve one problem. Next a lot of text, I hope everything is clear explained;) Just trying to describe everything in detail. If two objects of the floor are placed closely, which are physical objects. And on them goes the...
  8. MusNik

    Portfolio - Programming KeeVee Games — GML Programmer and Game Developer for hire

    KeeVee Games – GameMaker Development SHOWCASE | GITHUB | ASSETS Hello, I am professional GameMaker: Studio / GML programmer. I specialize in 2D games. Can develop a project of any type and complexity. Also, love to make graphics effects and Box2D physics. I can work on GMS 1.4 and GMS 2 for...
  9. N

    Programming Animate

    Hello, did the platformer for lessons "Advanced platformer" (as standard physics has ceased to arrange) and encountered a problem in 4 lessons, namely animation. Everything is beautiful there, but Density is set to 0, and I need it to have a certain value. Now I realized this: The player's...
  10. T

    Legacy GM Could someone suggest how I would go about writing a better collision system please?

    Hey folks, At the moment, I'm using the standard drag and drop collision event that GS supplies however this isn't really as accurate, precise, or as fast as I require. You can see the problem here: https://drive.google.com/open?id=0B0O-TT1RwibRVGNQQl9LQjdKWjQ As the arrow bounces around...
  11. T

    Legacy GM Physics - Neutralizing / cancelling an impulse

    Hey folks, I have a game where the player aims and then fires an arrow which then bounces around. The arrow has a set number of rebounds it can do. The arrow is launched using a impulse in its create event: //Make arrow move physics_apply_impulse(x, y, lengthdir_x(6, dir), lengthdir_y(6...
  12. T

    Legacy GM Physics - Maintain a constant speed / power

    Hey folks, Let's talk physics! At the moment I have a projectile the player can angle and then fire out, which uses physics_apply_impulse() to give it a kick. //make the arrow move var dir = point_direction(x, y, mouse_x, mouse_y)-180; physics_apply_impulse(x, y, lengthdir_x(50, dir)...
  13. S

    Job Offer - Programmer Looking to hire GMS/Box2D Physics expert

    Hello all, I'm creating a game using Gamemaker Studio with the built in box2d physics as a main part of the game play. Without divulging too much information, I've come to a point where I cannot proceed with my current understanding of the engine, and I would like to hire a programmer who can...
  14. Bart

    Legacy GM Convincing top-down crowd movement using Box2D

    Hi all, I'm trying to create a somewhat convincing, top-down crowd movement using the built-in Box2D physics. The basic idea is likely to end up with a few fixtures (the people) that are cleverly connected by a few fixtures so one person follows the other and the group 'walks' as a whole and...
  15. G

    Legacy GM physics edge shape

    Why does this work var body = physics_fixture_create(); physics_fixture_set_edge_shape( body, 0, 0, view_wview, 0 ); physics_fixture_bind( body, id ); physics_fixture_set_edge_shape( body, 0, 0, 0, view_hview ); physics_fixture_bind( body, id )...
  16. P

    Legacy GM [Unsolved] Room Gravity and my trouble with it

    This time I decide to upload a simple project I made for explain the situation and my doubt about the working of the gravity in physic world box2d. Basically I just made a room, a floor and then create two object (cloned) and another one, a "tire". The object is a stick of 32*256, at the object...
  17. P

    GM Phy force drawing need help

    Hi everyone, I'm try to understand little bit more of the box2d inside GM but I'm here for ask u one thing I still not understand properly, basically I have my object and I apply to it a local_force on the X axis and because it has some restitution it jump little fit so I can little fly on air...
  18. P

    Box2D Rotating a robots Arm

    Hey guys, I'm making an arm that has two segments to it, and base. Currently I am controlling it using the arrow keys. However, with the second segment I have a problem where if the first arm rotates its position too much then the second segment will fall. It is annoying ):< I am using...
  19. J

    Legacy GM box2d top down wheel

    I am trying to make a top down wheel so that it is limited in its movement sideways. I have found an example here. The section labelled "Killing lateral velocity" is what I am attempting to do. http://www.iforce2d.net/b2dtut/top-down-car Here is one of several attempts I have made...
  20. Tulloch

    Job Offer - Programmer Box2D, 3D Side-Scrolling Platformer

    Hello GMC, I'm looking to get in touch with a serious programmer who is willing to share a passion. The project has been a labor of love for almost 14 years, but due to my new job as a Daddy, I've been lackluster for time. During the development, I have made many revisions, lost...
Top