onwall3()
Requesting the following:
PHP Code:
|
I prefer my suggestion of polygonal check :)
|
Quote:
|
Not really. A polygon would be widely more flexible, and given it can create what you're asking by just doing a small calculation, I'd say it's the better option. Either way, Stefan doesn't seem too interested in this stuff.
|
1 Attachment(s)
So, something like this Dusty? (Red lines is the poly check while the red tiles is what tiles that are returned)
Attachment 46110 And, tried the onwallpath() function? onwallpath(x, y, w, h, dx, dy); |
Nah, my idea was to check walls within a polygon(just like used in showpoly), and it would also return the points where the polygon intersects the wall. Like so...
http://i33.tinypic.com/w18wh4.png Yellow would be the coordinates returned. |
Hmm.. interesting
|
Quote:
|
All times are GMT +2. The time now is 09:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.