Commit cbb980a3 authored by 李维's avatar 李维

dev commit

parent 016ed50a
...@@ -313,12 +313,12 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -313,12 +313,12 @@ export class PlayComponent implements OnInit, OnDestroy {
let element = this.g_cartoon.createCartoonElementImageFunc('card-runway', "bg_card_runway", (w,h)=>{ let element = this.g_cartoon.createCartoonElementImageFunc('card-runway', "bg_card_runway", (w,h)=>{
return { return {
sx: this.g_canvasWidth/w, sx: this.g_canvasWidth/w,
sy: 300*this.g_mapScale/h sy: 312*this.g_mapScale/h
} }
}, (w,h)=>{ }, (w,h)=>{
return { return {
x: this.g_canvasWidth/2, x: this.g_canvasWidth/2,
y: this.g_cartoon.getOrigin().y+ (h/2)*this.g_mapScale + 78*this.g_mapScale y: this.g_cartoon.getOrigin().y+ (h/2)*this.g_mapScale + 72*this.g_mapScale
} }
}) })
...@@ -432,7 +432,7 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -432,7 +432,7 @@ export class PlayComponent implements OnInit, OnDestroy {
}, (w,h)=>{ }, (w,h)=>{
return { return {
x: x + (w/2)*this.g_mapScale + 14*this.g_mapScale, x: x + (w/2)*this.g_mapScale + 14*this.g_mapScale,
y: y + 150*this.g_mapScale y: y + 156*this.g_mapScale
} }
}) })
element.content = null; element.content = null;
...@@ -674,9 +674,11 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -674,9 +674,11 @@ export class PlayComponent implements OnInit, OnDestroy {
lightOn(line, row){ lightOn(line, row){
this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-on`).visible = true; this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-on`).visible = true;
this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-off`).visible = false;
} }
lightOff(line, row){ lightOff(line, row){
this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-on`).visible = false; this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-on`).visible = false;
this.g_cartoon.getCartoonElementRef(`water-light-${line}-${row}-off`).visible = true;
} }
runWaterLights(totalLightCount){ runWaterLights(totalLightCount){
......
...@@ -38,8 +38,8 @@ const localImages = { ...@@ -38,8 +38,8 @@ const localImages = {
'light-1': 'assets/play/light-1.png', 'light-1': 'assets/play/light-1.png',
'light-2': 'assets/play/light-2.png', 'light-2': 'assets/play/light-2.png',
'bg_title': 'assets/play/bg_title.png', 'bg_title': 'assets/play/bg_title.png',
'bg_card': 'assets/play/bg_card.png', 'bg_card': 'assets/play/bg_card_1.png',
'bg_card_runway': 'assets/play/bg_card_runway_1.png', 'bg_card_runway': 'assets/play/bg_card_runway_2.png',
'text_container': 'assets/play/text_container-1.png', 'text_container': 'assets/play/text_container-1.png',
'bg_selected_card': 'assets/play/bg_selected_card.png', 'bg_selected_card': 'assets/play/bg_selected_card.png',
'bg_1280_250': 'assets/play/bg_1280_250_1.png', 'bg_1280_250': 'assets/play/bg_1280_250_1.png',
......
src/assets/play/bg_card_runway_1.png

4.87 KB | W: | H:

src/assets/play/bg_card_runway_1.png

5.51 KB | W: | H:

src/assets/play/bg_card_runway_1.png
src/assets/play/bg_card_runway_1.png
src/assets/play/bg_card_runway_1.png
src/assets/play/bg_card_runway_1.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment