Friday, May 1, 2015

Best practices for direction control in 2d game on mobile


I've been working on a pacman clone in HTML5 for quite a while. (http://pacman.platzh1rsch.ch)


One important thing for me was always to keep it responsive, so it would be playable on all different handheld sizes. The big problem wit that is: it is way to hard to play on a mobile device.


On a desktop or laptop you can control Pacman using your keyboard's arrow keys or W-A-S-D, which - in my opinion - is really easy.


For touchscreen devices I added some buttons into the game and also the support for swipe gestures. Anyway, turns out it's still way too difficult to play for most of the users.


Do you know any better options on how to solve this issue?



enter image description here


EDIT: Just adjusted the game to detect swipe gestures on the whole screen and I think it is already a pretty nice improvement. Thanks for all the hints, and suggestions!




No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...