Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added label "Nezumi Hunter" on the first scene.
  • Loading branch information
Shin Hirota committed Jun 10, 2015
1 parent 47cf311 commit 006c62e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MyProject/src/app.js
Expand Up @@ -73,6 +73,14 @@ var HelloWorldLayer = cc.Layer.extend({
});
this.addChild(sprCathyTest, 10);

// ラベル表示
var lblTest = new cc.LabelTTF("ねずみハンター", null, 40);
lblTest.attr({
x: 200,
y: 300
});
this.addChild(lblTest, 11);

return true;
}
});
Expand Down

0 comments on commit 006c62e

Please sign in to comment.