yunyoujun / cocos-creator-joystick Goto Github PK
View Code? Open in Web Editor NEW🕹 Cocos Creator Joystick Demo 虚拟摇杆
Home Page: https://yunyoujun.github.io/cocos-creator-joystick/
License: MIT License
🕹 Cocos Creator Joystick Demo 虚拟摇杆
Home Page: https://yunyoujun.github.io/cocos-creator-joystick/
License: MIT License
請問這能原生發布過android嗎?
我在編譯階段時會報錯。
訊息為:
Error: Compile failed. The log file path [ C:\Users\User.CocosCreator\logs\native.log ]
at ChildProcess. (C:\CocosDashboard_1.0.11\resources.editors\Creator\2.4.4\resources\app.asar\editor\core\native-utils.js:1:24467)
at ChildProcess. (C:\CocosDashboard_1.0.11\resources.editors\Creator\2.4.4\resources\app.asar\editor\core\native-utils.js:1:6527)
at ChildProcess.emit (events.js:194:13)
at ChildProcess.EventEmitter.emit (domain.js:469:20)
at maybeClose (internal/child_process.js:998:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
谢谢大佬
锚点的设置太坑了找了半天不知道为啥不生效,这个要了解的需要注意下,其他的很赞
cocos creator 版本 v2.0.9
问题出现的步骤:
git clone 之后 导入项目 然后 demo 场景 浏览器预览, 鼠标点击页面没有反应。
点击 fixed 和 follow 两个按钮 控制台报错 :
CCDebug.js:254 getComponent: Type must be non-nil
27.cc.errorID @ CCDebug.js:254
getConstructor @ base-node.js:45
getComponent @ base-node.js:802
emit @ CCComponentEventHandler.js:147
emitEvents @ CCComponentEventHandler.js:122
_onTouchEnded @ CCButton.js:690
174.CallbacksInvoker.invoke @ callbacks-invoker.js:255
_doDispatchEvent @ CCNode.js:492
dispatchEvent @ CCNode.js:1781
_touchEndHandler @ CCNode.js:342
_onTouchEventCallback @ CCEventManager.js:508
_dispatchEventToListeners @ CCEventManager.js:632
_dispatchTouchEvent @ CCEventManager.js:554
dispatchEvent @ CCEventManager.js:1049
handleTouchesEnd @ CCInputManager.js:174
_mouseEventsOnElement @ CCInputManager.js:467
(anonymous) @ CCInputManager.js:495
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.