tile colision

  1. C

    SOLVED 2D topdown tile collision, stuck to diagonal move

    Hello there, I'm new here. I make tile collisions everything works fine, except when I have to make diagonal movements when the bbox_top or bbox_bottom collides with a tile. I don't understand what it's like šŸ˜­. At the level of my code I have my Tile_Collide file which is a function that takes...
  2. figures

    2D topdown tile collision, keep moving if not blocked in one direction when moving diagonally

    Hi, So basically I used an example 2D tile collision method from medium.com and have made some slight changes to improve it for my situation. It works great for 32px x 32px sprite and 16px tileset. I'm trying to figure out what I need to do to add "wall sliding": What I mean is basically say...
  3. Papa Doge

    GMS 2 [Solved] Growing Forest Performance Issues

    Hello, I'm woking on a feature where trees left unchecked grow into a massive forrest. I have two working versions right now but both have performance issues once I get to around 100 trees. I need some advice on how to fix one of my versions or something new to try. /*...
  4. S

    GMS 2 [SOLVED] Tile Collision system snaps x to a grid when jump button is pressed

    Hi there! recently I picked up an old project (a remake of the old platformer game called Crystal Caves) and started changing over all object based collision to a tile based collision system. my starting point was Shaun Spaldings tutorial and the YoYo games platformer tutorial. the problem...
  5. T

    GMS 2 Help with tile collision

    Hi I keep having a problem with tile collision in game maker studio 2, I tried following this tutorial but it didn't work out. Is there a way to add multiple collision to different tile for example if I add one collision set to a tile and add another collision set to another layer of tiles. The...
  6. Papa Doge

    GML [SOLVED] Seeking advice on how to improve tile targeting/highlighting system

    I'm working on a top-down game that's a combination of tower defense and farming sim. In this game, there are different actions the player can do like shoot a gun, plow the ground, water the ground, plant seeds, and place sentries (aka turrets). The system I'm using to accomplish all this now...
  7. Squirtle Plays

    Tile collision

    Hi so when I use this code when I touch wall on the left it teleports my character to where he started in the room any ideas /// 0description Insert description here var dx = move_speed * (keyboard_check(vk_right) - keyboard_check((vk_left))); var dy = v_speed; v_speed += grav; //do vertical...
  8. F

    How to create tile based collisions?

    Hi, guys. I'm new in this wonderful thing of programming and I need a little help. I'm paciently creating a board-like game of strategy (turn based) and i have done the grid and the basic movement in there. The problem isthe following: I want to have a collision system for my armies so the dont...
  9. Gasil

    [Help] Tile collision and movement system.

    Hello everyone, I'm glad to be here, learning at last the ways of game making. It didn't pass much time before I got myself stuck in something I can't understand, could you help me please? I have a movement system which I almost understand for the most part (I used tutorials and such, so I...
Top