• tabular@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    il y a 1 an

    “FilePath”. Has PackedScene’s functionality where the path to the file is updated when the file is moved in the editor.

    I would use it in place of a string to the next level being loaded. I tend to add subdirectories as I create new worlds. Manually updating strings isn’t so bad but when the fuctionality seems like it’s right there… it sucks. Can’t use PackedScene as each level would require loading the next level and can cause cylic references.