wall

  1. xS89Deepx

    BOX and wall collide

    How to stop BOX when collide with wall, the box don't stop when collide with wall, it just going through the wall, need help :) here is my code --> // Horizoltal push if (place_meeting(x+hspd/2,y,obj_box)) { var _block= instance_place(x+hspd/2,y,obj_box); with(_block) { x...
  2. peter798

    Objects getting stuck inside walls when using dynamic mp grids

    Hello! I implemented dynamic mp grids from this guide, and it works, but the objects often get stuck inside walls. Why? I have made a video showing it. Video: Janky dynamic pathing
  3. F

    Invisible walls

    Hello friends! Please suggest a solution. I use the ready-made template of the game "Fire Jump" for the GML Visual. How can I add invisible walls on the left and right as in the photo And if there is a minute of time, then how to make it so that every 2-3 minutes an object that would kill...
  4. M

    GameMaker Collision not working on a specific variable

    If I try to make the player stop moving when touching by updated xSpeed and ySpeed respectively, nothing happens. I've used this code before and its always worked, but for some reason now its giving me issues. I know collision is being detected because if I use moveSpeed instead of xSpeed or...
  5. M

    GML Visual Character gets stuck on wall while moving right.

    So I'm trying to make wall that will stop that will make the player stop but holding right on the wall while moving just get's you stuck. Here's what I mean also here's the "code" for right key down and for the player colliding with the wall sorry this is messy I'm not used to forums lol.
  6. P

    Wall having it's collision where it shouldn't

    Im having a problem with my wall collion for a long time and i cant continiue its colliding in place where it shouldn't and in some places don't collide
  7. firestar

    SOLVED Whenever my character is next to a wall and jumps it bugs

    Whenever I am touching a wall and jump my character starts to move up and down violently and I want to fix is. Is there any to fix this? Also I don't know how to link a video to this post where it shows the bug
  8. Z

    Collisions with objects + sliding on walls

    Hi everyone. I'm trying to make collidable objects, of many different types. For now, I'm using walls as a test case. What I want to do is this: the player should collide with a wall object and still be able to move except where there is a wall. This is the setup (that can not change): 1)...
  9. F

    SOLVED Solid Walls

    Hello i m beginner in GMS2 and my problem is I want my character to stop when it hits the wall, i tried more than 10 things but couldn't. Thanks in advance (My English is not very good, sorry if I wrote wrong)
  10. F

    Wall collision

    I have a problem, I did an object for collisions to put it in the walls (this object is solid) and in the action I did this when collide with the character, but when collide with the character, he slips to the right and when the wall is in the left, the camera don't stop shaking. What can I do...
  11. D

    GML Visual Jump and wall climb

    Hello to all. I have just started using Game Maker 2 with Drag and Drop. I know many of you will be against using them, but I know nothing about programming. I was able to insert the first walking animations, but I am continuing to experiment. At this point I am stuck. I wish the character when...
  12. F

    Problems with the walls

    Please I need some help. When I jump touching the wall, my character flies sliding and I don't know why. Looks like the wall has soap.
  13. D

    Windows Player Clipping to Wall

    Hello everybody, I am currently working on a 2D platformer, and have run into an issue. The player seems to be getting stuck in walls when walking left, but not when walking right, and I don't have a clue why. Perhaps a fresh set of eyes can help me. Create Event: Step Event: Any help will be...
  14. E

    Windows (literally fourth game) Can't make the character walljump in Metroid Fan Game

    So, this is literally my fourth game ever, and i want to make a metroid fangame. I followed a basic tutorial, and changed the controls to make it feel like Super Metroid (gravity, Gamepad, Jump height, etc) and i don't know how to make a WallJump (on the same wall) Help? {...
  15. Posho

    GameMaker [Solved] 3D Walls in Studio 2

    Hello, With the death of d3d functions, I've been having to fiddle with vertex buffer functions which is a completely new ground to me. Whilst I was able to pull off drawing floors with textures, I can't properly pull off walls. Can anyone who knows how this works, please help me with this...
  16. Alexir

    GML Top-down game wall collision

    I'm creating a top down shooter, and I want walls that keep the player from going out of bounds. I've got some code set up that works pretty fine: (Keep in mind, my player character is named Eddy) //up and left if(place_meeting(x+eddyspeed,y,obj_wall)) { obj_Eddy.x = obj_Eddy.x - 5 }...
  17. Divinik

    Shaders Only draw part of sprite that isn't blocked by a wall?

    I have a cone of vision for my enemies, and I want it so that the part of the cone that is through a wall doesn't get drawn, and maybe also have a line drawn where it is colliding. Something like this: https://drive.google.com/file/d/1sYwbd0rosreMgZuA9t8khvZcK9nfsyTm/view?usp=sharing Any ideas...
  18. M

    Bullet collides but not at the same time

    i set a certain type of bullet stop when it collides with a wall, but for some reason in the next step its not colliding with it, this happens randomly but i never use rng(except for visual effects) obj_bullet step event: var block; block = instance_place(x,y,obj_solid); if (block != noone){...
  19. P

    Can't figure out how to wall hug (Drag and Drop)

    Hi everyone, I have a top-down game I'm starting to learn, and I've got the directional change etc down pat, and the collision with the walls works. However, when I collide with a wall I cant move along that wall while walking diagonally. It seems to almost stick me to the wall and restrict my...
  20. P

    Collision error [HELP]

    Hello! I need help with my collision, I'm a complete beginner when it comes to GML all my codes are just from youtube. However, I've been trying to fix a smooth collision with my objWall for several days now and I'm exhausted. I got help from many people who told me the problem but never...
Top