Created
February 17, 2014 02:02
-
-
Save Freezerburn/9043427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var game; | |
var create = function() { | |
var x = game.width / 2.0 - 64 / 2.0; | |
var y = game.height / 2.0 - 64 / 2.0; | |
game.add.text(x, y, "ず", {font: "64px arial", fill: "#FFF"}); | |
// OR | |
// game.add.text(x, y, "ぽ", {font: "64px arial", fill: "#FFF"}); | |
} | |
game = new Phaser.Game(800, 600, Phaser.AUTO, "", {create: create}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment