Quote:
Originally Posted by r3ckless
And I still can't understand the vecx and vecy for some reason x.x
|
vecx(player.dir),vecy(player.dir) will basically mimc the direction in which your player is standing. Of course it's much more useful then that.
thing of the results from vecx and vecy as points on a cartesian graph
value| vecx | vecy | corresponding direction
0 | 0 | -1 | up
1 | -1 | 0 | left
2 | 0 | 1 | down
3 | 1 | 0 | right
soz I had neat columns and the forums took them away