Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

10 years ago by hschillig

I apologize. I accidentally posted this in the Code category.. not sure how that happened.. must have been dazing off that day really bad. But this was my post:

"How exactly do you load a weltmeister plugin into your code?

I'm trying to use this floodfill plugin, but I can't get it to even load since I'm not sure where to even put the plugins. I viewed the old board, but the config for weltmeister has nothing about plugins and when I add my own section called 'plugins': { }, it errors out.

Thanks for any help."

10 years ago by Joncom

Have you seen this already?

10 years ago by hschillig

Yeah I have this at the bottom of my config:

'plugins': ['weltmeister.plugins.floodfill']

But I load weltmeister up and F doesn't floodfill... I just put this: https://github.com/jeroenverfallie/wm-plugins/blob/master/lib/weltmeister/plugins/floodfill.js into lib/weltmeister/plugins/floodfill.js

10 years ago by Joncom

Mind providing the exact error message?

10 years ago by hschillig

There is no error message... Weltmeister loads perfectly fine, but the package doesn't seem to work.. I mean it may be an error in the package and if that's the case, is there any workaround to fill an entire canvas space? Like if I want the entire thing filled with grass so I don't have to paint every single tile?

Thanks..

10 years ago by Joncom

Workaround: Draw a bunch of grass tiles. Then hold shift and select a bunch of those grass tiles. Now you can draw many grass tiles with a single click. Repeat this process to make your "paint tool" bigger and bigger. You should be able to fill a map in no time with this method.

10 years ago by hschillig

Never really thought of that. =) Haha thanks :P
Page 1 of 1
« first « previous next › last »