• 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 error

  1. 01Warlock10

    SOLVED Collision For Right And Down Movements 1 Pixel Off.

    Hey so I'm using a tile based collision system, but for some reason collisions for right and down collisions are one pixel off, stopping one pixel before the solid tiles, but it works just fine for the left and up collisions, always stopping when it collides with the walls, does anyone know...
  2. Marquitos3000

    Windows COLLISION PROBLEM

    Hi, I´m making a plataformer game and I have this script for the player step event: var hor = keyboard_check(vk_right) - keyboard_check(vk_left); if (hor != 0) { if place_free (x + hor*2.5, y ){ x += hor * 4 } image_xscale = hor } if (keyboard_check_pressed(vk_up) &&...
  3. IceTray

    GameMaker Asteroids in my space shooter are sticking together.

    I have been following a youtube tutorial called "My First Game" to make a space shooter in drag and drop. I decided it would be cool to have the asteroids bounce off each other when they come in contact so I made a collision event on the obj_asteroid with a set direction variable that changes...
  4. S

    Swing Physics code broke after 2.3 update.

    I've read the release notes on the Gms2.3 update and it seems like nothing (that should effect my code) has been changed. I'm making a sonic game and I programmed a swing to move sonic accordingly when it's in motion. The code was fine till after the update. Sonic will move along in the correct...
  5. A

    /// @arg x /// @arg y return place_meeting(argument0, argument1, oCollision); not working

    Hello I have oCollision and everything prepared but it just gives me this error when I try to run it and Idk what to do please help I did everything properly and the red signal error doesn't show up it shows as it works but then it gives me this error telling me it's wrong please help...
  6. O

    Player to Object Collision Issue

    So I've recently started getting into Gamemaker Studio 2 and was following videos by a youtuber called FunBox. I ran into some problems when play testing the code. Whenever I moved the player toward an object with collision the player would eventually get stuck and would not be able to move...
  7. T

    GML Helping to understand an error here?

    Hi, my error comes when I have set an obj_floor as my ground and walls to collide with. And then I have an obj_tranparentwall that looks exacly the same than the floor but it has no collision with the player. in my collision sistem I have this: if place_meeting(x + hsp,y,obj_floor) {...
  8. V

    GML My enemies are stuck in the ground (SOLVED)

    Hello! ;3 I'm working on a 2D-Platformer and I've created an enemy object. They can be defeated and they could walk from wall to wall. But they don't. When they collide with the ground they turn left and right quickly. And I don't know why. This is my code in the Step event: vsp = vsp + grv...
Top