Jump to content

Easystar.js - asynchronous pathfinding in javascript


triptych
 Share

Recommended Posts

I knew something of the subject from reading an article on the Build New Games site, which shows you how to roll your own pathing.  But this is stuff from Easystar.js is so impressive, I think it would just use Easystar if I needed pathing like this, assuming it is really is easy to use and is as performant and bug free as necessary.

 

Their home page demo is very engrossing.  I poked around with it for at least 5 minutes.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 2 years later...
On 2/2/2014 at 1:08 PM, spelagon said:

Nice library  ;)

 

Yesterday I wrote a typescript definition for EasyStar.

Pull request can be found here if anyone need it. 

 

Hi,

I'm trying to use your definition file, but I'm new to typescript's module importing and I don't know how to use it.

When I  try to import

import EasyStar = require("easystarjs");

Atom gives me the error: "An import declaration can only be used in a namespace or module."

How should I call it from my app?

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...