For a game controller, I would definitely want to use A JOYSTICK!
So I want to build a joystick kind of controller on a APP for playing the multiplayer game that based on websocket.

First step
I set up the CocoaPod and WebSocket for building the environment. And tend to map a UIView location value.
Location...Seems the ways to do that is build it in game views. However, I would like to try more simple ways to achieve that.

The library called "JoyStickView" in cocoapod is useful. But after I did that, I feel like I don't understand the set up of a customize view...
Instead, I used another library called JDGamePaddle and mimic that for my controller. 
Back to Top