performance - Android tile movement -


i'm looking implement movement character character on tiled board. have 7x7 board set each tile representing character. player able move in 8 directions around tile (providing proper game logic). able accurately character @ given tile based on ontouch() action_down.

for more elegant solution though looking press , drag move between tiles/create words. i'm not sure should start this.

i can figure out logic appropriate moves etc. question how recognize left movement 1 position selecting tiles?

my current idea have hard boarders not work diagonal. next idea have diagonal boarders instead like:

this

this solution seems little complex though. there easier way accomplish this?


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -