Touch movement and buttons. Possible?
agentcooper0115@sogetthis.com
Member Posts: 1
I am working on a top down prototype which involves having the hero actor move to where the screen is touched (this is working) but also attack when a button image at the bottom right of the screen is touched.
These both work, but when I touch the attack button, the hero actor moves toward it.
Any ideas?
TIA
These both work, but when I touch the attack button, the hero actor moves toward it.
Any ideas?
TIA
Comments
Then in your move rules have the player only move when touch is pressed and hudTouched = 0 (ie when touch is pressed and the user is not touching any HUD buttons).
I hope that sends you in the right direction