Commit 809ed87d authored by 李维's avatar 李维

change title

parent 3234f17d
......@@ -296,14 +296,14 @@ export class PlayComponent implements OnInit, OnDestroy {
// 标题
initTitle(){
let titleText = "Drag and drop games"
let titleText = "Dragging Game"
let element = this.g_cartoon.createCartoonElementImage('title', "bg_title", 576*this.g_mapScale, 66*this.g_mapScale, this.g_canvasWidth/2, this.g_cartoon.getOrigin().y+34*this.g_mapScale)
let title = new Label()
title.text = titleText
title.fontColor = "#fffc1d";
title.fontName = "BerlinSansFBDemi-Bold";
title.fontSize = 58
title.x = -288
title.x = -220
element.ref.addChild(title)
this.render(element.ref)
}
......
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