Fix: menu typing ES5 bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user