I’m following the “_Quick start” tutorial and I’ve encountered this error message after I’ve used the script :
cc.Class({
extends: cc.Component,
properties: {
// main character's jump height
jumpHeight: 0,
// main character's jump duration
jumpDuration: 0,
// maximal movement speed
maxMoveSpeed: 0,
// acceleration
accel: 0,
},
// use this for initialization
onLoad: function () {
},
// called every frame, uncomment this function to activate update callback
// update: function (dt) {
// },
});
I’m using CC 1.6.0. What can I do to get it running ?