File tree Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Expand file tree Collapse file tree 4 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " lux-viewer-2021" ,
3
- "version" : " 3.0.0 " ,
3
+ "version" : " 3.0.1 " ,
4
4
"description" : " " ,
5
5
"author" : " Lux AI challenge" ,
6
6
"main" : " index.js" ,
Original file line number Diff line number Diff line change @@ -182,15 +182,15 @@ export const GameComponent = () => {
182
182
height : main . mapHeight ,
183
183
}
184
184
) ;
185
- [ main . islandbaseImage , main . islandbaseNightImage ] . forEach ( ( tileImage ) => {
186
- tileImage . setX ( ps [ 0 ] ) ;
187
- let f = 32.3 ;
188
- if ( main . mapWidth <= 16 ) f = 31.7 ;
189
- tileImage . setY ( ps [ 1 ] + main . overallScale * main . mapWidth * f ) ;
190
- tileImage . setScale (
191
- main . defaultScales . islandBase * main . overallScale * main . mapWidth
192
- ) ;
193
- } ) ;
185
+ // [main.islandbaseImage, main.islandbaseNightImage].forEach((tileImage) => {
186
+ // tileImage.setX(ps[0]);
187
+ // let f = 32.3;
188
+ // if (main.mapWidth <= 16) f = 31.7;
189
+ // tileImage.setY(ps[1] + main.overallScale * main.mapWidth * f);
190
+ // tileImage.setScale(
191
+ // main.defaultScales.islandBase * main.overallScale * main.mapWidth
192
+ // );
193
+ // });
194
194
}
195
195
} , [ main , visualScale ] ) ;
196
196
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 3.0.0 "
2
+ "version" : " 3.0.1 "
3
3
}
Original file line number Diff line number Diff line change @@ -498,11 +498,11 @@ class MainScene extends Phaser.Scene {
498
498
}
499
499
500
500
// add island base
501
- this . islandbaseImage = this . add . image ( 0 , 0 , 'islandbase' ) . setDepth ( 9999999 ) ;
502
- this . islandbaseNightImage = this . add
503
- . image ( 0 , 0 , 'islandbase-night' )
504
- . setDepth ( 9999999 )
505
- . setAlpha ( 0 ) ;
501
+ // this.islandbaseImage = this.add.image(0, 0, 'islandbase').setDepth(9999999);
502
+ // this.islandbaseNightImage = this.add
503
+ // .image(0, 0, 'islandbase-night')
504
+ // .setDepth(9999999)
505
+ // .setAlpha(0);
506
506
507
507
// add handler for clicking tiles
508
508
this . input . on (
@@ -802,9 +802,9 @@ class MainScene extends Phaser.Scene {
802
802
getNightTransitionTween ( value . overlay , this . speed , endAlpha )
803
803
) ;
804
804
} ) ;
805
- this . tweens . add (
806
- getNightTransitionTween ( this . islandbaseNightImage , this . speed , endAlpha )
807
- ) ;
805
+ // this.tweens.add(
806
+ // getNightTransitionTween(this.islandbaseNightImage, this.speed, endAlpha)
807
+ // );
808
808
809
809
// render roads
810
810
f . roadLevels . forEach ( ( row , y ) => {
You can’t perform that action at this time.
0 commit comments