yab | yet another Basic for HAIKU
Pipe Game - query - Printable Version

+- yab | yet another Basic for HAIKU (http://yab.orgfree.com/forum)
+-- Forum: Programming in yab (/forumdisplay.php?fid=1)
+--- Forum: Help with programs (/forumdisplay.php?fid=4)
+--- Thread: Pipe Game - query (/showthread.php?tid=88)



Pipe Game - query - lelldorin - 05-14-2017 06:49 PM

[Image: pipegame.png]

Has one of you a clever idea how I can best query whether a connection between start and goal exists?

Will be add this game in my yabDevelopment Editor as example, but i does not find a fast and easy way to query the game status.


RE: Pipe Game - query - bbjimmy - 05-16-2017 07:08 AM

looks similar to my loopdeloop problem. pick two pionts near the goal and start and see if both are within the pipe. Im my case I was checking tpo see if points were within a loop. same problem.

Let me look at my code and see if I can explain the soulution.


RE: Pipe Game - query - bbjimmy - 05-16-2017 02:31 PM

This explains it best. https://en.wikipedia.org/wiki/Point_in_polygon


Free Web Hosting