File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ class Loading extends Phaser.State {
77 this . start = this . start . bind ( this )
88 }
99
10- create ( ) {
10+ create ( ) {
11+ this . loader . classList . add ( 'loader--is-loaded' )
1112 this . message . innerHTML = 'Press <strong>ENTER</strong> to start'
1213
1314 this . enter = this . game . input . keyboard . addKey ( Phaser . Keyboard . ENTER )
Original file line number Diff line number Diff line change 2828 </ div >
2929
3030 < script src ="//cdn.jsdelivr.net/phaser/2.6.2/phaser.min.js "> </ script >
31- < script type ="text/javascript " src ="build/bundle .js "> </ script >
31+ < script type ="text/javascript " src ="build/dist.min .js "> </ script >
3232</ body >
3333</ html >
Original file line number Diff line number Diff line change @@ -137,6 +137,10 @@ body {
137137 visibility : hidden;
138138}
139139
140+ .loader--is-loaded ::before {
141+ display : none;
142+ }
143+
140144@keyframes spinner {
141145 0% {
142146 content : "/" ;
You can’t perform that action at this time.
0 commit comments