Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Issues with scripting layers + How to call script + Chrome popup?

A topic by san_ado created Jul 05, 2020 Views: 261 Replies: 6
Viewing posts 1 to 3

Hello! I have been having a few problems with this plugin that I was hoping you could help me with. Also please keep in mind that I'm not very code-savvy, so you might need to dumb things down a bit for me unfortunately :)

1. In the "configurations" section of the example config file, both "alta" and "default" call upon their layers with two numbers in square brackets. Is each number just the sequence of the layers in the "layers" segment of the script? So calling [1, 0] would call the second and first layers in the "layers" segment respectively? Or is something else going on here?

2. I have tried to use the background  on both a troop, and the event that calls the troop, with no luck. Neither of them display the desired configuration (I've just stuck to trying to call default for now). Equally, the letterboxing effect hasn't been working either, so I would assume the plugin simply isn't activating for the troop. How might I fix this problem?

3. Every time I playtest my game, a Chrome popup appears alongside it. How do I get rid of this?

Thank you!

Oh, do you think it could have something to do with the JM_EarthboundBackgrounds.js.map file? I couldn't figure out where that went, so I just put it in the plugins folder with the actual .js file.

Developer

1. Yes, that's exactly what going on.

2. Can I see your plugin settings, and the troop that's being used?

3. Oh, that's a setting that goes off whenever something is going wrong, so what does it say in the "Console" of that popup?

4. You don't really need the .js.map file. It just really helps by giving me a way to get locations of errors from the release version, so ya, just put it beside the .js file/

Oh I figured out what was going on a while ago, in some of your coding you forgot to change some code calling a .json file when you updated the file to a .hjson file. Once I fixed that up everything worked perfect. Thanks for getting back to me though!

Developer

Ah, thanks for catching that. Lemme add a little fix.

Developer

Posted! https://jengamon.itch.io/jms-earthbound-backgrounds-for-rpg-maker-mv/devlog/166938/fix-script-defaults

Have all your questions been answered?

Yeah that's all, thanks! The plugin's awesome btw