Introducing Fixtor: An easy-to-use, reliable, full-featured physics fixture editor, for GameMaker: Studio 1 ~ 2.3+.
As a fixture editor, Fixtor aims to overcome the fixture limitation of Box2D physics.
You can now have as many concaved polygons as you want, as well breaking through the 8-point...
If you are using the Box2D physics engine, this script can be useful for visualizing the chain.
A simple script for converting a path to chain_shape. You draw a path in the room and then convert it to a chain_shape with the desired fixture settings.
1. Create a path.
2. Set the desired fixture...
Hi all, I created some fixtures in code to use and I'm wondering if it's possible to to just "flip" or mirror them so that it's the same fixture, but mirrored, depending on which direction the sprite is.
I've seen a couple threads about this already, but they didn't really go into detail on why...
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...
I'm working on a marble run type game, were the player can draw lines for the marble to run down. I use fixtures to setup and draw the line, however other physics objects (such as the marble) seem unaffected by the line. They simply pass through it, when the line is suppose to act as a wall...
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...
Hi guys, i'm having some weird collision detection with chain fixture.
I'm using "physics_test_overlap(xpos, ypos, angle, obj);" to detecting it.
On the "BLUE" line, he's detecting the fixture chain, but NOT on the "GREEN" and "ORANGE".
Does any of you have an idea of what is going on here?
Hi all.
I'm trying to restore an object to normal behaviour after removing a physics fixture from it but I'm unable to do so. It's for a track editor that I'm working on - The desired behaviour is that a track wall object follows the mouse until it is placed (working correctly) and then after...
I'm creating some scripts to create a fixture for a wall segment, (in this example a bottom),
using the bottom left corner here and spanning right checking for end of the wall segment to then create the appropriate fixture.
The fixtures aren't quite the right lengths and are not in the right...
There is a bug with looped chain fixtures in the physics engine.
1) This code which uses fixture loop creates a bug:
ter_fixture = physics_fixture_create();
physics_fixture_set_chain_shape(ter_fixture, 1); // Looped fixture
for (var i=0; i<ter_size; i+=2)
{...
100 - 15 = -140 ?
Well, that's what game maker thinks anyway. I have a game where a projectile is colliding with the tank that launched it (the player). The projectile bounces off the wall and hits the tank after being shot in a way that lines it up with the player's tank. I have a variable...
hello, so my game was working normally and i edited something in the room and then i exited out of the room and i tried to run my game and it said:
___________________________________________
############################################################################################
ERROR in...
Okay, so this is my first post in the GM:S forums. I've learned SO much from previous questions from users. I've just started learning about 3 months ago and w/ enough persistence I've always found an answer.
Unfortunately, this one has stumped me and so has 50 'googles'; so without further or...
"The polygon shape for fixture 156 is concave or ordered anticlockwise"
Hi guys. I am sure there is no concave fixture or any anticlockwise settlement. but still this error is occuring. Is there anyway to know which object causing this? I can't find the object from fixture id.
thanks.
Hi guys,
I've been trying to get into built-in physics in Game Maker, in order to make Tetromino shapes which can collide with each other, fall, etc. (like in the game Tricky Towers)
I wanted to make a fixture for the L-shaped piece, but since GM doesn't allow for concave fixtures, I tried...
Hiyas,
I am new with the Gamemaker (currently using GM2 beta). There's something I wasn't able to find answer for with Googling, manual or researching old forum posts. Here it goes:
I assume fixtures contain both: attributes for physics (density, angular damping, etc.) and a bounding box. If...
No matter how many times I call physics_fixture_bind it always returns 1, when it should be a unique index to the bound fixture. Ultimately this seems to be the cause of "The instance does not have an associated physics representation" error when I try to change the density with...
Getting an unusual error when I changed an object from using the GUI physics settings to manually assigning the physics settings...
############################################################################################
ERROR in
action number 1
of Create Event
for object obj_obstacle:
The...
Hello there,
just working through the "official" tutorials included in GameMaker.. I guess there's a problem with
the "Physics Basics 2" tutorial.
In order to create a fixture with concave elementes, the text explicitely states to code something like
that...