mirror of https://github.com/axmolengine/axmol.git
Fix CPP template project crash
This commit is contained in:
parent
d241e568b0
commit
4bede5067e
|
@ -54,7 +54,7 @@ bool HelloWorld::init()
|
|||
// add a label shows "Hello World"
|
||||
// create and initialize a label
|
||||
|
||||
auto label = Label::createWithTTF("Hello World", "Arial", 24);
|
||||
auto label = Label::createWithTTF("Hello World", "fonts/Marker Felt.ttf", 24);
|
||||
|
||||
// position the label on the center of the screen
|
||||
label->setPosition(Vec2(origin.x + visibleSize.width/2,
|
||||
|
|
Loading…
Reference in New Issue