import { _decorator, Component } from 'cc'; const { ccclass, property } = _decorator; @ccclass('GameConfig') export class GameConfig extends Component { /**调试开关-快速开始游戏 */ debugQuicklyStartGame = false; //============游戏数值配置============ /**每次点击增加的速度 */ acc = 10; /**减速度 */ dec = -300; /**玩家多久(毫秒)不点加速,就开始减速 */ decGap = 1000; /**终点距离 */ endPointDistance = 12000; /**游戏长度单位/现实长度单位(米) */ gameLenDivRealLen = 30; //============服务器匹配房间配置============ /**房间匹配类型 */ roomMatchType = "随便啦"; /**房间同步帧率 */ syncFrameRate = 20; /**房间创建后,匹配多久结束 */ maxMatchingTime = 6000; //房间可容纳人数 maxMembers = 2; }