-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navmesh interactive demo example (non phaser) #11
Comments
Happy to accept a pull request for something like that. The reason why the node demo for non-phaser environments is so minimal is because it doesn't include any game engine at all as a dependency. That's because I suspect folks using it in a node environment may want to use it for server-side logic. |
@mikewesthad I see, would another simple 2d engine like kontra.js be enough to cover the example demo? |
Ohhh, I see what you are asking about now. You were hoping to see how to use it with another game engine. I don't know kontra.js, but would be happy to accept a pull request with an example demo. If you want to create it as a codesandbox or as a gist/repository, we could link to it from the readme. Alternatively, it could be added as a package under "packages/example-kontra." The first option is probably the easiest/quickest to do. |
Great, yes that was the idea since I am not yet that familiar with it and trying to use it on a custom or generic 2d engine and kontra seems to be simple enough if it gets integrated with it. |
@wini3d got here something up and running: Code |
@Wenish Cool! Thanks for sharing. Does it depend on the server sending some commands to the client for the agent to move? When I load up the client, it just seems to be a sphere sitting there. |
Nevermind - right click to move! Added to the readme. |
This demo does not appear to be working any more. |
perhaps more like a suggestion to have a non-phaser example like the interactive demo.
The text was updated successfully, but these errors were encountered: