Hey, I want to bind a picture to the map however my current issue is that the image is following the camera. Example: https://i.imgur.com/rjlEkpg.png https://i.imgur.com/B86OZro.png.
Trouble binding a picture to the map
RPG Maker MV Supportare you using a bind picture to map plugin?
Should've probably added that in the post, I am as far as I know. https://i.imgur.com/OTeRfBz.png https://i.imgur.com/m9myq8A.png
You need to replace PictureID in the plugin command with the ID of the picture.
Code:
BindPictureToMap 1
I don't know the plugin but you should probably replace "PictureID" by the actual number id of your picture in the plugin command.
EDIT : Nevermind, Shaz was faster. 😉
EDIT : Nevermind, Shaz was faster. 😉
I don't know that plugin - have you renamed the plugin file?
If yes that might be the cause - 80% of all larger plugins break if their plugin file is renamed.
If not please provide a link to its Website.
If yes that might be the cause - 80% of all larger plugins break if their plugin file is renamed.
If not please provide a link to its Website.
The plugin was definitely renamed - you also need to make sure you declare the layer as well! The instructions as well as the plugin file download are linked below (don't change the name when you save it and you're good to go)!
http://mvplugins.tordamian.com/plugins/bind-pictures-to-map/
Yeah I renamned it, didnt know that I should've kept it the same. Thats my bad, I'm new to this and was just toying around cause I'm a dummy.
Thanks a ton! Was able to figure it out after renaming things and toying around with the plugin code.
Try not to double post, just edit your previous post if you've got something to add 🙂
I'll go ahead and close this then.
I'll go ahead and close this then.
Moderator note: Re-opened, as it is necessary to clarify a few things with the OP.
Thanks Kes 🙂
In this case, the name of the plugin does not matter, as there are no plugin parameters. The original instructions you were given - to replace PictureID with the number of the picture, was all that was required.
I also wanted to point out that you should put an Erase Event on your parallel event, after the Show Picture and Bind commands. Parallel events (and autorun) loop by default - they never end unless you specifically tell them to - they just work through to the last command then go back to the top and start all over again. In this case, they're going to repeat the show picture and plugin commands endlessly, for the entire time you're on the map. This is one of the big things that causes lag. Showing a picture and binding it to the map is something you only have to do once - not 60 times per second for the entire time you're on the level. So putting an Erase Event command at the end will let it do its thing, and then get out of the way.
Unless you also want the picture/binding to carry over to other maps, you will have to add an Erase Picture command (and maybe an unbind command?) whenever you leave this map. When you return, the parallel event will again be loaded, do its thing (show the picture & bind), and then get out of the way again.
In this case, the name of the plugin does not matter, as there are no plugin parameters. The original instructions you were given - to replace PictureID with the number of the picture, was all that was required.
Does this mean you actually edited the plugin code - the javascript that you downloaded? Or just the plugin command? They are very different things.
I also wanted to point out that you should put an Erase Event on your parallel event, after the Show Picture and Bind commands. Parallel events (and autorun) loop by default - they never end unless you specifically tell them to - they just work through to the last command then go back to the top and start all over again. In this case, they're going to repeat the show picture and plugin commands endlessly, for the entire time you're on the map. This is one of the big things that causes lag. Showing a picture and binding it to the map is something you only have to do once - not 60 times per second for the entire time you're on the level. So putting an Erase Event command at the end will let it do its thing, and then get out of the way.
Unless you also want the picture/binding to carry over to other maps, you will have to add an Erase Picture command (and maybe an unbind command?) whenever you leave this map. When you return, the parallel event will again be loaded, do its thing (show the picture & bind), and then get out of the way again.
Original thread: https://forums.rpgmakerweb.com/threads/trouble-binding-a-picture-to-the-map.92743/