求问
compile:
Compiling 463 file(s) with 42 extern(s)
/Users/ZY/Documents/otherManGame/CocoTest361/src/Particle3DTest/Particle3DTest.js:30: ERROR - Parse error. Unsupported syntax: CONST
const PARTICLE_SYSTEM_TAG = 0x0001;
^
/Users/ZY/Documents/otherManGame/CocoTest361/src/TerrainTest/TerrainTest.js:192: ERROR - Parse error. Unsupported syntax: CONST
const PlayerState = {
^
/Users/ZY/Documents/otherManGame/CocoTest361/src/TerrainTest/TerrainTest.js:200: ERROR - Parse error. Unsupported syntax: CONST
const PLAYER_HEIGHT = 0;
^
/Users/ZY/Documents/otherManGame/CocoTest361/src/TerrainTest/TerrainTest.js:201: ERROR - Parse error. Unsupported syntax: CONST
const camera_offset = cc.math.vec3(0, 45, 60);
^
4 error(s), 0 warning(s)
全都是const的问题 求问这是怎么回事我jdk是1.8的版本了
web版本又不支持3d , 怎么把3d的一些东西也加进去了?
只能希望这些变量没被改