Custom Web Maker 0.0.0

Awesome123man re-upload

  1. dahnae
    Build a Custom web to be used to traverse distances longer than your local region. (Awesome123man re-upload)

    How to use :
    Map area / Auto Map Area will map the current loaded region as a usable web. Walking around until you load additionnal regions will allow you to make a bigger web. This only supports CoordinateVertex, it does not add any obstacles to the web (doors, staircases, etc.)

    In your code :
    At startup, use this to load the web from the generated .nav file.
    Code (Text):
    1. myWeb = Resources.getAsSerializedWeb("com/dahnae/Webs/myWeb.nav");
    Remember to add this web to the resources in your manifest.
    Code (Text):
    1. <resources>
    2.     <resource>com/dahnae/Webs/myWeb.nav</resource>
    3. </resources>
    Then, when you want to go somewhere in your bot, simply generate a path from it and use it like any other path.
    Code (Text):
    1. Path path = myWeb.getPathBuilder().buildTo(destination);
    2. if(path != null){
    3.     path.step();
    4. }
    I am open to suggestions for improvement, but I won't be spending a lot of time on this tool (minor changes only). It is open-source, so feel free to make your own version of it.

Recent Reviews

  1. CuppaJava
    Version: 0.0.0
    Great resource to have on the site, 5 stars to awesome123man and you for reuploading it :)