Search Unity

3/4 Perspective RPG - How are Stairs/Slopes made?

Discussion in '2D' started by GazingUp, Sep 7, 2019.

  1. GazingUp

    GazingUp

    Joined:
    Jun 16, 2015
    Posts:
    271
    I don't know why but I cannot find a single tutorial or any thread regarding stairs and slopes for 3/4 RPG Pixel art games.

    How do you create the tiles/sprites for staircases and slopes in these games?

    Following are examples:







    How are the stairs drawn? Are they tiled? Or sprites? I couldn't figure it out. And also - they seem to elevate the player from one sort order to another sort order. That I can figure out somehow - but I just can't figure out how to "draw" the stairs into the scene? Any advice?
     
  2. Helladah

    Helladah

    Joined:
    May 5, 2018
    Posts:
    254
    usually they are just drawned in paint for example, and dropped into the scene, usually as a prefab, you can add some collider with a proper tag to change the animaiton whenever the player gets into the "stairs" zone, i guess