View Single Post
  #23  
Old 11-18-2011, 08:54 AM
Gunderak Gunderak is offline
Coder
Gunderak's Avatar
Join Date: Jun 2011
Location: Australia
Posts: 795
Gunderak is on a distinguished road
I know how to detect if there on a wall, but how would I handle it?
I have tried reversing the players movement which is this.
PHP Code:
    player.-= sin(this.angle) * this.speed;
    
player.-= cos(this.angle) * this.speed
But that doesn't work.
I think I'm in way over my head.
__________________

Gund for president.

Remote PM {P*}x (Graal813044) from eraiphone -> Stefan: I hav 1 qustion
*Gunderak: he hav 1
*Gunderak: qustion

Last edited by Gunderak; 11-18-2011 at 09:33 AM..
Reply With Quote