07-01-2003, 08:55 AM
I have ye olde text mode 80*25 ASCII thingy, and want to be able to determine a straight line between two points, say, I have the player: "@", and a rat, "r".
Now, if the player shoots an arrow at the rat, I want to be able to determine how it gets there...[/code]
Code:
........r.
..........
..........
...@......
..........
Now, if the player shoots an arrow at the rat, I want to be able to determine how it gets there...[/code]
In a race between a rock and a pig, don't varnish your clams." -- "Dilbert"