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

Autotile Pillars and Platforms

Discussion in 'Programming' started by OmegaMKX, Feb 14, 2020 at 2:53 AM.

  1. OmegaMKX

    OmegaMKX Member

    Joined:
    Friday
    Posts:
    1
    Hi everybody, completely new person to GMS and honestly little more than a novice programmer here!

    I'm trying to find a way to make platforms and columns that can be stretched into variable lengths and widths. If I were to just stretch out a sprite in the room editor, it stretches the entire thing, which distorts the image. So I'm trying to use the autotile feature, in order to just draw out whatever pillars and platforms I need into the length and width I need them to individually be.
    In doing so, I drew out a 32x64 pillar sprite (leaving space for the first empty tile that I know the autotiler needs), and created a tile set that divided the image up into 7, 32x8 sprites. I then attempted to use the built-in 16 sprite template such that it only uses sprites only for tiles that are attached above, below, or both. However, the autotiler is not accepting this, and merely turns red.

    I am guessing that I either am using the incorrect tiles (I can't decipher the format images, and the explanation on the documentation was completely unenlightening in this regard), or that what I am attempting to do is completely impossible. And even if it is, I could very well be going about this in a completely ridiculous manner. If any of you know of either a solution to the autotiler or a more correct and proper way to create variable-length platforms and pillars, please let me know!

    Screen Shot 2020-02-13 at 8.50.39 PM.png

    Screen Shot 2020-02-13 at 8.50.57 PM.png
     
  2. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    7,144

Share This Page