1. TailBit

    SOLVED Tile collision rectangle

    I have seen the tile collision tutorial with slopes, pretty neat, but I've been trying to figure out how to detect where to end up when you will hit the ceiling, and I have more rectangular collision box.. For the first one, I did manage to figure out that I had to find the room between them on...
  2. FullCup

    Circle collision stuck in block.

    Could someone help me about the circle collision, I'm creating a game like 'Among Us' (movement), and I think a circle mask would be cool. However, it is hard to make the collision system so as not to get stuck in the block. How I'd like to do: You're just moving to the right, but the collision...
  3. VerdeBoss

    Slope inconsistency

    So I'm having a little problem about my slope inheritance code where players y position will follow through the assigned formula from each slope instances it collides on When the player follows through the terrain, player will get interrupted by issues such as "jumping five pixels up" upon...
  4. HaloElite

    [SOLVED] getting stuck while walking on slopes

    I'm using this part of code to walk up slopes: if(keyboard_check(vk_left)){ hsp = -4; }else if(keyboard_check(vk_right)){ hsp = 4; }else { hsp = 0; } // Slow down opposite x-movement when jumping if(sign(hsp) == 1 && moveL || sign(hsp) == -1 && moveR) hsp /= 2; if(sliding == true)...
  5. MaxLos

    Legacy GM Image Angle on Slopes [Solved]

    Hihi, I currently have my player object rotate whenever it's on a slope. Player rotates fine but I'm having trouble figuring out how to only rotate the player when their fully on the slope. Right now I have it set up to just draw the sprite at the right angle whenever it's colliding with a...
  6. Edwin

    Help me figuring out how to place object relative to player position and its start position.

    Hello, people. I'm trying to make Castle Crashers like movement by creating a ground objects (slope, basic blocks, etc.) and moving them into player's vertical position every tick but they should move relative to their position too, not only the player position, otherwise they will aligh in the...
  7. Edwin

    [Solved] Player get stuck when go up slopes straight to wall.

    Hey, it's me, Edwin again. yey So basically a weird problem that I have is when player goes up via slope, and then right after it player collide with the wall, player get stuck. It looks like this: This is my Step Event code: /// Step Event // Movement if (keyboard_check(vk_right) &&...
  8. Edwin

    GML [SOLVED] Having some problems with slope movement and collision.

    Fixed by myself.
  9. D

    GMS 2 Moving through jumpthrough slopes while on jumpthrough platform

    I've been working on jumpthrough slopes and I got it mostly working, the only issue I've now is that while I'm moving on a jumpthrough platform and the player moves through the jumpthrough slope the player gets stuck horizontally, the player will still be able to jump out of it though. Here is...
  10. NeZvers

    GML Grid collision system with slopes (keep ignoring)

    EDIT: Thanks for help!
  11. J

    3D collisions on a race track using pre-determined nodes

    Hello :) Thanks so much to anyone reading this post. I've actively been programming and designing in GameMaker for about 7 to 8 years but I cannot recover my other community account so I've made this one to post my issue here. I'm currently designing a 3D racing game with models imported into...
  12. Edwin

    GML How to check the closer the object to the point, the great it's y-position and vice versa?

    For example, I have player object and any X position (or special object), and if player get near it, player goes upper, like for pseudo slopes, because my game has no collision objects like in platformers, but just "y-floor" variable that sets the y-position where player stop falling.
  13. E

    Tilebased slope collision

    Hey guys, I am curently programming a 2d platformer. For collision detection I am using tile based collision. The problem iam facing at the moment is slope collision with upsidedown slopes. i somtimes clip into them and i dont know why... :/ maybe someone could help me with that. Here is my...
  14. Z

    GML Slopes GML

    Hi there. Part from code is from some Tutorials of Shaun Spalding It does work in slopes, but only in the way up. And it doesn't works if the player collides with multiple platforms Please tell me if you know how to fix it. I will explain some variables and then the code: grav = Gravity Hsp =...
  15. G

    Legacy GM Slope collision, what's your method?

    I want my character to be able to walk up and down slopes (platformer perspective). Do people generally use precise collision checking with a few different slope sprites or is there a better way? Thanks!
  16. W

    PLEASE HELP Going up slopes platformer

    how do i go up slopes on platformers? my code i have atm //Get the player's input key_right = keyboard_check(vk_right); key_left = -keyboard_check(vk_left); key_jump = keyboard_check_pressed(vk_enter); key_jump_held = keyboard_check(vk_enter); key_down = keyboard_check(vk_down); //React to...
  17. W

    [Un-Solved] Platformer Going up Slopes

    What i have so far //Get the player's input key_right = keyboard_check(vk_right); key_left = -keyboard_check(vk_left); key_jump = keyboard_check_pressed(vk_enter); key_jump_held = keyboard_check(vk_enter); key_down = keyboard_check(vk_down); //React to inputs move = key_left + key_right; hsp...
  18. H

    Platformer slopes ?

    Hello ! First: sorry for my bad english. I really need your help because I searched very longtime tutorials on Youtube and internet but I did not find what I searched. So, I post here. I want to make a platformer game with perfectly curve and smooth ground. But I want my sprite to be...
  19. M

    Legacy GM GBA-Styled Kirby Slopes

    Hey, Game Makers! I haven't posted in a while since I was getting help from my friend, Jo-Thijs on skype with my Kirby project. We were doing so well, until when starting work on the slopes, we have no idea how to implement them correctly. We need help on implementing and making the slopes work...
  20. A

    Windows Infinity Slope

    Infinity Slope is a free skiing game designed for Windows PCs. It's simple to learn and fun for people of all ages. Requirements: A modern PC running Windows XP, Vista, 7, or later. A DirectX 9 (or later) compatible graphics card. A DirectX 9 compatible sound card (or integrated sound chip)...