How does the 'Star' tile make sense?

Discussion in 'RPG Maker VX Ace' started by Seriel, Jul 9, 2015.

  1. Seriel

    Seriel Veteran Veteran

    Messages:
    3,018
    Likes Received:
    508
    Location:
    Wales, UK
    First Language:
    English
    Primarily Uses:
    Other
    In the Top Left of some Tilesets (Mainly pack ones) there is a star tile in the Top-Left.

    While I undertand why this is here, how does it not affect the map when placed? @_@


    Picture (Not from a Pack tileset) (From here)

    [​IMG]
     
    #1
  2. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,564
    Likes Received:
    14,247
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    It keeps upper tiles on top and retain their 4 direction passability and is pretty much an invisible tile. Just don't touch it :)
     
    Last edited by a moderator: Jul 9, 2015
    #2
  3. Seriel

    Seriel Veteran Veteran

    Messages:
    3,018
    Likes Received:
    508
    Location:
    Wales, UK
    First Language:
    English
    Primarily Uses:
    Other
    Wait... does the Top-Left tile always show up as nothing even though there is something there? (Like the star)
     
    #3
  4. Mihel

    Mihel Veteran Veteran

    Messages:
    384
    Likes Received:
    45
    Yep. It is not meant to be a regular tile.

    People often forget that the passability of that tile should not be tampered with, the star is there as a reminder.
     
    #4
  5. Andar

    Andar Veteran Veteran

    Messages:
    28,333
    Likes Received:
    6,445
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    Basically, all tiles are numbers on the layers. The first tile of B gets the number zero because that's where indices start.

    Now the map has "number storages" on every layer - similiar to variables. Because all those places have to have a number defined, an entire empty map has the upper layer automatically filled with zero - which is the index number for the first B tile.
     

    To prevent grafical mistakes, the programmers placed one override that always turns the zero-tile (the first B tile) transparent, no matter what is on the tilesheet - otherwise the map would be filled with whatever grafic is on that tile.

    Unfortunately they forgot to place a similiar override for the other data of the zero-tile, which means the entire map is automatically filled with the passability setting for the first B-tile.

    If that is impassible, the player cannot move

    If that is passable, the player walks on walls

    But Star-Passability means "I have no passability on the upper layer, look at the lower layer tile for passability" - that is why the first B tile always has to be set to star, or the passability on that tileset is broken.
     
    Last edited by a moderator: Jul 9, 2015
    #5
    cabfe and Seriel like this.
  6. Seriel

    Seriel Veteran Veteran

    Messages:
    3,018
    Likes Received:
    508
    Location:
    Wales, UK
    First Language:
    English
    Primarily Uses:
    Other
    Thank. That makes perfect sense ;)
     
    #6

Share This Page