Download cocos2d Game Pad Free Java Code
Description
to the Game Pad. All you need to do is just pass image for buttons with selectors for buttonDown and buttonUp. You can add as many buttons you want. You will have TouchDown and TouchUp events for your buttons.
Icons
Source Files
The download file cocos2d-GamePad-master.zip has the following entries.
GamePad.h//from www . java 2s .co m
GamePad.m
JoystickContainer_norm.png
JoystickContainer_trans.png
Joystick_norm.png
README.md
ZJoystick.h
ZJoystick.m
bluebutton.png
redbutton.png
Download
Click the following link to download cocos2d-GamePad-master.zip.
cocos2d-GamePad-master.zip