Skip to content

rlkun/cocos-creator-joystick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cocos-creator-joystick

cocos-creator-joystick demo

Online Address: https://yunyoujun.github.io/cocos-creator-joystick/

Todo

Joystick Demo

与 Player 解耦

Output:

Argument Type Default Description
moveDir Vec2 cc.v2(0, 1) // 竖直向上 移动方向
speedType String (normal/fast) normal 移动速度

Type

  • Touch Place
    • Full Screen
    • Half Screen
    • Only Joystick

Function

  • Player
    • rotation
    • move

Usage

About

🕹 Cocos Creator Joystick Demo 虚拟摇杆

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%