Commit cf8cb875 authored by 任建锋's avatar 任建锋

爹爹高2添加配置项

parent a098420b
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
function injectProps(p) { function injectProps(p) {
engine.injectProp(props, p); engine.injectProp(props, p);
} }
//# sourceMappingURL=props.js.map
function getTexture(uuid) { function getTexture(uuid) {
return engine.Texture.from(getAssetByUUID(uuid).uuid); return engine.Texture.from(getAssetByUUID(uuid).uuid);
...@@ -41,6 +42,7 @@ ...@@ -41,6 +42,7 @@
function playSound(name) { function playSound(name) {
engine.playSound(engine.getAssetByName(name).uuid, { keep: true }); engine.playSound(engine.getAssetByName(name).uuid, { keep: true });
} }
//# sourceMappingURL=utils.js.map
var Block = (function (_super) { var Block = (function (_super) {
tslib.__extends(Block, _super); tslib.__extends(Block, _super);
...@@ -135,6 +137,7 @@ ...@@ -135,6 +137,7 @@
}; };
return Block; return Block;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=Block.js.map
var Background = (function (_super) { var Background = (function (_super) {
tslib.__extends(Background, _super); tslib.__extends(Background, _super);
...@@ -163,6 +166,7 @@ ...@@ -163,6 +166,7 @@
}; };
return Background; return Background;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=Background.js.map
var svgaAssets = { var svgaAssets = {
aniReady: { name: '准备立正', dir: 1 }, aniReady: { name: '准备立正', dir: 1 },
...@@ -379,6 +383,7 @@ ...@@ -379,6 +383,7 @@
}; };
return Player; return Player;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=Player.js.map
var Base = (function (_super) { var Base = (function (_super) {
tslib.__extends(Base, _super); tslib.__extends(Base, _super);
...@@ -393,6 +398,7 @@ ...@@ -393,6 +398,7 @@
}; };
return Base; return Base;
}(engine.Image)); }(engine.Image));
//# sourceMappingURL=Base.js.map
var GuideLayer = (function (_super) { var GuideLayer = (function (_super) {
tslib.__extends(GuideLayer, _super); tslib.__extends(GuideLayer, _super);
...@@ -445,6 +451,7 @@ ...@@ -445,6 +451,7 @@
}; };
return GuideLayer; return GuideLayer;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GuideLayer.js.map
var GoldBag = (function (_super) { var GoldBag = (function (_super) {
tslib.__extends(GoldBag, _super); tslib.__extends(GoldBag, _super);
...@@ -483,6 +490,7 @@ ...@@ -483,6 +490,7 @@
}; };
return GoldBag; return GoldBag;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=GoldBag.js.map
var JumpTips = (function (_super) { var JumpTips = (function (_super) {
tslib.__extends(JumpTips, _super); tslib.__extends(JumpTips, _super);
...@@ -527,6 +535,7 @@ ...@@ -527,6 +535,7 @@
}; };
return JumpTips; return JumpTips;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=JumpTips.js.map
var ObjectPool = engine.ObjectPool; var ObjectPool = engine.ObjectPool;
var PoolName = 'gold-bag'; var PoolName = 'gold-bag';
...@@ -584,9 +593,9 @@ ...@@ -584,9 +593,9 @@
scoreAddTipsContainer.anchorY = scoreAddTipsContainer.height / 2; scoreAddTipsContainer.anchorY = scoreAddTipsContainer.height / 2;
var scoreAddTips = this.scoreAddTips = new engine.Label(); var scoreAddTips = this.scoreAddTips = new engine.Label();
scoreAddTips.width = 750; scoreAddTips.width = 750;
scoreAddTips.fillColor = "#fc4454"; scoreAddTips.fillColor = props.scoreAddFontColor;
scoreAddTips.textAlign = engine.TEXT_ALIGN.CENTER; scoreAddTips.textAlign = engine.TEXT_ALIGN.CENTER;
scoreAddTips.size = 50; scoreAddTips.size = props.scoreAddFontSize;
scoreAddTips.alpha = 0; scoreAddTips.alpha = 0;
scoreAddTips.text = "+0"; scoreAddTips.text = "+0";
scoreAddTips.x = this.player.x - scoreAddTips.width / 2; scoreAddTips.x = this.player.x - scoreAddTips.width / 2;
...@@ -1041,6 +1050,7 @@ ...@@ -1041,6 +1050,7 @@
}; };
return JumpHigh; return JumpHigh;
}(engine.Container)); }(engine.Container));
//# sourceMappingURL=JumpHigh.js.map
function index (props) { function index (props) {
prepareProps(); prepareProps();
...@@ -1048,6 +1058,7 @@ ...@@ -1048,6 +1058,7 @@
var instance = new JumpHigh(); var instance = new JumpHigh();
return instance; return instance;
} }
//# sourceMappingURL=index.js.map
return index; return index;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -162,6 +162,16 @@ ...@@ -162,6 +162,16 @@
"type": "number", "type": "number",
"default": -130 "default": -130
}, },
"scoreAddFontColor": {
"alias": "加分提示字体颜色",
"type": "string",
"default": "#fc4454"
},
"scoreAddFontSize": {
"alias": "加分提示字体颜色",
"type": "number",
"default": 50
},
"jumpTipsOffset": { "jumpTipsOffset": {
"alias": "跳跃文案偏移", "alias": "跳跃文案偏移",
"type": "vector2", "type": "vector2",
......
...@@ -117,9 +117,9 @@ export default class GameView extends engine.Container { ...@@ -117,9 +117,9 @@ export default class GameView extends engine.Container {
let scoreAddTips = this.scoreAddTips = new engine.Label(); let scoreAddTips = this.scoreAddTips = new engine.Label();
scoreAddTips.width=750; scoreAddTips.width=750;
scoreAddTips.fillColor = "#fc4454"; scoreAddTips.fillColor = props.scoreAddFontColor;
scoreAddTips.textAlign=engine.TEXT_ALIGN.CENTER; scoreAddTips.textAlign=engine.TEXT_ALIGN.CENTER;
scoreAddTips.size = 50; scoreAddTips.size = props.scoreAddFontSize;
scoreAddTips.alpha=0; scoreAddTips.alpha=0;
scoreAddTips.text = "+0"; scoreAddTips.text = "+0";
scoreAddTips.x = this.player.x-scoreAddTips.width / 2; scoreAddTips.x = this.player.x-scoreAddTips.width / 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment