Skip to content

An objective-c (not Cocos2d) virtual joystick implement. You can custom the stick images to change the apperance.

Notifications You must be signed in to change notification settings

pyzhangxiang/joystick-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an pure objective-c (not Cocos2d) joystick implement.

There are three images.
stick_base.png
stick_normal.png
stick_hold.png

You can change them or add your new images for the joystick.

The size of the joystick in the demo is 128 * 128, so in the JoyStickView, I set the center point to (64, 64).

If your joystick has a different size, please modify it.

About

An objective-c (not Cocos2d) virtual joystick implement. You can custom the stick images to change the apperance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published