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

slopes

  1. H

    Move_and_collision slope help

    I'm making a platformer game, with 16x16 sprites and followed steps from Shaun Spalding's videos and other such tutorials on YouTube and this forum. The code I wrote is very accurate to what I followed, but when I tested it, it's annoying to me It's scratchy when I climb up, and bouncy when...
  2. Pavel

    GML Vibration on slopes with move_and_collide

    Hi, I have an issue with the slopes, I've recorded a video to demonstrate the problem. Because tiles for slopes to work with move_and_collide require precise collision, with the low-resolution sprites, it is visible how the character kind of jumps from one pixel to another while going down...
  3. 2

    2d Box Physics Platformer: Getting the Player to Walk Slopes

    I think using 2d box physics might solve a lot of problems for making a gravity and physics based platformer. How would you make the player walk up and down sloped terrain without rolling around like most other physics objects do in that system? How would the player stop on a slope if they need...
  4. CardinalCoder64

    GML Guide to Basic Slopes Using Linear Math and Geometry (Object-Oriented, Top-Down)

    GM Version: 2022.1+ Target Platform: All Download: N/A Links: Basic Slopes + PPOBC* Projects (GitHub) *Pixel-Perfect Object-Based Collision. Learn more. Summary: In this guide, you will learn how to implement basic object-oriented slopes in a 2D top-down game* using linear math/equations and...
  5. turtmip

    About Shaun Spalding slope collision video

    I dont know how to convert tile collisions to actual objects like the complete platformer videos which of Shaun Spalding which use objects instead of tiles for there collision, is there a way to actually program slopes like objects instead of tiles if that makes sense.
  6. SusieUndertale

    SOLVED (SOLVED) Hugging Walls in a Topdown RPG

    Okay, so I've got an overhead RPG similar to EarthBound or Chrono Trigger... The green rectangle is the player, with a small pink hitbox and their origin set to Bottom Center. The blue squares are solid objects, and there are diagonal solid objects as well, with precise hitboxes. When you walk...
  7. P

    Character movement stuttering while exiting a slope

    Hey everyone, I bring to you today a classic, the old character stuttering while getting out of the slope issue. I should note that the character doesn't get stuck, but if I dash and speed increases while exiting the slope, the character stops for a tiny moment and exits, but its enough to...
  8. Adriano_ppaula

    Help with collision with ramps

    Hello everyone! ^^ I'm in need of help with my game's collision system. For some reason I can't explain, the collision with the ramps only works if I repeat some place_meeting, the problem is that this ends up leaving the game very poorly optimized and with the new GM2 update I realized that a...
  9. yashamatt

    oneway platforms that are also slopes

    So I have been fiddling with this for a while now, trying to adapt my spaghetti code to allow oneway platforms that are also slopes. I am quite new to coding in general but I do have slopes and oneway platforms working properly in my side-scrolling platformer, however, my oneway platforms that...
  10. H

    Question about Shaun Spalding's Tiled Slope Movement Tutorial.

    Name of the tutorial: Gamemaker Studio 2 - Slope Tiles for a Platformer In Shaun's Tile Slope Tutorial, he mentions (timestamp 2:06) that there is a limitation that you can't leave slopes ending halfway. He says the fix to this isn't too hard but I have some trouble with it. I am attempting a...
  11. Schtipadoo

    GML Big help with slopes, skate physics

    the ones not tagged with optional i can do so myself i would apprecieate all help of any kinds i wanna make a game about skating, the style of movement is gonna be similar to the 2d sonic games heres my character code ///create event //visual variables draw_xscale = 1; draw_yscale = 1...
  12. B

    Trouble getting my head around tile-based Ceiling-Slope-Collision

    Hello everyone! I have tried for a couple of weeks now to get my platformer collisions to work properly in GMS2. I have followed both Mike Dailly's and Shaun Spaldings tutorial on the matter but they only ever create the floor Collision for sloped tiles, I need the ceiling tiles to work much...
  13. Z

    SOLVED collision_line algorithm different from draw_line?

    I can't pinpoint what I'm doing wrong. The concept is a rectangular object navigating slopes (collision line). Im using draw_line to debug, but it "looks" like the collision line is off by just a few pixels, which is enough to throw off the whole system, but only in a certain quadrant. I'm...
  14. S

    (SOLVED) Need help with Slope collision & Movement

    I want to make a smooth collision with slopes. I made that script but then it collides with the slope, this happens: I followed a lot of different tutorials and no one worked. It always make the player jump or climb this slow and pixel by pixel, which is very weird. Look at the following...
  15. H

    Need help with slopes in obj collision based platformer

    [URGENT]I'm using Shaun's platformer movement code and I'm able to jump and move horizontally. What I don't know how to do is add slopes and move up and down them so as to reduce the linearity in the game. This is the last piece I need to complete all the components I need for the game. This...
  16. 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...
  17. S

    Slope, tile collision, obj collision (help needed)

    How do I make tile collision and slopes work if the player is 32x32 while the tiles are 16x16? furthermore how can I design it to be functional with obj wall collision? I wanted to have slopes and stairs for my 2d platformer. I've been following Shaun Spalding's tutorial on tile collision and...
  18. LunarTaqq

    GameMaker I can't seem to get my character to go down slopes :(

    I'm quite a beginner when it comes to Game Maker and mostly programming in general, so please understand if my questions are super basic. I am trying to create a platformer game. I have worked out basic movement, animation, and collision. The problem comes when I try to implement collision with...
  19. LunarTaqq

    GameMaker I can't seem to get my character to work on slopes :/

    Hey! This is my first post here and I'm kind of a beginner so I might not know exactly what I'm doing. I'm attempting to make a platform game, and I am trying to be able to have my character run up slopes. The only kind of slope I want in the game is a 45 degree one, so I know I don't need to...
  20. Fulbo

    GameMaker [Solved] Tilemap-Based Slope Collision Bug

    Hi everyone! So I'm working on a project to create a small Sonic engine, based on the guide written here: https://info.sonicretro.org/Sonic_Physics_Guide I've run into a bug (one they said I would) within the Solid Tiles section, particular the 'Slopes & Curves' part. I'm using tiles for my...
Top