horizontal collision

  1. Adriano_ppaula

    Help with collision with ramps

    Hello everyone! ^^ I'm in need of help with my game's collision system. For some reason I can't explain, the collision with the ramps only works if I repeat some place_meeting, the problem is that this ends up leaving the game very poorly optimized and with the new GM2 update I realized that a...
  2. L

    GML [Solved] Horizontal collision problem with Enemy Object

    So I was making a platformer using a tutorial from Shaun Spalding, and it was a little outdated but overall working fine, until I got to this specific line of code with the oEnemy object in the step event. if (place_meeting(x+hsp,y,oWall)) { while (!place_meeting(x+sign(hsp),y,oWall)) {...
  3. RyanC

    Legacy GM [SOLVED] How to check if a colision is horizontal or vertical

    Hi All, Does anyone know a reliable way of checking if a collision is horizontal or vertical. I'm trying to make a system where my player can only tackle enemies from above or below. This code only seems to work from the right! (sprite width is 64 with centered origin) if x < other.x {...
  4. H

    Legacy GM [Solved] Need Help for Horizontal Collision - Stuck in Corner of Walls

    Version: Standard Edition (v1.4.1763) Experience: 4 days Hi everyone, I'm brand new to GameMaker and any type of coding in general. I'm also not the brightest individual, so I hope you can bear with me! I understand there are quite a few of these topics, but I was unable to find a solution in...
Top