FYP: Touch Controls

Hey guys,

Hope everyone is doing well and I all hope you like my new site! Still some changes which need to be made but we are on our way.

It has been a while but there is a reason for this which is the touch controls. Sadly I have been having some issues with them. The issue was that when the player jumped they would just tap the screen, to carry out other moves the player would swipe their finger in one direction. Yet when the player went to swipe the screen the knight would jump regardless.

I was trying to sort this out for ages but sadly no luck, it did not help that it was communicating between two different scripts, one in C# and the other in JavaScript. I couldn’t seem to figure it out so I asked a friend and great designer called Friedrich Brilling to have a look with me. He taught me how to communicate between the two different languages. We discovered that in Unity > Preferences > Input that mouse click 1 needed to be removed as well.

The game now works like a charm and the player can carry out all of the commands. Now onto designing the 1st Level!

Thanks and lets continue.