Fix: menu typing ES5 bug

This commit is contained in:
2018-09-14 22:49:48 +09:00
parent 9d1a57a997
commit 51f75f528a
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,12 +1,13 @@
var MenuTypingPractice = {
preload() {
preload: function() {
game.load.image('icon_fullscreen', '../../../resources/image/icon/fullscreen_white.png');
game.load.image('space_invaders', '../../../resources/image/icon/space_invaders.png');
Animal.loadResources();
},
create() {
create: function() {
game.stage.backgroundColor = '#4d4d4d';
// typing app area