collision detection

  1. W

    GMS 2 Collision Issues

    Hi all, I have been following Heartbeast's rpg video tutorials (specifically, on this video @ this time stamp) and noticed that in GMS1, this portion of the interface is pretty different. In the video, it looks as though you define collision properties on the objects, rather than what GMS2...
  2. 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...
  3. S

    collision_line only trigger once

    Hello everyone, I'm trying to use collision_line to detect a collison current_target = collision_line(x-attack_area_x, y, x+attack_area_x, y, obj_enemy, false, true); But it seems that if an instance is detected to be collided in one step, the collision_line function can not detect...
  4. C

    Legacy GM [SOLVED]Strange bug in simple collision system

    I have been using an extremely simple collision/control system I found from this video. I am unsure if it is outdated. For some strange reason, when my character is descending and touches the ground again, sometimes the character will levitate a minuscule amount off the ground. During this...
  5. Chaos Fusion

    GML 3D Wall Clipping

    So I'm working on a 3D platformer of sorts and I've run into a clipping issue with walls. Using the code from the old Gamemaker fps tutorial, I can get the character to slide along walls however If the player is moving too fast and collides with the corner of 2 wall objects, the player will clip...
  6. V

    one way platform collisions stop working in HTML export

    i have a platformer game, with one way platforms in it. This code runs perfectly fine when tested in the windows version, and collisions still work regularly with the floor object, but my oneway platforms just stopped working all together. I have a floor object the player is checking collision...
  7. M

    Help with collisions?

    Ok, so I'm making a breakout clone from scratch as a personal coding exercise. The problem is, I don't know how to make it so that the ball can bounce off a block, AND destroy it on the same frame. I'll post my code if anybody needs it, but this is actually a recurring problem I've had with...
  8. S

    [SOLVED] Physics - Detect Force of Object Hitting

    I'm currently programming a physics-based game in GameMaker Studio (I'm using the Early Access 1.99.525). I have a "wood" object that is destructible, by the player and by hitting other objects with force. However, the current force-detection method is flawed. if abs(phy_linear_velocity_x) +...
  9. M

    [SOLVED] AI won't move after collision event is triggered once

    the problem I've been having is that the AI won't move at all after it has collided with the wall (the AI isn't stuck in the wall) What I've Noticed The problem only happens when I try to get the AI to move away from the player and here is the code for that the vspd is affecting the hspd for...
  10. U

    Any collision tutorials or help with collisions?

    I've been looking at a number of tutorials trying to find one that would help me out. The "Coding Breakout" tutorial has a problem where you can get the paddle to intersect the ball when hitting it from the side. A few people have told me it's probably poor coding or a bad tutorial or...
Top