• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

collision box

  1. D

    GameMaker Collision Shape does not match the sprite

    I am using the built-in collision system in the physics of Gamemaker 2. I have some complicated shapes, and while the collision mask can be set to 'precise per frame' (allowing for only the non-clear pixel to have the collision mask), the collision shape in the physics engine does not have that...
  2. K

    Collision not changing on Player, hovering over objects

    I'm new to Gamemaker and I'm having trouble with my Player's collision. He hovers over areas that he should be colliding with. Whenever I change his Player collision in his sprite sheet nothing ever changes. The only difference I've been able to make is changing his origin. Please help I'll try...
  3. C

    GameMaker Detect multiple collision points on one object

    (very new to game maker and programming languages in general) I have a particle system that trails behind the players character (which is a cube) by detecting when they are on the ground and spawning the particles at the right most side of the block. However, this has the side effect of when the...
  4. Follow The Fun

    Legacy GM How do I convert last two elements of uvs to complete bounding box

    Hi everyone, As you know, game maker crops sprites with whitespace around them. I'm trying obtain the 'real' width and height of a sprite on the texture page after this crop has happened. I'm using sprite_get_uvs, where values 4 and 5 are the amount cropped from the left and top respectively...
  5. D

    GameMaker How do I separate Damage Collisions & Movement Collisions?

    Hello everyone, I am working on a Top-down shooter game and I ran into a weird issue regarding my bullet collision systems. I'm using GameMaker's Pathfinding code to move my enemies along a grid. I adjusted their collision mask sprite to be a small diamond because they were having issues going...
  6. S

    GameMaker Code for collision of a throwing a box (Apologies, I'm kinda new)

    I have this code here that allows me to throw a box towards the mouse but i would like to make a good collision for this box, like when it hits the wall or floor it stops, all i found was for zelda style games but never for one platform style side scroller game, sorry if this is something easy...
  7. D

    GameMaker Collisions for walls isn't working

    So I've been working on the walls for the first room in this game. I'm just using a default 64x64 box that's solid but not visible and the collision mask is set to rectangle w/ rotation. I'm also using drag and drop for all the code. For some reason, though, the left and top sides of the box...
  8. F

    Collision

    good, I have always had errors with the collisions of my objects in gamemaker, they are enemy/player mobile objects and I always fail, sooner or later the object crosses the collision, is there any code that facilitates this? the cleanest, easiest, functional, effective code?
  9. I

    Need help with collisions

    Hi, i just started using game maker, very uneducated in it but im trying to learn, and follow along with a tutorial for a game i want to make myself (using the tutorial to learn). I have followed everything done in this video ( ) and as far as im aware, my scripts are identical to his, but for...
  10. Z

    Problem with collisions

    Hi guys ! I'm pretty new in GML so I'm pretty sure that my bug is easy to fix but hey, i'm a noob ! :) So, I looked a youtube tutorial for the movment of my character : Script PlayerMovement() //MOVEMENT PLAYER //Calculate Movement var move = checkKeyboard_Right -...
  11. I

    Z axis in 2D jumping on a platform. Help!

    Hello, I am currently trying to make my player object be able to jump and be able to stay on platforms. I am not using physics btw. Anyway, I found a video that explains this concept but I am struggling to implement this on my project because my depth and collision system is different. This is...
  12. sinigrimi

    Discussion I try create perfect collisions

    NOTE: The solution is in the second message. NOTE2: I have new problem case in the third message. [SOLVED]
  13. N

    GameMaker [SOLVED] Another impossible scalling case

    Hello everyone, I am desperately seeking help to scale my game, I just can't understand this stuff, nothing is working, I constantly have weird results. I developped a Shoot' em up using 1920*1080 rooms. My computer screen is also 1920*1080. Now I want to scale it to whatever screen the player...
Top