GithubHelp home page GithubHelp logo

straightedge's People

Contributors

keithphw avatar

Watchers

 avatar  avatar

straightedge's Issues

Blocking Problem in obstacles with pathfinding

What steps will reproduce the problem?
1. addObstacle to NodeConnector
2. pathFinder.calc
3. move an entity, to pathData.points.get(1)
4. entity suck in corner of obstacles.

What is the expected output? What do you see instead?
The path finding takes no margin over obstacle and it often happens that the 
entity gets stuck especially in corners.

What version of the product are you using? On what operating system?
Use v0.3 (lastest) on Windows 8.1

Please provide any additional information below.
Your work, is very nice, to improve this project, I suggest to add / complete 
javadoc sources.

Original issue reported on code.google.com by [email protected] on 31 Jul 2014 at 1:19

AssertionError in NodeConnector when adding second obstacle

What steps will reproduce the problem?
1. Add a PathBlockingObstacle to a NodeConnector.
2. Add another PathBlockingObstacle to the same NodeConnector.

What is the expected output? What do you see instead?
I expect the two obstacles to be added to the NodeConnector. Instead, I get an 
AssertionError:
Caused by: java.lang.AssertionError
    at straightedge.geom.path.NodeConnector.reConnectNodeAfterChecks(NodeConnector.java:187)
    at straightedge.geom.path.NodeConnector.reConnectNode(NodeConnector.java:74)
    at straightedge.geom.path.NodeConnector.addObstacle(NodeConnector.java:316)

What version of the product are you using? On what operating system?
StraightEdge 0.3 (latest) on Windows.

Please provide any additional information below.
If assertions are disabled, I get no assertion error (obviously), but it works 
perfectly fine.

Rendering is done using LibGDX. I attached the java file. You can find the 
whole project here, if necessary: 
https://bitbucket.org/dermetfan/somelibgdxtests/src

Original issue reported on code.google.com by [email protected] on 24 Jul 2013 at 9:56

Attachments:

Routing with an surrounding Polygon

Hi.
Your work is nice.
but i have a problem with Routing over an area with blocking.

So i have 1 Polygon that is the border of the area and i have multiple Polygons 
that represents blocking

i've found nothing about how to specify a surrounding Polygon

your algorithm would route around the area not through it.

thanks for helping :)

Original issue reported on code.google.com by [email protected] on 15 Jun 2011 at 11:20

Applet demo stalls for long time before loading screen appears

What steps will reproduce the problem?
1. Load applet demo at http://www.keithwoodward.com/straightedge/
2. The default java loading animation is visible and the jar files are 
downloaded, but then a grey rectangle is visible for about 30 seconds before 
the custom 'Loading' screen appears with the animated black-to-white flashing 
border.
3. Console output is as follows:
MainApplet: init
: start 0
: start 1
: start .1
: start .2
: start .3.

This is where the console output stops for 30 seconds. For some reason the 
applet appears to stall when the View is created in the MainApplet.start() 
method. 
For some reason this doesn't occur when the applet is run locally using the 
jdk's appletviewer. Also doesn't happen in the web start version.

Original issue reported on code.google.com by [email protected] on 3 Dec 2010 at 1:27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.