Commit 8349385d authored by Tt's avatar Tt

增加游戏名

parent 27bc5bdb
......@@ -5,8 +5,8 @@
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import Game, { GAME_STATE } from "../tool/GameNS16";
import pg from "../tool/pg";
import Game, { GAME_STATE } from "../tool/GameNS16_ns16_mole";
import pg from "../tool/pg_ns16_mole";
pg.event.clear();
const { ccclass, property } = cc._decorator;
......@@ -127,3 +127,4 @@ export default class NewClass extends cc.Component {
import Game, { FISH_OUT, GAME_STATE, Item, Option } from "../tool/GameNS16";
import pg from "../tool/pg";
import Game, { FISH_OUT, GAME_STATE, Item, Option } from "../tool/GameNS16_ns16_mole";
import pg from "../tool/pg_ns16_mole";
const { ccclass, property } = cc._decorator;
......@@ -225,7 +225,7 @@ export default class NewClass extends cc.Component {
mouse_wrong.active = false;
// +1动画
if (isRobot) {
cc.tween(this.layout_robot).to(0.1, { scale: 1.1 }).to(0.1, { scale: 1.0 }).start();
cc.tween(this.layout_robot).to(0.2, { scale: 1.15 }).to(0.2, { scale: 1.0 }).start();
this.robotAddOne();
}
let startPos = cc.v2(10, -114);
......@@ -349,3 +349,4 @@ export default class NewClass extends cc.Component {
})
}
}
import { asyncDelay, onHomeworkFinish } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import Game, { GAME_STATE } from "./tool/GameNS16";
import pg from "./tool/pg";
import { asyncDelay, onHomeworkFinish } from "../script/util_ns16_mole";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_ns16_mole";
import Game, { GAME_STATE } from "./tool/GameNS16_ns16_mole";
import pg from "./tool/pg_ns16_mole";
const { ccclass, property } = cc._decorator;
......@@ -147,3 +147,4 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
......@@ -202,4 +202,4 @@ export default class Game {
get isOver() {
return this.page > this.lists.length;
}
}
\ No newline at end of file
}
......@@ -566,4 +566,4 @@ let pg = {
}
}
};
export default pg;
\ No newline at end of file
export default pg;
import { defaultData } from "../script/defaultData";
import { defaultData } from "../script/defaultData_ns16_mole";
export class MyCocosSceneComponent extends cc.Component {
......@@ -176,4 +176,4 @@ export class MyCocosSceneComponent extends cc.Component {
cb && cb();
}
}
}
\ No newline at end of file
}
......@@ -30,4 +30,4 @@ export const defaultData =
}, { "questionAudio": "http://staging-teach.cdn.ireadabc.com/26e6e997562503a98918fadab7e7b6c2_l.mp3", "duration": 120, "options": [{ "type": "img", "image": "http://staging-teach.cdn.ireadabc.com/fea420e83bd2ba03d014c279de780599.png", "audio": "http://staging-teach.cdn.ireadabc.com/7432c9bfa754a4c9db54132308e8ce1f_l.mp3", "text": "", "right": true, "audioName": "冒出.mp3" }, { "type": "txt", "image": "", "audio": "http://staging-teach.cdn.ireadabc.com/274d8965edafabf1e8d1a01400db82b7_l.mp3", "text": "eye", "right": true, "audioName": "错误.mp3" }, { "type": "txt", "image": "", "audio": "http://staging-teach.cdn.ireadabc.com/f03e207cb6808b17c1510b230a70bb1d_l.mp3", "text": "fffsxz", "right": false, "audioName": "加分.mp3" }, { "type": "img", "image": "http://staging-teach.cdn.ireadabc.com/01247e69d70b995da41e6b7e2000b540.png", "audio": "http://staging-teach.cdn.ireadabc.com/f7fb9f71ab7d460ac2f78c85efba7610_l.mp3", "text": "", "right": false, "audioName": "按钮.mp3" }], "questionImg": "http://staging-teach.cdn.ireadabc.com/fea420e83bd2ba03d014c279de780599.png", "audioName": "失败.mp3" }],
"audioName": "头像移动.mp3",
"bgAudio": "http://staging-teach.cdn.ireadabc.com/93bb9ed985cff104879f4b4fa6ace4ea_l.mp3"
}
\ No newline at end of file
}
import { log } from "console";
export function getPosByAngle(angle, len) {
......@@ -426,4 +426,4 @@ export function onHomeworkFinish(data) {
} else {
console.log('onHomeworkFinish');
}
}
\ No newline at end of file
}
......@@ -11,7 +11,7 @@
"height": 336,
"platformSettings": {},
"subMetas": {
"1orange": {
"1orange_ns16_mole": {
"ver": "1.0.4",
"uuid": "cbf97897-4203-4034-951f-381184e25d17",
"rawTextureUuid": "6f58e9ab-20bd-4be4-a840-db0427f79d21",
......
......@@ -11,7 +11,7 @@
"height": 720,
"platformSettings": {},
"subMetas": {
"bg": {
"bg_ns16_mole": {
"ver": "1.0.4",
"uuid": "404a6ef1-674e-4260-9593-0ea13d8038ba",
"rawTextureUuid": "9caa2cf4-a571-4c81-a7bd-2851ab397ae3",
......
......@@ -11,7 +11,7 @@
"height": 67,
"platformSettings": {},
"subMetas": {
"btn_left": {
"btn_left_ns16_mole": {
"ver": "1.0.4",
"uuid": "c3acb2af-fe2f-41c9-aca4-7b6ddeba0f40",
"rawTextureUuid": "a2e1bbb9-ac5d-42d1-85a6-27fe8d328c0f",
......
......@@ -11,7 +11,7 @@
"height": 67,
"platformSettings": {},
"subMetas": {
"btn_right": {
"btn_right_ns16_mole": {
"ver": "1.0.4",
"uuid": "130784be-8f85-44da-acd2-14fb9b472782",
"rawTextureUuid": "456cc9a9-0f69-4f3a-b129-65bda5ade11c",
......
......@@ -11,7 +11,7 @@
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_card-cover": {
"bg_card_cover_ns16_mole": {
"ver": "1.0.4",
"uuid": "f1947369-c896-4644-8f87-f341b411dd51",
"rawTextureUuid": "4aa85e4a-0efa-444b-9c0c-488fe1a99ec1",
......
......@@ -11,7 +11,7 @@
"height": 333,
"platformSettings": {},
"subMetas": {
"bg_card": {
"bg_card_ns16_mole": {
"ver": "1.0.4",
"uuid": "d16623ec-6860-44df-b8f1-39da5d8f21c9",
"rawTextureUuid": "764b9e20-3936-4829-a2c9-836e060ba78c",
......
......@@ -11,7 +11,7 @@
"height": 121,
"platformSettings": {},
"subMetas": {
"bg_card-small": {
"bg_card_small_ns16_mole": {
"ver": "1.0.4",
"uuid": "e1bfd018-ddfd-40df-83ac-b6b5e2d426ca",
"rawTextureUuid": "3653ee70-8e03-4e00-8fb9-0cd6c9d23efd",
......
......@@ -11,7 +11,7 @@
"height": 370,
"platformSettings": {},
"subMetas": {
"bg_di": {
"bg_di_ns16_mole": {
"ver": "1.0.4",
"uuid": "ba623a38-5eb1-4416-98e2-bd3f2c7f6b94",
"rawTextureUuid": "9701480a-5377-48cf-8a73-78abb09bf866",
......
......@@ -11,7 +11,7 @@
"height": 106,
"platformSettings": {},
"subMetas": {
"bg_hole-front": {
"bg_hole_front_ns16_mole": {
"ver": "1.0.4",
"uuid": "51bff5dc-a570-49cb-aa77-ee87a6a41c82",
"rawTextureUuid": "ae046b49-db21-441c-ae71-4a0c189db86c",
......
......@@ -11,7 +11,7 @@
"height": 106,
"platformSettings": {},
"subMetas": {
"bg_hole": {
"bg_hole_ns16_mole": {
"ver": "1.0.4",
"uuid": "4c9e0159-0052-4bcf-92b4-6f0ea1132102",
"rawTextureUuid": "7a1d1396-b269-460c-8438-4650c60f4748",
......
......@@ -11,7 +11,7 @@
"height": 244,
"platformSettings": {},
"subMetas": {
"bg_mouse": {
"bg_mouse_ns16_mole": {
"ver": "1.0.4",
"uuid": "1152b6c5-0cbc-4eb9-9368-a6278d3e5f9b",
"rawTextureUuid": "4781475b-1f7a-432d-9b46-8b47b6dbf885",
......
......@@ -11,7 +11,7 @@
"height": 244,
"platformSettings": {},
"subMetas": {
"bg_mouse-right": {
"bg_mouse_right_ns16_mole": {
"ver": "1.0.4",
"uuid": "f118f8e7-af30-44c1-9901-f825af21a4b8",
"rawTextureUuid": "0008f670-6a07-4f87-b010-a52528df1462",
......
......@@ -11,7 +11,7 @@
"height": 244,
"platformSettings": {},
"subMetas": {
"bg_mouse-wrong": {
"bg_mouse_wrong_ns16_mole": {
"ver": "1.0.4",
"uuid": "c7700c7d-43ca-452a-b26a-c173996ec850",
"rawTextureUuid": "a21df088-2cda-4303-a5e6-dbe5c0d6193c",
......
......@@ -11,7 +11,7 @@
"height": 115,
"platformSettings": {},
"subMetas": {
"bg_title": {
"bg_title_ns16_mole": {
"ver": "1.0.4",
"uuid": "86fe8119-4f5b-4097-97c3-dc787289bb82",
"rawTextureUuid": "6bccd5cc-1f4e-4db4-9817-ac342e0a7394",
......
......@@ -11,7 +11,7 @@
"height": 441,
"platformSettings": {},
"subMetas": {
"bg_vs": {
"bg_vs_ns16_mole": {
"ver": "1.0.4",
"uuid": "8268c4c0-0981-4287-8614-a64bb23497a8",
"rawTextureUuid": "73ccb4b8-d97f-4ea7-81fb-dfb304ad53ae",
......
......@@ -11,7 +11,7 @@
"height": 109,
"platformSettings": {},
"subMetas": {
"btn_laba2": {
"btn_laba2_ns16_mole": {
"ver": "1.0.4",
"uuid": "a2e3bab6-4452-4b80-93ca-55b458ae331d",
"rawTextureUuid": "a8db2fb1-3591-466b-87f8-e4769cebb341",
......
......@@ -11,7 +11,7 @@
"height": 109,
"platformSettings": {},
"subMetas": {
"btn_laba3": {
"btn_laba3_ns16_mole": {
"ver": "1.0.4",
"uuid": "a6fff801-b74b-40dc-b60e-b1a907cef065",
"rawTextureUuid": "e888a4df-e226-4507-a132-72c4cff5dd4d",
......
......@@ -11,7 +11,7 @@
"height": 109,
"platformSettings": {},
"subMetas": {
"btn_laba": {
"btn_laba_ns16_mole": {
"ver": "1.0.4",
"uuid": "07ea5772-1e74-4f70-a44a-4a0a9ceed83c",
"rawTextureUuid": "d89511df-b7c2-4f62-908b-e97ab99569be",
......
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