tales / tales-client

Moved to https://gitlab.com/tales/tales-client
http://www.manasource.org/
GNU General Public License v2.0
13 stars 5 forks source link

Better collision detection #7

Open Ablu opened 9 years ago

Ablu commented 9 years ago

Walking into a 1 tile width corridor is really hard and annoying because you cannot walk over a small edge...

The client should probably do circle collision and automatically walk a few pixels up and down to fit into the corridor.

Good example for this is the entrance into the training dummy area.

Ablu commented 9 years ago

@bjorn: you somewhen mentioned using box2d for this would help. Would this still be preferred or is it overkill?

bjorn commented 9 years ago

Using Box2D is of course a little overkill, but I think it could allow us to do other nice things as well like a bit of feedback on hitting enemies. But, I can't say whether it will be easier using Box2D or by implementing custom solutions to this.

Ablu commented 9 years ago

Actually this is not that bad on a touch interface... If you navigate with the joystick it feels a lot more natural since a slight vertical adjustment will make you walk around the obstacle. It is only really weird on pc. So removing the milestone for now.