1 Attachment(s)
Click to Move (more questions)
Hi guys. I am stuck with the following issues. I included a sample of the code but Im having some issues. Hopefully someone can help. Here are the things I need help with. Thank you.
1) I need the character to stay on the screen completely when touching any edge.
2) I need the character to stop when he touches the rock.
3) I need the user (person playing the game) to be able to touch to destroy objects. However, I dont want the character to move when the player touches the screen to destroy the object.
Example: The rock is in the way, usually the player would touch to move, but he/she is now stuck by the rock. Therefore, the player must tap to destroy the rock without the character moving in the mean time.
4) I need to make it so when the user clicks the character does his walking animation in that direction. However I also need the character to stop walking when he gets to the location.
5) I need to make it so if the player clicks on the character he doesnt walking in place.
If you can help with any or all of these, it would be greatly appreciated. If you want to contact me directly to chat or send a larger file, please reach me at chrisholley317@gmail.com. Thank you.
Chris
PS I am still learning, so please bare with me. Thanks.
1 Attachment(s)
Please help with Click to Move
Hey all Im really stuck with these questions. Can anyone help me fix them? Thanks.
1) I need the character to stay on the screen completely when touching any edge.
2) I need the character to stop when he touches the rock.
3) I need the user (person playing the game) to be able to touch to destroy objects. However, I dont want the character to move when the player touches the screen to destroy the object.
Example: The rock is in the way, usually the player would touch to move, but he/she is now stuck by the rock. Therefore, the player must tap to destroy the rock without the character moving in the mean time.
4) I need to make it so when the user clicks the character does his walking animation in that direction. However I also need the character to stop walking when he gets to the location.
5) I need to make it so if the player clicks on the character he doesnt walking in place.
If you can help with any or all of these, it would be greatly appreciated. If you want to contact me directly to chat or send a larger file, please reach me at chrisholley317@gmail.com. Thank you.
Chris
PS I am still learning, so please bare with me. Thanks.