If you use the double quart, it arise error.
// string of multiline var str string str = `Welcome! Multi lines message! Good job!`
You can put the back quart by Shift + @ if you use Mac.
// string of multiline var str string str = `Welcome! Multi lines message! Good job!`
by Google App Engine documents
For efficiency, App Engine stores and serves static files separately from application files. Static files are not available in the application's file system. If you have data files that need to be read by the application code, the data files must be application files, and must not be matched by a static file pattern.
/Applications/google_appengine/goroot/misc/xcode/4/go.xclangspec
$ su $ echo $GOROOT
$ export GOROOT=/Applications/google_appengine/goroot/
$ sh go4xcode.sh Backing up plugindata file. Adding Go language specification entry. Duplicate Entry Was Skipped: Xcode.SourceCodeLanguage.Go Installing Go language specification file for Xcode. Run 'sudo rm -rf /var/folders/*' and restart Xcode to update change immediately. Syntax coloring must be manually selected from the Editor - Syntax Coloring menu in Xcode.
$ rm -rf /var/folders/*
// Loop playback the bgm game.assets['bgm.mp3'].play(); game.assets['bgm.mp3'].src.loop = true;
// This case not loop playback the bgm game.assets['bgm.mp3'].src.loop = true; game.assets['bgm.mp3'].play();
// output statements are skipped. var message = 'Where is a pig! I am very hungry... Give me a pig!'; var label = new Label(); label.color = 'black'; label.text = message; // both font-size and line-height are 75px, but those are ignored. label.font = '75px/75px fantasy'; game.currentScene.addChild(message);
var messages = [ 'Where is a pig!', 'I am very hungry...', 'Give me a pig!' ]; for(var i = 0; i < messages.length; i++) { var label = new Label(); label.color = 'black'; label.text = message; label.font = '75px fantasy'; label.y = 75 * i; // 手動で高さを調整 game.currentScene.addChild(message); }