1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

GMS 2 GameMaker Studio 2 - Tile collision + slopes

Discussion in 'Tutorials' started by ShaunJS, Sep 29, 2017.

  1. ShaunJS

    ShaunJS Just Another Dev GMC Elder

    Joined:
    Apr 12, 2016
    Posts:
    148
    GM Version: 2.0+
    Target Platform: All
    Download: https://shaunjs.itch.io/shauns-platformer

    Summary:
    I wrote a system for making a tile based platformer with arbitrary slopes and paired it with a big tutorial video that demonstrates the slopes part and how it works.

    You can download the base code and follow along with the tutorial for free, or pay $2 or more to just get instant access to the final project code.

    Tutorial:
     
    Rukiri likes this.
  2. SheeplessDev

    SheeplessDev Member

    Joined:
    Jun 17, 2019
    Posts:
    6
    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?
     
  3. scorpafied

    scorpafied Member

    Joined:
    Feb 8, 2019
    Posts:
    22
    this is explained within the first 6 minutes of the video. if u dont understand it then u might want to think about checking his previous video on the topic.

    to sum up he shows u how to change the tile size. in regards to player size it shouldnt matter as it uses the bounding box dimensions for collission not the sprite size.
     

Share This Page