Skip to main content

MapLock

Banner

Welcome to MapLock, a package designed to make remapper less repetetive, while also giving some helpful effects such as despawn() which will despawn any environment peice (of your choice) to make room for yours! Tutorials/explanations for each function can be found in the docs If you have any questions or would like to add to this repo dm me on discord @splashcard__#2121. Feel free as well to pr your own functions classes, ect. (make sure they are in the src folder and formatted as mine are)

Example functions:

//moves the entire environment to -9999 on th y axis evectively despawning it
despawn("Contains", [
    "Environment" // the thing(s) to remove
])

or

//initializes rm environment class and uses rgb to modify
const note = new Note(0, 10)
note.color = new rgb([255, 255, 255, 1]) //white rgb note value
note.push();

or again

//animate player and notes at the same time
animatePlayer(0, 10, [
    [0, 0, 0, 0], [0, 10, 0, 0.5], [0, 0, 0, 0, "easeStep"]
])

you can find all functions and detaild explanations of them at the wiki as stated before, thank you for reading and I hope all the functions work have a good day.