izestyler / gwlp-revived-open-source

Automatically exported from code.google.com/p/gwlp-revived-open-source
0 stars 0 forks source link

Collision detection #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Alter the movement module to support collision

1. load the pmaps
2. check players
3. if the next position wouldnt be valid, reset the pos

Checking could be done by temporarily storing the trapezoid the player is in.

Original issue reported on code.google.com by apple9...@googlemail.com on 10 Sep 2011 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by apple9...@googlemail.com on 11 Sep 2011 at 11:44

GoogleCodeExporter commented 9 years ago
Added pmap support, 
added collision checks.

Both of its works, but collision check is quite rough atm, and the client wont 
get kicked if it is in an invalid zone. 
(Position reset to last valid position)

Original comment by apple9...@googlemail.com on 13 Sep 2011 at 7:28