walls

  1. Salem Holly

    3D Help with 3D blood decals on walls (GM 1.4)

    In my 3D fps shooter, I have a pretty basic system for blood. It just spawns a flat sprite on the ground, and to keep the game from slowing down, I have an instance check that sees if there are more than X amount of blood decals, and if there are, then it deletes the first ones created. This...
  2. Michael Franklin

    GMS 2 Character is off set in game

    This is my second game i've tried to make and they have both had this problem. I gave up on the first one because it wasnt important to me. This one though I am going all the way through. When I made the collisions everything worked. It looked like this: /// @description Physics //Keys key_left...
  3. M

    Making FPS Wall Switches?

    Not sure where to post this, but what I am asking about may have a lot to do with programming. Okay, this is all regarding the 3D, or "d3d", format. Let's say I want to make a wall switch in my first person shooter. You know, like how you interact with switches in DOOM or Wolfenstein 3D. You...
  4. Kaijyuu

    Windows [SOLVED] Help, room wont let me place wall wherever I want!

    Hello, I've been working with gamemaker studio 2 for 12 days now, got my character moving really good, good sprites and animations but now thatI want to make a room for test this problem appears, there are specific places I cant place my 32x32 pixel walls, I have my first proyect and I dont have...
  5. B

    top down movement collission

    im having troubles with my collision with walls for my top down game. this is my code: vspeed = 0; hspeed = 0; if(keyboard_check(ord("W"))) vspeed -= 4; if !audio_is_playing(so_footsteps) { audio_play_sound(so_footsteps, 1, false) } if(keyboard_check(ord("S"))) vspeed +=...
  6. Gigicom

    GMS 2 [SOLVED] Collision with wall

    Hello I now tried several tutorials for a code that works better than the solid option for collision. But the character always collides with the wall a few pixels away. Here is my movement-code: if keyboard_check_direct(ord("W")){ y -= walk_speed; } if keyboard_check_direct(ord("A")){...
  7. S

    GML I have a problem, and I am beginner

    Hi! I want to make this little platforming game prototype, and I wrote that if object player kills an enemy the object wall will change sprites, the problem is that if I want to change back (by killing another enemy) to the original sprite, the other enemies start glitching through the object...
  8. S

    tile colition fixing

    I was trying to make tile collision but some thing strange happens so i recorded it so you can see what is happening https://photos.app.goo.gl/V9m9Geda7s5QHkF4A so this is what i have for my collision code right now OBJ_player create//: tilemap = layer_tilemap_get_id("wall_colisin")...
  9. P

    Windows 12/19/18 IDE broke my Doors (child of my main collision object)

    Hey guys. I have a door that closes an area during some triggered event. That door is a child of my collision object (or basically my walls and floor) The door was working fine until today's update. now for some reason, player and enemies can pass through the door, unless I exit and come...
  10. Dr_Nomz

    Legacy GM [SOLVED] How do I make the Mask not move, when the object uses image_angle?

    I have a character that looks all around via the mouse cursor, but because of how game maker works, this causes issues when looking around while hugging walls. So I figured just changing the mask would fix it, right? But no, the mask turns with the character. That said, how do I make the mask...
  11. Pfap

    GML enemies "seeing" through tiles

    [SOLVED]Ok, so I have a really nice mp_grid system where I blocked off cells based on whether or not a wall tile was in them. I didn't really plan on what an issue enemies being able to see through walls would be though. The collision_line() function only works with objects. I'm trying to find...
  12. D

    AI Mob Movement with Moving Platforms

    Hello, I have adopted the RTS Group movement system found in the marketplace to create the effect of mobs of units moving towards a single goal (the Player). It works beautifully for moving units and moving them around objects. The only issue I am having is when I try to move a unit around a...
  13. M

    GML Play can walk through walls when angled a certain way

    I have always struggled with creating walls and for that reason I try to create games that don't require them however that's bad habit and I think it's about time I get this resolved. I only know of one way to create walls and that's to check the place meeting of the player and the wall object...
  14. A

    Legacy GM Help with crawling on walls

    -
  15. M

    GML Player gets stuck in wall

    I've been spending the last while trying to create a wall that works fine, I've watched 2 or 3 youtube tutorials but all are giving me the same result regardless; my player gets stuck in the wall and I cannot get out. I want to know what the best way as to go about creating a wall that works...
  16. M

    GML Walls Won't Work

    I'm very new at coding this so this might be an obvious mistake and I apologize but I'm trying to make it so my player cannot walk outside of the room. I created a sprite for the wall which I don't think was necessary actually considering there is no picture for the wall and I created an object...
  17. MagnumVulcanos

    Identifying patterns of object positions in a grid - solved, works as intended

    Works now, here's a look: Thank you all for your help! As you can see this thing ignores walls, (but can still mark them if needed) and will take any floors, to be later added onto an array or flagged or whatever. and it does nothing if it finds an empty space in there, such as a wall being...
  18. M

    sprites & walls

    Hi everyone, I am making a pacman game using game maker. Its my first game. So i create paths for the monsters to chase pac man and I notice that the monsters when they collide with the walls in the maze they seem to be seen to behind the wall and . I know in other languages like lua or python...
  19. S

    Windows Question about tiling

    Hi. I been trying to make a platformer in gamemaker 1.x - thinking about upgrading to gamemaker 2. I have a wall object which is just a black square. I have also made a tileset. When I make a room, I've made the layout using the wall object, stretching it out to fit the walls, stairs, ground...
  20. Nirwanda

    Wall collisions 101

    The tutorials I've seen explaining how to create walls and celing talk about creating a ceiling/wall object and coding the result if colisioning with it. But does that mean I have to make code for every specific wall? Isn't there a way to define a dummy sprite as a wall and/or floor and copy and...
Top