The reason to keep it consistent is so that people know how it will behave and can work around it. We already have a means of shifting it down the 6 pixels by simply making a !blank.png as the event image. But if we automatically shift it down, what if the person wants it centered and not those 6 pixels down? Then we would no longer have an easy way of fixing that.
Referencing variables is actually trivial speedwise, so that's not the issue imo. The main reason I'd be hesitant to add a plugin param for that is that, frankly, I'd rather find out why "Y" needs it while "X" doesn't, then fix it there. I'm actually kind of against the Screensize X and Screensize Y plugin params too since they're also bandaids of sorts. The width/height of the project can be accessed via Graphics.width or Graphics.height in both MV and MZ, after all.
True a single variable reference isn't much. And for most plugins they are called so infrequently that you could add a 100 variables it wouldn't make a difference. The scope of this plugin is really so much more though, that variable will be referenced 60 times a second, and 3,600 times a minute... For each light source. So the player plus just 4 lightsources is 18,000 references to that variable a minute.
Even then, yes one non-global variable won't matter much. But each new one added places that extra burden on the plugin. The numbers are quite exponential, and that's really the issue here. Which if Javascript wasn't a single core language (without using Workers), it would probably matter less. But due to it's inability to split up instructions between multiple cores, we really only have access to a maximum resource of whatever one core of a user's processor is.
That aside, that's a actually not a bad idea with the whole Graphics.width/Graphics.height thing. I didn't even think about it. It does seem a silly thing to provide those settings, especially when plugin parameters are significantly worse on performance than object references. Going to push that change to the UMC plugin for testing.
:LZSexcite: