Search the Community
Showing results for tags 'Lukewilde boilerplate'.
-
Hi, long time lurker now, first post. Many years experience in HTML/php, a few years poking around with game design with javascript, few weeks poking at phaser, which has led me to my first experiences working with GitHub, node, and grunt. So you know! This forum has been lots of help on many other problems I've come across. I am loving working with Luke Wilde's phaser boilerplate (https://github.com/lukewilde/phaser-js-boilerplate), and I've succeeded with a bunch of builds using the built in arcade physics, however now I am really wanting to implement point-and-click path finding and I've become totally stuck. I have been trying to integrate the easystar.js plug in (https://github.com/appsbu-de/phaser_plugin_pathfinding) . I've been unable to figure out where in the boilerplate I should be calling the plug in js file so that my game level will recognize it. I get a console error stating it doesn't recognize the path finding variables no matter what I've tried. I've gotten the plug in demo working, but I'm not familiar enough the setup of the plug in git to reverse engineer where it's calling the plug in to make it compatible with the boilerplate. So far all I'm attempting is to recreate the plug in demo in the boiler plate. The game loads okay, the console error comes up when I click on the map. Could anyone link me to an example of the boilerplate working with a plug in, any plug in, or point me in the right direction? maybe just an example of where I would call the plug in js and then how I would reformat the pathfinder variable lines properly? Days of google-fu have been fruitless. I've found documentation on phaser plug ins but not how to implement them. Thanks!