Commit 306d1c9c authored by wildfirecode's avatar wildfirecode

1

parent edf11652
......@@ -135,7 +135,7 @@
];
// localStorage.clear();
window['imgver'] = '11112';
window['total_level'] = 14 + 13 * 19; /// TODO 14 不能变 总数必须大于总的关卡数
window['total_level'] = 10 + 10 * 25; /// TODO 14 不能变 总数必须大于总的关卡数
window['last_level'] = 250;//必须大于等于total_level ///TODO 标记最后一关,等于最后一关即可
......
egret/resource/assets/map/map1.jpg

454 KB | W: | H:

egret/resource/assets/map/map1.jpg

146 KB | W: | H:

egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/map2.jpg

520 KB | W: | H:

egret/resource/assets/map/map2.jpg

156 KB | W: | H:

egret/resource/assets/map/map2.jpg
egret/resource/assets/map/map2.jpg
egret/resource/assets/map/map2.jpg
egret/resource/assets/map/map2.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/map3.jpg

446 KB | W: | H:

egret/resource/assets/map/map3.jpg

103 KB | W: | H:

egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapBottomSkin" width="750" height="1363" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Skin class="MapBottomSkin" width="750" height="815" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map3_jpg" x="0" y="0"/>
<e:Group x="223.88" y="64" id="icon0">
<e:Group x="154.19" y="88.24" id="icon0">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt0" width="76" x="10" y="13" text="60" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group id="icon1" x="124.7" y="248.44">
<e:Group id="icon1" x="185.3" y="227.23">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt1" width="76" x="10" y="13" text="61" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="189" y="388" id="icon2">
<e:Group x="246.57" y="351.64" id="icon2">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt2" width="76" x="8" y="13" text="62" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="328.94" y="481" id="icon3">
<e:Group x="368.33" y="502.21" id="icon3">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt3" width="76" x="10" y="13" text="63" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="483" y="592" id="icon4">
<e:Group x="483" y="592" id="icon4" visible="false">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt4" width="76" x="10" y="13" text="64" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="562" y="746" id="icon5">
<e:Group x="562" y="746" id="icon5" visible="false">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt5" width="76" x="10" y="13" text="65" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="442.01" y="902.69" id="icon6">
<e:Group x="442.01" y="902.69" id="icon6" visible="false">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt6" width="76" x="10" y="13" text="66" font="nums_fnt" textAlign="center"/>
</e:Group>
......
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapRepeatPartSkin" width="750" height="1634" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Skin class="MapRepeatPartSkin" width="750" height="1299" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map2_jpg"/>
<e:Group x="359" y="136.01" id="icon0">
<e:Group x="168.09" y="42.07" id="icon0">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt0" width="76" x="10" y="13" text="1" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="244" y="251" id="icon1">
<e:Group x="177.34" y="184.34" id="icon1">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt1" width="76" x="10" y="13" text="2" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="218" y="403" id="icon2">
<e:Group x="251.33" y="321.19" id="icon2">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt2" width="76" x="10" y="12" text="3" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="350" y="495" id="icon3">
<e:Group x="398.49" y="419.24" id="icon3">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt3" width="76" x="10" y="12" text="4" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="528" y="547" id="icon4">
<e:Group x="521.94" y="553.06" id="icon4">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt4" width="76" x="10" y="12" text="5" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="609" y="663" id="icon5">
<e:Group x="421.13" y="702.39" id="icon5">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt5" width="76" x="10" y="12" text="6" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="495" y="794" id="icon6">
<e:Group x="267.73" y="784.91" id="icon6">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt6" width="76" x="10" y="12" text="7" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="333" y="885" id="icon7">
<e:Group x="399.66" y="915.3" id="icon7">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt7" width="76" x="10" y="12" text="8" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="187" y="972" id="icon8">
<e:Group x="447.61" y="1032.6" id="icon8">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt8" width="76" x="10" y="12" text="9" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="290" y="1109" id="icon9">
<e:Group x="326.36" y="1136.27" id="icon9">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt9" width="76" x="10" y="12" text="10" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="408" y="1249.12" id="icon10">
<e:Group x="408" y="1249.12" id="icon10" visible="false">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="11" font="nums_fnt" textAlign="center" id="txt10"/>
</e:Group>
<e:Group x="348" y="1379.76" id="icon11">
<e:Group x="348" y="1379.76" id="icon11" visible="false">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="12" font="nums_fnt" textAlign="center" id="txt11"/>
</e:Group>
<e:Group x="324" y="1527.61" id="icon12">
<e:Group x="324" y="1527.61" id="icon12" visible="false">
<e:Image source="icon_png" x="-1" y="0"/>
<e:BitmapLabel width="76" x="10" y="13" text="13" font="nums_fnt" textAlign="center" id="txt12"/>
</e:Group>
......
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapTop" width="750" height="1305" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Skin class="MapTop" width="750" height="1267" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map1_jpg" x="0" y="0"/>
<e:Group x="448" y="496.04" id="icon0">
<e:Group x="390.43" y="586.94" id="icon0">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="1" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group id="icon1" x="490" y="625">
<e:Group id="icon1" x="502.12" y="649.24">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="2" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="573.33" y="745.37" id="icon2">
<e:Group x="491.24" y="763.82" id="icon2">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="3" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="442" y="845.5" id="icon3">
<e:Group x="374.1" y="927.34" id="icon3">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="4" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="238.01" y="939.19" id="icon4">
<e:Group x="346.32" y="1032.28" id="icon4">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="5" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="180" y="1092" id="icon5">
<e:Group x="271.76" y="1168.39" id="icon5">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="6" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="382.01" y="1194.69" id="icon6">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="10" y="12" text="7" font="nums_fnt" textAlign="center"/>
</e:Group>
</e:Skin>
\ No newline at end of file
......@@ -8,7 +8,7 @@ import MapRpeatPart from "./MapRpeatPart";
import { getRepeatCount } from "../startScene/StartScene";
export default class MapBottomPart extends ComponentBase {
static LEVEL_NUMS = 7;
static LEVEL_NUMS = 4;
getTxt(i): eui.BitmapLabel { return this[`txt${i}`]; }
start({repeatHeight,topHeight}) {
super.start();
......
......@@ -6,7 +6,7 @@ import setGray from "../setGray";
import { showToast } from "../../libs/new_wx/ctrls/toastCtrl";
export default class MapRpeatPart extends ComponentBase {
static LEVEL_NUMS = 13;
static LEVEL_NUMS = 10;
private _index;
private _topHeight;
constructor(i,topHeight) {
......
......@@ -4,7 +4,7 @@ import MapStarComp from "./MapStarComp";
import { createData } from "../startScene/StartScene";
export default class MapTopPart extends ComponentBase {
static LEVEL_NUMS = 7;
static LEVEL_NUMS = 6;
start() {
super.start();
for (let i = 0; i < MapTopPart.LEVEL_NUMS; i++) {
......
......@@ -141,5 +141,5 @@ export const createData = () => {
export const getRepeatCount = ()=>{
/// TODO 14 = MapTopPart.LEVEL_NUMS + MapBottomPart.LEVEL_NUMS
/// TODO 13 = MapRpeatPart.LEVEL_NUMS
return (window['total_level'] - 14)/13;
return (window['total_level'] - MapTopPart.LEVEL_NUMS - MapBottomPart.LEVEL_NUMS)/(MapRpeatPart.LEVEL_NUMS);
}
\ No newline at end of file
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