don't click here

Height Masks

Discussion in 'Engineering & Reverse Engineering' started by FireSide, Apr 18, 2020.

Tags:
  1. FireSide

    FireSide

    Member
    5
    0
    1
    Here in the Sonic Physics Guide, it says that every tile has an associated height masks and angle. I've managed to extract all of the tile shapes from SonLVL, however, I don't have the corresponding height maps and angles. Could anyone help me with solving this problem?

    [​IMG] Tiles I got from SonLVL
     
  2. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,742
    338
    63
    SonLVL
    Those are the height maps. If you want the binary representation, just look in the SonLVL INI to find the appropriate file (16 signed bytes per map), the angles are also listed in the INI. There's also a set of collision indexes for each level that determine which heightmap/angle is used for each block. Also keep in mind that each game has unique heightmaps/angles.
     
  3. FireSide

    FireSide

    Member
    5
    0
    1
    Thank you!