Quick and easy script snippet to lock the tile(s) and parallax background together. (Inspiration from Yanfly - Parallax Lock script) Click to expand...
Features
Locks the Parallax background with the tiles when moving on screen and you will have the ability to turn the script functionality "Off/On" during the game with a script call. Click to expand...
alias :fg7_easy_parallax_map_lock_parallax_oy :parallax_oy
def parallax_oy(bitmap)
return @display_y * 32 if $game_switches[FG7::Easy_Parallax_Map_Lock::Parallax_Map_Lock_Switch] == false
fg7_easy_parallax_map_lock_parallax_oy(bitmap)
end
end
复制代码
How to Use
Add this script in the script editor under in the "Materials" section and above "Main Process".
The instructions and setup for the script are held within the script header itself. No need to repeat here. Click to expand...
Terms of Use
- Free to use in non-commercial projects and commercial projects
- Feel free to modify and improve the script. Credit is still required.
- Credit FamilyGamer7 Click to expand...