Commit a8cb9cb8 authored by 邱旭's avatar 邱旭

斐乐

parent 906def8c
{ {
"code": "000000", "code": "000000",
"data": { "data": {
"currentLevel": 13, "currentLevel": 66,
"visitors": [ "visitors": [
{ {
"activityId": "5f213ff79897b44ce1d2925d", "activityId": "5f213ff79897b44ce1d2925d",
......
{ {
"code": "000000", "code": "000000",
"data": { "data": {
"currentLevel": 16, "currentLevel": 66,
"isFristLogin": false, "isFristLogin": false,
"visitors": [ "visitors": [
{ {
......
resource/common/boomBtn.png

13 KB | W: | H:

resource/common/boomBtn.png

37.8 KB | W: | H:

resource/common/boomBtn.png
resource/common/boomBtn.png
resource/common/boomBtn.png
resource/common/boomBtn.png
  • 2-up
  • Swipe
  • Onion skin
resource/common/ele5.png

10.1 KB | W: | H:

resource/common/ele5.png

15.5 KB | W: | H:

resource/common/ele5.png
resource/common/ele5.png
resource/common/ele5.png
resource/common/ele5.png
  • 2-up
  • Swipe
  • Onion skin
resource/common/ele7.png

6.66 KB | W: | H:

resource/common/ele7.png

13 KB | W: | H:

resource/common/ele7.png
resource/common/ele7.png
resource/common/ele7.png
resource/common/ele7.png
  • 2-up
  • Swipe
  • Onion skin
resource/common/ele9.png

11.5 KB | W: | H:

resource/common/ele9.png

11 KB | W: | H:

resource/common/ele9.png
resource/common/ele9.png
resource/common/ele9.png
resource/common/ele9.png
  • 2-up
  • Swipe
  • Onion skin
resource/common/hammerBtn.png

14 KB | W: | H:

resource/common/hammerBtn.png

38.9 KB | W: | H:

resource/common/hammerBtn.png
resource/common/hammerBtn.png
resource/common/hammerBtn.png
resource/common/hammerBtn.png
  • 2-up
  • Swipe
  • Onion skin
resource/common/stepBtn.png

18 KB | W: | H:

resource/common/stepBtn.png

46.6 KB | W: | H:

resource/common/stepBtn.png
resource/common/stepBtn.png
resource/common/stepBtn.png
resource/common/stepBtn.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/greenCircleDown.png

5.29 KB | W: | H:

resource/playScene/greenCircleDown.png

6.25 KB | W: | H:

resource/playScene/greenCircleDown.png
resource/playScene/greenCircleDown.png
resource/playScene/greenCircleDown.png
resource/playScene/greenCircleDown.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/greenCircleUp.png

5.95 KB | W: | H:

resource/playScene/greenCircleUp.png

7.08 KB | W: | H:

resource/playScene/greenCircleUp.png
resource/playScene/greenCircleUp.png
resource/playScene/greenCircleUp.png
resource/playScene/greenCircleUp.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/ice2.png

13.5 KB | W: | H:

resource/playScene/ice2.png

12.7 KB | W: | H:

resource/playScene/ice2.png
resource/playScene/ice2.png
resource/playScene/ice2.png
resource/playScene/ice2.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/ice3.png

13.9 KB | W: | H:

resource/playScene/ice3.png

13.5 KB | W: | H:

resource/playScene/ice3.png
resource/playScene/ice3.png
resource/playScene/ice3.png
resource/playScene/ice3.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/ice4.png

14.4 KB | W: | H:

resource/playScene/ice4.png

13.1 KB | W: | H:

resource/playScene/ice4.png
resource/playScene/ice4.png
resource/playScene/ice4.png
resource/playScene/ice4.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/ice5.png

13.1 KB | W: | H:

resource/playScene/ice5.png

12.6 KB | W: | H:

resource/playScene/ice5.png
resource/playScene/ice5.png
resource/playScene/ice5.png
resource/playScene/ice5.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/ice6.png

12.5 KB | W: | H:

resource/playScene/ice6.png

10.3 KB | W: | H:

resource/playScene/ice6.png
resource/playScene/ice6.png
resource/playScene/ice6.png
resource/playScene/ice6.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/jellyArrow.png

1.86 KB | W: | H:

resource/playScene/jellyArrow.png

2.6 KB | W: | H:

resource/playScene/jellyArrow.png
resource/playScene/jellyArrow.png
resource/playScene/jellyArrow.png
resource/playScene/jellyArrow.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/lockVine.png

28.2 KB | W: | H:

resource/playScene/lockVine.png

12.7 KB | W: | H:

resource/playScene/lockVine.png
resource/playScene/lockVine.png
resource/playScene/lockVine.png
resource/playScene/lockVine.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/playBg.jpg

154 KB | W: | H:

resource/playScene/playBg.jpg

406 KB | W: | H:

resource/playScene/playBg.jpg
resource/playScene/playBg.jpg
resource/playScene/playBg.jpg
resource/playScene/playBg.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rectLat.png

1.3 KB | W: | H:

resource/playScene/rectLat.png

9.72 KB | W: | H:

resource/playScene/rectLat.png
resource/playScene/rectLat.png
resource/playScene/rectLat.png
resource/playScene/rectLat.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rock2.png

11.5 KB | W: | H:

resource/playScene/rock2.png

16.1 KB | W: | H:

resource/playScene/rock2.png
resource/playScene/rock2.png
resource/playScene/rock2.png
resource/playScene/rock2.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rock3.png

13.2 KB | W: | H:

resource/playScene/rock3.png

16.1 KB | W: | H:

resource/playScene/rock3.png
resource/playScene/rock3.png
resource/playScene/rock3.png
resource/playScene/rock3.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rock4.png

13.1 KB | W: | H:

resource/playScene/rock4.png

16.6 KB | W: | H:

resource/playScene/rock4.png
resource/playScene/rock4.png
resource/playScene/rock4.png
resource/playScene/rock4.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rock5.png

13.7 KB | W: | H:

resource/playScene/rock5.png

17.8 KB | W: | H:

resource/playScene/rock5.png
resource/playScene/rock5.png
resource/playScene/rock5.png
resource/playScene/rock5.png
  • 2-up
  • Swipe
  • Onion skin
resource/playScene/rock6.png

14.4 KB | W: | H:

resource/playScene/rock6.png

18.1 KB | W: | H:

resource/playScene/rock6.png
resource/playScene/rock6.png
resource/playScene/rock6.png
resource/playScene/rock6.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -48,7 +48,7 @@ export function drawBg(paths: PathData[], lattices?: number[]) { ...@@ -48,7 +48,7 @@ export function drawBg(paths: PathData[], lattices?: number[]) {
} }
export function drawShape(paths: PathData[]): FYGE.Shape { export function drawShape(paths: PathData[]): FYGE.Shape {
var shape = new FYGE.Shape(); var shape = new FYGE.Shape();
shape.beginFill(0x5e2635, 1);//指令中有beginPath,会中断之前绘制得路径,会导致clip只有最后一段poly有效 shape.beginFill(0x409195, 1);//指令中有beginPath,会中断之前绘制得路径,会导致clip只有最后一段poly有效
for (var i = 0; i < paths.length; i++) { for (var i = 0; i < paths.length; i++) {
var path = paths[i]; var path = paths[i];
drawPoly(shape, path) drawPoly(shape, path)
...@@ -117,7 +117,7 @@ const dis = { ...@@ -117,7 +117,7 @@ const dis = {
/** /**
* 生成格子背景的路径 * 生成格子背景的路径
* @param lattices * @param lattices
*/ */
export function generateMapBg(lattices: number[]): PathData[] { export function generateMapBg(lattices: number[]): PathData[] {
// lattices = [ // lattices = [
...@@ -170,8 +170,8 @@ export function generateMapBg(lattices: number[]): PathData[] { ...@@ -170,8 +170,8 @@ export function generateMapBg(lattices: number[]): PathData[] {
/** /**
* 判断点是否在多边形内 * 判断点是否在多边形内
* @param point * @param point
* @param points * @param points
*/ */
function isPointIn(point: number[], points: number[]): boolean { function isPointIn(point: number[], points: number[]): boolean {
var x = point[0]; var x = point[0];
...@@ -275,7 +275,7 @@ function judgeOnGroups(index: number, groups: PathData[], vertex: number[]): Pat ...@@ -275,7 +275,7 @@ function judgeOnGroups(index: number, groups: PathData[], vertex: number[]): Pat
* var arr = [0,1,2,3,4,5,6,0,0]; * var arr = [0,1,2,3,4,5,6,0,0];
* console.log(statisticalFieldNumber(arr)); * console.log(statisticalFieldNumber(arr));
* {0: 3, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1} * {0: 3, 1: 1, 2: 1, 3: 1, 4: 1, 5: 1, 6: 1}
* @param arr * @param arr
*/ */
function statisticalFieldNumber(arr: any[]) { function statisticalFieldNumber(arr: any[]) {
return arr.reduce(function (prev, next) { return arr.reduce(function (prev, next) {
...@@ -508,4 +508,4 @@ function getVertexs(lattices: number[]): number[][] { ...@@ -508,4 +508,4 @@ function getVertexs(lattices: number[]): number[][] {
vertexs.push(indexs) vertexs.push(indexs)
} }
return vertexs return vertexs
} }
\ 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