3 1 problems with game maker program.
Object goes through floor game maker.
3 2 problems with objects.
If you put objects in a room and all of the objects are at a depth of 0 there wont be much control over which object goes in front.
Do not ever use solid.
Repeating what u fryman22 said though.
With this function you can flag a specific object as being solid or not for more information on the solid flag see defining objects this means that all instances of this object that are created after solid has been changed will be created with this new state while instances that are already in the room may not be affected.
This is similar to the round function but it only rounds down no matter what the decimal value so floor 5 99999 will return 5 as will floor 5 2 floor 5 6457 etc.
In this case the newest object you place in the room will be in front of the other objects.
The way solid works is kicking out objects which have got a collision event with it.
Recently i have been working on a 2d platformer which uses the inbuilt unity physics and rigidbodies.
You object the number can be any number left x 5 y 0 right x 5 y 0 up.
3 3 problems with variables.
3 1 2 i click on an icon in the object properties but nothing happens.
3 1 1 my computer locks up hangs or freezes.
Returns the floor of n that is n rounded down to an integer.
I am using the following code that i found in a video tutorial vertical collision if place meeting x y vsp par block while place meeting x y 1 par block y 1.
3 2 2 object falls through floor.
You have got no control over it and i has got no workaround when you want to.
Hi hope i did not go too fast.
The gamemaker studio 2 room editor permits you to add layers of different assets to your room.
This video will show how to make a object move upon command and make it stop at walls.
This would lead to the player getting stuck inside the floor when landing a from a.
So you probably fall through the floor because your player object doesn t have a collision event with the floor.
3 2 1 object getting stuck.
Every object in game maker has a depth.
Hey guys i came across an issue whenever i try to move an animated sprite the character sprites to the mid air sprite as if it isnt touching the ground and at times it even starts sinking into the floor.
One of the challenges i ran into was that when the player moved above a certain velocity it would sometimes pass through colliders.