Commit f81c4ab1 authored by 任建锋's avatar 任建锋

rjf

parent 29d62bbc
No preview for this file type
export const a =1 import { GLang } from './util/GLang';
\ No newline at end of file import { INetData } from './interface/INetData';
import { GTime } from './util/GTime';
import { GPool } from './util/GPool';
import { GMath } from './util/GMath';
import { GFun } from './util/GFun';
import { GDispatcher } from './util/GDispatcher';
import { GConsole } from './util/GConsole';
import { GCache } from './util/GCache';
import { ABPanelManager } from './manager/ABPanelManager';
import { IModuleData } from './interface/IModuleData';
import { IDestroy } from './interface/IDestroy';
import { TimeFormat } from './enum/TimeFormat';
import { ResPriority } from './enum/ResPriority';
import { ModuleType } from './enum/ModuleType';
import { LayoutType } from './enum/LayoutType';
import { ABModule } from "./component/ABModule";
import { IData } from './interface/IData';
import { ABAnimationManager } from './manager/ABAnimationManager';
import { ABAudioManager } from './manager/ABAudioManager';
import { ABResManager } from './manager/ABResManager';
import { ABSceneManager } from './manager/ABSceneManager';
import { ABStageManager } from './manager/ABStageManager';
import { ABDataManager } from './manager/ABDataManager';
import { ABModuleManager } from './manager/ABModuleManager';
import { ABNetManager } from './manager/ABNetManager';
import { ABVideoManager } from './manager/ABVideoManager';
export {
ABModule, LayoutType, ModuleType, ResPriority, TimeFormat, IData, IDestroy, INetData,
IModuleData, ABAnimationManager, ABAudioManager, ABDataManager, ABModuleManager, ABNetManager,
ABPanelManager, ABResManager, ABSceneManager, ABStageManager, ABVideoManager, GCache, GConsole,
GDispatcher, GFun, GMath, GPool, GTime, GLang
}
\ No newline at end of file
...@@ -8,6 +8,7 @@ import { NetManager } from "../tw/manager/NetManager"; ...@@ -8,6 +8,7 @@ import { NetManager } from "../tw/manager/NetManager";
import AssetAdapter from "./adapter/AssetAdapter"; import AssetAdapter from "./adapter/AssetAdapter";
import ThemeAdapter from "./adapter/ThemeAdapter"; import ThemeAdapter from "./adapter/ThemeAdapter";
import { check_webp_feature } from "../tc/util/GFun"; import { check_webp_feature } from "../tc/util/GFun";
import MovieClipManager from "../../src/MovieClipManager"
export default class MainBase extends eui.UILayer { export default class MainBase extends eui.UILayer {
constructor() { constructor() {
...@@ -100,6 +101,7 @@ export default class MainBase extends eui.UILayer { ...@@ -100,6 +101,7 @@ export default class MainBase extends eui.UILayer {
private async runGame() { private async runGame() {
await this.loadResource() await this.loadResource()
await MovieClipManager.instance.init();
this.createGameScene(); this.createGameScene();
} }
......
import { IDefenseStrategyData } from './data/game/cfg/IDefenseStrategyData';
import { ActivityModel } from './model/common/ActivityModel';
import { OptionInfoData } from './data/plug/optionInfo/OptionInfoData';
import { GetPlugOrderStatusData } from './data/plug/doJoinPlugDraw/GetPlugOrderStatusData';
import { DoJoinPlugDrawData } from './data/plug/doJoinPlugDraw/DoJoinPlugDrawData';
import { LotteryType } from './enum/LotteryType';
import { NetName } from './enum/NetName';
import { QuestionSubmitData } from './data/custom/questionSbumit/QuestionSubmitData';
import { BeforSubmitData } from './data/custom/beforSubmit/BeforSubmitData';
import { CustomPlayThroughModel } from './model/custom/CustomPlayThroughModel';
import { CustomPlayBeforModel } from './model/custom/CustomPlayBeforModel';
import { PlugWinModel } from './model/plug/PlugWinModel';
import { CustomWinModel } from './model/custom/CustomWinModel';
import { CustomOptionInfoModel } from './model/custom/CustomOptionInfoModel';
import { CustomPlayModel } from './model/custom/CustomPlayModel';
import { RuleModel } from './model/common/RuleModel';
import { Model } from './model/Model';
import { GameGetSubmitResultData } from './data/game/submit/GameGetSubmitResultData';
import { DataManager } from "./manager/DataManager";
import { NetManager } from "./manager/NetManager";
import { Buried } from "./util/Buried";
import { Share } from "./util/Share";
import { TwLang } from "./util/TwLang";
import { AddTimesForActivityData } from "./data/common/addTimesForActivity/AddTimesForActivityData";
import { GetCreditsData } from "./data/common/getCredits/GetCreditsData";
import { GetRoleData } from "./data/common/getRole/GetRoleData";
import { LotteryData } from "./data/common/lottery/LotteryData";
import { SetRoleData } from "./data/common/setRole/SetRoleData";
import { WinnersData } from "./data/common/winners/WinnersData";
import { AjaxElementData } from "./data/custom/ajaxElement/AjaxElementData";
import { AjaxThroughInfoData } from "./data/custom/ajaxThroughInfo/AjaxThroughInfoData";
import { DoJoinData } from "./data/custom/doJoin/DoJoinData";
import { GetCustomOrderStatusData } from "./data/custom/doJoin/GetCustomOrderStatusData";
import { GetOrderInfoData } from "./data/custom/getOrderInfo/GetOrderInfoData";
import { DoStartData } from "./data/game/doStart/DoStartData";
import { GetStartStatusData } from "./data/game/doStart/GetStartStatusData";
import { GetInfoData } from "./data/game/getInfo/GetInfoData";
import { GetSummerInfoData } from "./data/game/getInfo/GetSummerInfoData";
import { GetOptionsData } from "./data/game/getOptions/GetOptionsData";
import { GetRuleData } from "./data/game/getRule/GetRuleData";
import { GetUserTotalScoreData } from "./data/game/getUserTotalScore/GetUserTotalScoreData";
import { GuessPokerData } from "./data/game/guessPoker/GuessPokerData";
import { RealTimeRankData } from "./data/game/realtimerank/RealTimeRankData";
import { GameSubmitData } from "./data/game/submit/GameSubmitData";
import { WinRanksData } from "./data/game/winranks/WinRanksData";
import { PetIndexData } from './data/pet/PetIndexData';
import { PetAdopteData } from './data/pet/PetAdopteData';
import { PetFeedData } from './data/pet/PetFeedData';
import { PetStatusData } from './data/pet/PetStatusData';
import { PetHomeInfoData } from './data/pet/PetHomeInfoData';
import { SignInfoData } from './data/pet/SignInfoData';
import { SignInfoVo } from './data/pet/SignInfoVo';
import { GetToysData } from './data/pet/GetToysData';
import { GetRankListData } from './data/pet/GetRankListData';
import { GetFoodPilesData } from './data/pet/GetFoodPilesData';
import { GetActToysListData } from './data/pets/GetActToysListData';
import { GetActToysItemData } from './data/pets/GetActToysItemData';
import { ToyExchangesData } from './data/pets/ToyExchangesData';
import { UseToyData } from './data/pets/UseToyData';
import { GetUserToysListData } from './data/pets/GetUserToysListData';
import { GetUserToysItemData } from './data/pets/GetUserToysItemData';
import { PetsIndexData } from './data/pets/PetsIndexData';
import { GetHomeInfoData } from './data/pets/GetHomeInfoData';
import { IUsingPetToysData } from './data/pets/IUsingPetToysData';
import { IWanderPetData } from './data/pets/IWanderPetData';
import { VisitStatisticsData } from './data/pets/VisitStatisticsData';
import { IVisitPetData } from './data/pets/IVisitPetData';
import { VisitDetailData } from './data/pets/VisitDetailData';
import { IPlayToyDetailData } from './data/pets/IPlayToyDetailData';
import { OpenCollectGoodsPrizeData } from './data/common/openCollectGoodsPrize/openCollectGoodsPrizeData';
import { GameEndModel } from './model/game/GameEndModel';
import { GameEndRankModel } from './model/game/GameEndRankModel';
import { GamePlayModel } from './model/game/GamePlayModel';
import { GameOptionModel } from './model/game/GameOptionModel';
import { GameLoseModel } from './model/game/GameLoseModel';
import { GameWinModel } from './model/game/GameWinModel';
import { GameRealTimeRankModel } from './model/game/GameRealTimeRankModel';
import { GameStartModel } from './model/game/GameStartModel';
import { GameWinnerModel } from './model/game/GameWinnerModel';
import { GetCollectRuleData } from './data/common/getCollectRule/GetCollectRuleData';
import { ThroughSubmitData } from './data/custom/throughSubmit/ThroughSubmitData';
import { Data } from './data/Data';
import { UnblockingData } from './data/plug/unblocking/UnblockingData';
import { GetPrizeInfoData } from './data/plug/getPrizeInfo/GetPrizeInfoData';
import { TwFun } from './util/TwFun';
import { GameModel } from './model/common/GameModel';
import { CustomModel } from './model/common/CustomModel';
import { SignModel } from './model/common/SignModel';
import { SignAdopteModel } from './model/sign/SignAdopteModel';
import { SignPlayModel } from './model/sign/SignPlayModel';
import { ICollectRuleData } from './data/common/getCollectRule/ICollectRuleData';
import { ICollectGoodData } from './data/common/getCollectRule/ICollectGoodData';
import { IWinnerData } from './data/common/winners/IWinnerData';
import { ICustomOptionData } from './data/custom/ajaxElement/ICustomOptionData';
import { IElementData } from './data/custom/ajaxElement/IElementData';
import { IThroughInfoData } from './data/custom/ajaxThroughInfo/IThroughInfoData';
import { ICustomCfgData } from './data/custom/cfg/ICustomCfgData';
import { IUserData } from './data/game/common/IUserData';
import { IExtraData } from './data/game/doStart/ExtraData';
import { IAppData } from './data/game/cfg/IAppData';
import { IRecommendData } from './data/game/cfg/IRecommendData';
import { IStatusData } from './data/game/getInfo/IStatusData';
import { IGameOptionData } from './data/game/getOptions/IGameOptionData';
import { IConsumerData } from './data/game/winranks/IConsumerData';
import { IRankData } from './data/game/winranks/IRankData';
import { IPlugData } from './data/plug/optionInfo/IPlugData';
import { IPlugOptionData } from './data/plug/optionInfo/IPlugOptionData';
import { IGameData } from './data/game/cfg/IGameData';
import { IPrizeData } from './data/plug/getPrizeInfo/IPrizeData';
import { IToyItemData } from './data/pet/IToyItemData';
import { IPetToyData } from './data/pet/IPetToyData';
import { IExposureData } from './data/common/IExposureData';
import { IDynamicData } from './data/game/datapash/IDynamicData';
import { IShareData } from './data/common/IShareData';
import { IGameCfgData } from './data/game/cfg/IGameCfgData';
import { GetRecordData } from './data/common/GetRecordData';
import { RecordData } from './data/common/record/RecordData';
export {
//公用
GetCollectRuleData, ICollectRuleData,
OpenCollectGoodsPrizeData,
//自定义活动工具
BeforSubmitData, ThroughSubmitData, QuestionSubmitData,
//枚举
NetName, LotteryType,
//数据类型
AddTimesForActivityData, ICollectGoodData, GetCreditsData, GetRoleData,
LotteryData, SetRoleData, IWinnerData, WinnersData, AjaxElementData, ICustomOptionData,
IElementData, AjaxThroughInfoData, IThroughInfoData, ICustomCfgData, DoJoinData,
GetCustomOrderStatusData, GetOrderInfoData, GameGetSubmitResultData, IUserData,
DoStartData, IExtraData, GetStartStatusData, IAppData, GetInfoData, GetSummerInfoData, IRecommendData,
IDefenseStrategyData, IStatusData, GetOptionsData, IGameOptionData, GetRuleData,
GetUserTotalScoreData, GuessPokerData, RealTimeRankData, GameSubmitData, IConsumerData,
IRankData, WinRanksData, DoJoinPlugDrawData, GetPlugOrderStatusData, OptionInfoData,
IPlugData, IPlugOptionData, UnblockingData, Data, IGameCfgData, IGameData, PetAdopteData,
PetFeedData, PetStatusData, PetHomeInfoData, SignInfoData, SignInfoVo, GetPrizeInfoData,
IPrizeData, GetToysData, GetRankListData, GetFoodPilesData, IToyItemData, IPetToyData, PetIndexData, IExposureData, IDynamicData,
IShareData, GetRecordData, RecordData, GetActToysListData, GetActToysItemData, ToyExchangesData, UseToyData, GetUserToysListData, GetUserToysItemData,
PetsIndexData, GetHomeInfoData, IUsingPetToysData, IWanderPetData, VisitStatisticsData, IVisitPetData, VisitDetailData, IPlayToyDetailData,
//管理器
DataManager, NetManager,
//数据模型
Model,
//公用
RuleModel, ActivityModel, GameModel, CustomModel, SignModel,
//游戏
GameEndModel, GameEndRankModel, GamePlayModel, GameOptionModel, GameLoseModel, GameWinModel,
GameRealTimeRankModel, GameStartModel, GameWinnerModel,
//自定义活动工具
CustomOptionInfoModel, CustomPlayModel, CustomWinModel, CustomPlayBeforModel, CustomPlayThroughModel,
//签到养成
SignAdopteModel, SignPlayModel,
//插件
PlugWinModel,
//工具
Buried, TwFun, Share, TwLang
}
\ No newline at end of file
{"file":"coin.png","frames":{
"00":{"x":852,"y":163,"w":109,"h":111,"offX":64,"offY":10,"sourceW":246,"sourceH":181},
"01":{"x":856,"y":0,"w":109,"h":161,"offX":61,"offY":11,"sourceW":246,"sourceH":181},
"03":{"x":637,"y":311,"w":189,"h":158,"offX":24,"offY":14,"sourceW":246,"sourceH":181},
"02":{"x":828,"y":311,"w":186,"h":160,"offX":25,"offY":12,"sourceW":246,"sourceH":181},
"06":{"x":435,"y":158,"w":200,"h":153,"offX":19,"offY":19,"sourceW":246,"sourceH":181},
"07":{"x":647,"y":156,"w":203,"h":153,"offX":18,"offY":19,"sourceW":246,"sourceH":181},
"11":{"x":0,"y":0,"w":217,"h":160,"offX":12,"offY":12,"sourceW":246,"sourceH":181},
"05":{"x":0,"y":162,"w":196,"h":155,"offX":21,"offY":18,"sourceW":246,"sourceH":181},
"04":{"x":219,"y":161,"w":193,"h":158,"offX":22,"offY":16,"sourceW":246,"sourceH":181},
"10":{"x":219,"y":0,"w":214,"h":159,"offX":13,"offY":14,"sourceW":246,"sourceH":181},
"09":{"x":435,"y":0,"w":210,"h":156,"offX":15,"offY":16,"sourceW":246,"sourceH":181},
"08":{"x":647,"y":0,"w":207,"h":154,"offX":16,"offY":18,"sourceW":246,"sourceH":181}}}
\ No newline at end of file
{"mc":{
"cp":{
"frameRate":24,
"labels":[
{"name":"active","frame":1,"end":5}
],
"events":[
],
"frames":[
{
"res":"C765C2A",
"x":56,
"y":31
},
{
"res":"A3DB899D",
"x":53,
"y":33
},
{
"res":"52E50EED",
"x":56,
"y":22
},
{
"res":"7EE3B0D3",
"x":55,
"y":31
},
{
"res":"9065845C",
"x":7,
"y":24
}
]
}},
"res":{
"52E50EED":{"x":444,"y":1,"w":338,"h":613},
"7EE3B0D3":{"x":1,"y":1226,"w":340,"h":604},
"C765C2A":{"x":347,"y":1226,"w":339,"h":604},
"9065845C":{"x":1,"y":1,"w":437,"h":611},
"A3DB899D":{"x":1,"y":618,"w":344,"h":602}
}}
\ No newline at end of file
{"file":"gift.png","frames":{
"00":{"x":0,"y":615,"w":152,"h":148,"offX":40,"offY":20,"sourceW":237,"sourceH":239},
"01":{"x":194,"y":811,"w":152,"h":209,"offX":40,"offY":20,"sourceW":237,"sourceH":239},
"03":{"x":200,"y":405,"w":189,"h":205,"offX":23,"offY":24,"sourceW":237,"sourceH":239},
"02":{"x":0,"y":406,"w":186,"h":207,"offX":24,"offY":21,"sourceW":237,"sourceH":239},
"06":{"x":0,"y":207,"w":198,"h":197,"offX":20,"offY":32,"sourceW":237,"sourceH":239},
"07":{"x":210,"y":204,"w":202,"h":199,"offX":19,"offY":30,"sourceW":237,"sourceH":239},
"05":{"x":188,"y":612,"w":195,"h":197,"offX":21,"offY":31,"sourceW":237,"sourceH":239},
"04":{"x":0,"y":811,"w":192,"h":200,"offX":22,"offY":28,"sourceW":237,"sourceH":239},
"09":{"x":0,"y":0,"w":208,"h":205,"offX":17,"offY":24,"sourceW":237,"sourceH":239},
"08":{"x":210,"y":0,"w":205,"h":202,"offX":18,"offY":27,"sourceW":237,"sourceH":239}}}
\ No newline at end of file
{"file":"gift2.png","frames":{
"00":{"x":347,"y":320,"w":156,"h":157,"offX":42,"offY":7,"sourceW":244,"sourceH":184},
"01":{"x":189,"y":320,"w":156,"h":157,"offX":42,"offY":7,"sourceW":244,"sourceH":184},
"03":{"x":817,"y":160,"w":191,"h":158,"offX":27,"offY":10,"sourceW":244,"sourceH":184},
"02":{"x":0,"y":319,"w":187,"h":157,"offX":29,"offY":8,"sourceW":244,"sourceH":184},
"06":{"x":211,"y":160,"w":204,"h":158,"offX":20,"offY":18,"sourceW":244,"sourceH":184},
"07":{"x":0,"y":159,"w":209,"h":158,"offX":17,"offY":18,"sourceW":244,"sourceH":184},
"11":{"x":0,"y":0,"w":225,"h":157,"offX":8,"offY":8,"sourceW":244,"sourceH":184},
"05":{"x":417,"y":160,"w":200,"h":158,"offX":22,"offY":16,"sourceW":244,"sourceH":184},
"04":{"x":619,"y":160,"w":196,"h":158,"offX":24,"offY":13,"sourceW":244,"sourceH":184},
"10":{"x":227,"y":0,"w":222,"h":158,"offX":10,"offY":10,"sourceW":244,"sourceH":184},
"09":{"x":451,"y":0,"w":217,"h":158,"offX":13,"offY":13,"sourceW":244,"sourceH":184},
"08":{"x":670,"y":0,"w":213,"h":158,"offX":15,"offY":16,"sourceW":244,"sourceH":184}}}
\ No newline at end of file
{"file":"goldenbox.png","frames":{
"00":{"x":208,"y":259,"w":163,"h":126,"offX":47,"offY":21,"sourceW":260,"sourceH":170},
"01":{"x":848,"y":258,"w":163,"h":126,"offX":47,"offY":21,"sourceW":260,"sourceH":170},
"03":{"x":444,"y":258,"w":202,"h":127,"offX":29,"offY":24,"sourceW":260,"sourceH":170},
"02":{"x":648,"y":258,"w":198,"h":127,"offX":31,"offY":22,"sourceW":260,"sourceH":170},
"06":{"x":682,"y":129,"w":213,"h":127,"offX":23,"offY":30,"sourceW":260,"sourceH":170},
"07":{"x":463,"y":129,"w":217,"h":127,"offX":21,"offY":30,"sourceW":260,"sourceH":170},
"11":{"x":0,"y":0,"w":231,"h":132,"offX":14,"offY":22,"sourceW":260,"sourceH":170},
"05":{"x":233,"y":130,"w":209,"h":127,"offX":25,"offY":28,"sourceW":260,"sourceH":170},
"04":{"x":0,"y":134,"w":206,"h":127,"offX":27,"offY":26,"sourceW":260,"sourceH":170},
"10":{"x":233,"y":0,"w":228,"h":128,"offX":15,"offY":24,"sourceW":260,"sourceH":170},
"09":{"x":463,"y":0,"w":224,"h":127,"offX":17,"offY":26,"sourceW":260,"sourceH":170},
"08":{"x":689,"y":0,"w":221,"h":127,"offX":19,"offY":28,"sourceW":260,"sourceH":170}}}
\ No newline at end of file
{"file":"kids.png","frames":{
"kidschair":{"x":0,"y":286,"w":750,"h":229,"offX":0,"offY":2,"sourceW":750,"sourceH":231},
"kids":{"x":0,"y":0,"w":744,"h":284,"offX":0,"offY":0,"sourceW":744,"sourceH":284},
"girlhand":{"x":827,"y":0,"w":79,"h":60,"offX":0,"offY":0,"sourceW":79,"sourceH":60},
"girl_eye":{"x":946,"y":0,"w":36,"h":40,"offX":0,"offY":0,"sourceW":36,"sourceH":40},
"boyhand":{"x":746,"y":0,"w":79,"h":60,"offX":0,"offY":0,"sourceW":79,"sourceH":60},
"boy_eye":{"x":908,"y":0,"w":36,"h":41,"offX":0,"offY":0,"sourceW":36,"sourceH":41}}}
\ No newline at end of file
{"file":"monkey.png","frames":{
"monkey":{"x":0,"y":0,"w":265,"h":525,"offX":0,"offY":0,"sourceW":265,"sourceH":525},
"eyeright":{"x":267,"y":0,"w":51,"h":47,"offX":0,"offY":0,"sourceW":51,"sourceH":47},
"eyeleft":{"x":320,"y":0,"w":48,"h":47,"offX":0,"offY":0,"sourceW":48,"sourceH":47}}}
\ No newline at end of file
{"file":"net.png","frames":{
"00":{"x":0,"y":430,"w":609,"h":428,"offX":69,"offY":104,"sourceW":750,"sourceH":558},
"01":{"x":1222,"y":0,"w":609,"h":428,"offX":69,"offY":104,"sourceW":750,"sourceH":558},
"03":{"x":611,"y":855,"w":610,"h":383,"offX":68,"offY":59,"sourceW":750,"sourceH":558},
"02":{"x":1223,"y":430,"w":610,"h":414,"offX":68,"offY":81,"sourceW":750,"sourceH":558},
"06":{"x":0,"y":1240,"w":610,"h":372,"offX":68,"offY":39,"sourceW":750,"sourceH":558},
"07":{"x":1223,"y":846,"w":610,"h":389,"offX":68,"offY":84,"sourceW":750,"sourceH":558},
"05":{"x":612,"y":1610,"w":610,"h":371,"offX":68,"offY":19,"sourceW":750,"sourceH":558},
"04":{"x":1223,"y":1237,"w":612,"h":371,"offX":65,"offY":32,"sourceW":750,"sourceH":558},
"10":{"x":611,"y":0,"w":609,"h":428,"offX":69,"offY":104,"sourceW":750,"sourceH":558},
"09":{"x":0,"y":0,"w":609,"h":428,"offX":69,"offY":104,"sourceW":750,"sourceH":558},
"08":{"x":611,"y":430,"w":610,"h":423,"offX":68,"offY":100,"sourceW":750,"sourceH":558}}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>npc_d1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="npc_d1" align="middle">
<param name="movie" value="npc_d1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="npc_d1.swf" width="750" height="1206">
<param name="movie" value="npc_d1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"npc_d1":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"28794290",
"x":542,
"y":999
},
{
"res":"EC4D2897",
"x":542,
"y":999
},
{
"res":"F5068CE7",
"x":543,
"y":998
},
{
"res":"BFDC47D4",
"x":543,
"y":998
},
{
"res":"A1438C16",
"x":544,
"y":997
},
{
"res":"8582C925",
"x":545,
"y":996
},
{
"res":"52EA0EEE",
"x":546,
"y":995
},
{
"res":"9F64592B",
"x":547,
"y":994
},
{
"res":"82F2AC5C",
"x":547,
"y":994
},
{
"res":"B272C96E",
"x":547,
"y":994
},
{
"res":"C3F0F0C1",
"x":546,
"y":993
},
{
"res":"B272C96E",
"x":547,
"y":994
},
{
"res":"82F2AC5C",
"x":547,
"y":994
},
{
"res":"9F64592B",
"x":547,
"y":994
},
{
"res":"52EA0EEE",
"x":546,
"y":995
},
{
"res":"8582C925",
"x":545,
"y":996
},
{
"res":"A1438C16",
"x":544,
"y":997
},
{
"res":"BFDC47D4",
"x":543,
"y":998
},
{
"res":"F5068CE7",
"x":543,
"y":998
},
{
"res":"EC4D2897",
"x":542,
"y":999
}
]
}},
"res":{
"28794290":{"x":0,"y":0,"w":122,"h":78},
"B272C96E":{"x":358,"y":77,"w":117,"h":75},
"8582C925":{"x":362,"y":0,"w":120,"h":77},
"BFDC47D4":{"x":121,"y":156,"w":121,"h":77},
"82F2AC5C":{"x":240,"y":75,"w":118,"h":75},
"C3F0F0C1":{"x":239,"y":0,"w":118,"h":75},
"9F64592B":{"x":122,"y":0,"w":117,"h":76},
"F5068CE7":{"x":0,"y":156,"w":121,"h":78},
"52EA0EEE":{"x":122,"y":77,"w":118,"h":77},
"A1438C16":{"x":242,"y":156,"w":120,"h":77},
"EC4D2897":{"x":0,"y":78,"w":122,"h":78}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>npc_d2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="npc_d2" align="middle">
<param name="movie" value="npc_d2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="npc_d2.swf" width="750" height="1206">
<param name="movie" value="npc_d2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"npc_d2":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"8F4A9648",
"x":78,
"y":896
},
{
"res":"6C74B963",
"x":78,
"y":896
},
{
"res":"5FC711EC",
"x":79,
"y":895
},
{
"res":"26C808B8",
"x":80,
"y":894
},
{
"res":"B5980FF3",
"x":81,
"y":893
},
{
"res":"7597E44B",
"x":82,
"y":893
},
{
"res":"F5E1B4D5",
"x":83,
"y":892
},
{
"res":"3586A139",
"x":83,
"y":891
},
{
"res":"D0893E12",
"x":82,
"y":891
},
{
"res":"2B00E660",
"x":82,
"y":891
},
{
"res":"D0893E12",
"x":82,
"y":891
},
{
"res":"3586A139",
"x":83,
"y":891
},
{
"res":"F5E1B4D5",
"x":83,
"y":892
},
{
"res":"7597E44B",
"x":82,
"y":893
},
{
"res":"B5980FF3",
"x":81,
"y":893
},
{
"res":"26C808B8",
"x":80,
"y":894
},
{
"res":"5FC711EC",
"x":79,
"y":895
},
{
"res":"6C74B963",
"x":78,
"y":896
},
{
"res":"8F4A9648",
"x":78,
"y":896
},
{
"res":"BBA5A08F",
"x":78,
"y":896
}
]
}},
"res":{
"8F4A9648":{"x":0,"y":0,"w":122,"h":78},
"26C808B8":{"x":122,"y":78,"w":120,"h":78},
"2B00E660":{"x":360,"y":0,"w":118,"h":75},
"B5980FF3":{"x":122,"y":156,"w":119,"h":77},
"5FC711EC":{"x":122,"y":0,"w":121,"h":78},
"3586A139":{"x":242,"y":78,"w":117,"h":76},
"7597E44B":{"x":241,"y":156,"w":118,"h":76},
"6C74B963":{"x":0,"y":78,"w":122,"h":78},
"D0893E12":{"x":360,"y":75,"w":118,"h":75},
"BBA5A08F":{"x":0,"y":156,"w":122,"h":78},
"F5E1B4D5":{"x":243,"y":0,"w":117,"h":76}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>npc_d3</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="npc_d3" align="middle">
<param name="movie" value="npc_d3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="npc_d3.swf" width="750" height="1206">
<param name="movie" value="npc_d3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"npc_d3":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"36836A88",
"x":551,
"y":999
},
{
"res":"C38FE31C",
"x":552,
"y":999
},
{
"res":"51FB9D84",
"x":552,
"y":998
},
{
"res":"1E23EC0",
"x":553,
"y":997
},
{
"res":"D5D99A9D",
"x":554,
"y":996
},
{
"res":"FBA3C829",
"x":555,
"y":996
},
{
"res":"8BA0CB3",
"x":556,
"y":995
},
{
"res":"6BE0398E",
"x":556,
"y":994
},
{
"res":"CA0B38B4",
"x":556,
"y":994
},
{
"res":"DA53BC7",
"x":555,
"y":994
},
{
"res":"CA0B38B4",
"x":556,
"y":994
},
{
"res":"6BE0398E",
"x":556,
"y":994
},
{
"res":"8BA0CB3",
"x":556,
"y":995
},
{
"res":"FBA3C829",
"x":555,
"y":996
},
{
"res":"D5D99A9D",
"x":554,
"y":996
},
{
"res":"1E23EC0",
"x":553,
"y":997
},
{
"res":"51FB9D84",
"x":552,
"y":998
},
{
"res":"C38FE31C",
"x":552,
"y":999
},
{
"res":"36836A88",
"x":551,
"y":999
},
{
"res":"1905DF07",
"x":551,
"y":999
}
]
}},
"res":{
"DA53BC7":{"x":359,"y":154,"w":118,"h":75},
"CA0B38B4":{"x":360,"y":0,"w":117,"h":75},
"36836A88":{"x":0,"y":0,"w":122,"h":78},
"1905DF07":{"x":0,"y":78,"w":122,"h":78},
"C38FE31C":{"x":0,"y":156,"w":121,"h":78},
"51FB9D84":{"x":121,"y":156,"w":121,"h":78},
"8BA0CB3":{"x":242,"y":0,"w":118,"h":76},
"D5D99A9D":{"x":122,"y":78,"w":119,"h":77},
"FBA3C829":{"x":241,"y":78,"w":119,"h":76},
"6BE0398E":{"x":242,"y":154,"w":117,"h":76},
"1E23EC0":{"x":122,"y":0,"w":120,"h":78}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>npc_y1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="npc_y1" align="middle">
<param name="movie" value="npc_y1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="npc_y1.swf" width="750" height="1206">
<param name="movie" value="npc_y1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"npc_y1":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"C88F1937",
"x":68,
"y":1099
},
{
"res":"7DC8D01A",
"x":68,
"y":1099
},
{
"res":"412374BF",
"x":67,
"y":1102
},
{
"res":"6B11FE00",
"x":65,
"y":1104
},
{
"res":"B8D60DEA",
"x":64,
"y":1105
},
{
"res":"20BD2197",
"x":63,
"y":1104
},
{
"res":"9F1F93CC",
"x":61,
"y":1102
},
{
"res":"B38038C5",
"x":59,
"y":1100
},
{
"res":"2EEF6AD4",
"x":58,
"y":1098
},
{
"res":"B1807432",
"x":57,
"y":1097
},
{
"res":"5526B79D",
"x":55,
"y":1094
},
{
"res":"6C453DA6",
"x":54,
"y":1092
},
{
"res":"B60CD75A",
"x":53,
"y":1090
},
{
"res":"8B258C1",
"x":52,
"y":1087
},
{
"res":"CA8EBC0B",
"x":51,
"y":1086
},
{
"res":"501E21BF",
"x":51,
"y":1086
},
{
"res":"87553B21",
"x":51,
"y":1085
},
{
"res":"501E21BF",
"x":51,
"y":1086
},
{
"res":"CA8EBC0B",
"x":51,
"y":1086
},
{
"res":"8B258C1",
"x":52,
"y":1087
},
{
"res":"B60CD75A",
"x":53,
"y":1090
},
{
"res":"6C453DA6",
"x":54,
"y":1092
},
{
"res":"5526B79D",
"x":55,
"y":1094
},
{
"res":"B1807432",
"x":57,
"y":1097
},
{
"res":"2EEF6AD4",
"x":58,
"y":1098
},
{
"res":"B38038C5",
"x":59,
"y":1100
},
{
"res":"9F1F93CC",
"x":61,
"y":1102
},
{
"res":"20BD2197",
"x":63,
"y":1104
},
{
"res":"B8D60DEA",
"x":64,
"y":1105
},
{
"res":"6B11FE00",
"x":65,
"y":1104
},
{
"res":"412374BF",
"x":67,
"y":1102
},
{
"res":"7DC8D01A",
"x":68,
"y":1099
}
]
}},
"res":{
"20BD2197":{"x":0,"y":380,"w":133,"h":64},
"C88F1937":{"x":0,"y":311,"w":125,"h":69},
"B8D60DEA":{"x":255,"y":444,"w":131,"h":63},
"8B258C1":{"x":317,"y":83,"w":156,"h":84},
"B60CD75A":{"x":0,"y":84,"w":154,"h":81},
"7DC8D01A":{"x":290,"y":241,"w":125,"h":69},
"5526B79D":{"x":0,"y":165,"w":149,"h":79},
"412374BF":{"x":0,"y":444,"w":126,"h":66},
"B1807432":{"x":149,"y":165,"w":145,"h":75},
"9F1F93CC":{"x":0,"y":244,"w":137,"h":67},
"CA8EBC0B":{"x":159,"y":0,"w":158,"h":84},
"6B11FE00":{"x":126,"y":444,"w":129,"h":64},
"2EEF6AD4":{"x":294,"y":167,"w":144,"h":74},
"B38038C5":{"x":149,"y":240,"w":141,"h":70},
"501E21BF":{"x":317,"y":0,"w":158,"h":83},
"87553B21":{"x":0,"y":0,"w":159,"h":84},
"6C453DA6":{"x":154,"y":84,"w":152,"h":81}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>npc_y2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="npc_y2" align="middle">
<param name="movie" value="npc_y2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="npc_y2.swf" width="750" height="1206">
<param name="movie" value="npc_y2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"npc_y2":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"381C180B",
"x":29,
"y":904
},
{
"res":"429D02B2",
"x":29,
"y":906
},
{
"res":"106A21AB",
"x":27,
"y":908
},
{
"res":"7BD904B4",
"x":26,
"y":910
},
{
"res":"D7E89CEC",
"x":24,
"y":909
},
{
"res":"43BBAFB5",
"x":22,
"y":906
},
{
"res":"CECFD489",
"x":21,
"y":904
},
{
"res":"28E10737",
"x":19,
"y":902
},
{
"res":"462F1CFB",
"x":19,
"y":901
},
{
"res":"12AAED61",
"x":17,
"y":899
},
{
"res":"E965AC4",
"x":16,
"y":896
},
{
"res":"46E98BE3",
"x":15,
"y":895
},
{
"res":"6A4E5D57",
"x":13,
"y":892
},
{
"res":"C4686ADB",
"x":13,
"y":891
},
{
"res":"67E50DC6",
"x":13,
"y":890
},
{
"res":"868C199",
"x":12,
"y":889
},
{
"res":"67E50DC6",
"x":13,
"y":890
},
{
"res":"C4686ADB",
"x":13,
"y":891
},
{
"res":"6A4E5D57",
"x":13,
"y":892
},
{
"res":"46E98BE3",
"x":15,
"y":895
},
{
"res":"E965AC4",
"x":16,
"y":896
},
{
"res":"12AAED61",
"x":17,
"y":899
},
{
"res":"462F1CFB",
"x":19,
"y":901
},
{
"res":"28E10737",
"x":19,
"y":902
},
{
"res":"CECFD489",
"x":21,
"y":904
},
{
"res":"43BBAFB5",
"x":22,
"y":906
},
{
"res":"D7E89CEC",
"x":24,
"y":909
},
{
"res":"7BD904B4",
"x":26,
"y":910
},
{
"res":"106A21AB",
"x":27,
"y":908
},
{
"res":"429D02B2",
"x":29,
"y":906
},
{
"res":"381C180B",
"x":29,
"y":904
},
{
"res":"92A726A5",
"x":30,
"y":903
}
]
}},
"res":{
"46E98BE3":{"x":0,"y":85,"w":153,"h":81},
"868C199":{"x":0,"y":0,"w":160,"h":85},
"CECFD489":{"x":152,"y":241,"w":140,"h":71},
"12AAED61":{"x":318,"y":84,"w":149,"h":78},
"43BBAFB5":{"x":0,"y":247,"w":138,"h":68},
"7BD904B4":{"x":0,"y":442,"w":131,"h":63},
"67E50DC6":{"x":160,"y":84,"w":158,"h":83},
"D7E89CEC":{"x":138,"y":312,"w":134,"h":64},
"28E10737":{"x":152,"y":167,"w":144,"h":74},
"106A21AB":{"x":0,"y":315,"w":129,"h":65},
"462F1CFB":{"x":318,"y":162,"w":145,"h":76},
"6A4E5D57":{"x":318,"y":0,"w":157,"h":84},
"429D02B2":{"x":129,"y":376,"w":126,"h":66},
"92A726A5":{"x":296,"y":238,"w":125,"h":70},
"C4686ADB":{"x":160,"y":0,"w":158,"h":84},
"E965AC4":{"x":0,"y":166,"w":152,"h":81},
"381C180B":{"x":296,"y":308,"w":126,"h":69}
}}
\ No newline at end of file
{"mc":{
"number2":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"2CC2CCD6",
"x":0,
"y":0
},
{
"res":"1E9BC818",
"x":0,
"y":0
},
{
"res":"4BE0DDF5",
"x":0,
"y":0
},
{
"res":"1B08ED67",
"x":0,
"y":0
},
{
"res":"2B2643ED",
"x":0,
"y":4
},
{
"res":"6BFD7D28",
"x":0,
"y":0
},
{
"res":"EE5EBBBD",
"x":0,
"y":0
},
{
"res":"D9B7072F",
"x":0,
"y":0
},
{
"res":"55092B35",
"x":0,
"y":0
},
{
"res":"63B18ABD",
"x":0,
"y":0
}
]
}},
"res":{
"6BFD7D28":{"x":110,"y":1,"w":51,"h":74},
"1B08ED67":{"x":57,"y":1,"w":51,"h":75},
"2B2643ED":{"x":1,"y":1,"w":54,"h":73},
"55092B35":{"x":1,"y":76,"w":50,"h":75},
"4BE0DDF5":{"x":163,"y":1,"w":51,"h":74},
"EE5EBBBD":{"x":162,"y":77,"w":49,"h":75},
"D9B7072F":{"x":1,"y":153,"w":49,"h":73},
"1E9BC818":{"x":104,"y":154,"w":44,"h":73},
"2CC2CCD6":{"x":110,"y":77,"w":50,"h":75},
"63B18ABD":{"x":53,"y":78,"w":49,"h":75}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>number2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #666666;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" id="number2" align="middle">
<param name="movie" value="number2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="number2.swf" width="550" height="400">
<param name="movie" value="number2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"number2":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"2CC2CCD6",
"x":0,
"y":0
},
{
"res":"1E9BC818",
"x":0,
"y":0
},
{
"res":"4BE0DDF5",
"x":0,
"y":0
},
{
"res":"1B08ED67",
"x":0,
"y":0
},
{
"res":"2B2643ED",
"x":0,
"y":4
},
{
"res":"6BFD7D28",
"x":0,
"y":0
},
{
"res":"EE5EBBBD",
"x":0,
"y":0
},
{
"res":"D9B7072F",
"x":0,
"y":0
},
{
"res":"55092B35",
"x":0,
"y":0
},
{
"res":"63B18ABD",
"x":0,
"y":0
}
]
}},
"res":{
"6BFD7D28":{"x":110,"y":1,"w":51,"h":74},
"1B08ED67":{"x":57,"y":1,"w":51,"h":75},
"2B2643ED":{"x":1,"y":1,"w":54,"h":73},
"55092B35":{"x":1,"y":76,"w":50,"h":75},
"4BE0DDF5":{"x":163,"y":1,"w":51,"h":74},
"EE5EBBBD":{"x":162,"y":77,"w":49,"h":75},
"D9B7072F":{"x":1,"y":153,"w":49,"h":73},
"1E9BC818":{"x":104,"y":154,"w":44,"h":73},
"2CC2CCD6":{"x":110,"y":77,"w":50,"h":75},
"63B18ABD":{"x":53,"y":78,"w":49,"h":75}
}}
\ No newline at end of file
{"file":"number3.png","frames":{
"0":{"x":110,"y":77,"w":50,"h":75,"offX":0,"offY":0,"sourceW":50,"sourceH":75},
"1":{"x":104,"y":154,"w":44,"h":73,"offX":0,"offY":0,"sourceW":44,"sourceH":73},
"2":{"x":163,"y":1,"w":51,"h":74,"offX":0,"offY":0,"sourceW":51,"sourceH":74},
"3":{"x":57,"y":1,"w":51,"h":75,"offX":0,"offY":0,"sourceW":51,"sourceH":75},
"4":{"x":1,"y":1,"w":54,"h":73,"offX":0,"offY":0,"sourceW":54,"sourceH":73},
"5":{"x":110,"y":1,"w":51,"h":74,"offX":0,"offY":0,"sourceW":51,"sourceH":74},
"6":{"x":162,"y":77,"w":49,"h":75,"offX":0,"offY":0,"sourceW":49,"sourceH":75},
"7":{"x":1,"y":153,"w":49,"h":73,"offX":0,"offY":0,"sourceW":49,"sourceH":73},
"8":{"x":1,"y":76,"w":50,"h":75,"offX":0,"offY":0,"sourceW":50,"sourceH":75},
"9":{"x":53,"y":78,"w":49,"h":75,"offX":0,"offY":0,"sourceW":49,"sourceH":75}}}
\ No newline at end of file
{"file":"openstate.png","frames":{
"silverboxOpenState":{"x":0,"y":0,"w":292,"h":222,"offX":0,"offY":0,"sourceW":292,"sourceH":222},
"woodboxOpenState":{"x":762,"y":0,"w":220,"h":209,"offX":0,"offY":0,"sourceW":220,"sourceH":209},
"coinOpenState":{"x":294,"y":216,"w":148,"h":151,"offX":2,"offY":3,"sourceW":150,"sourceH":154},
"gift2OpenState":{"x":543,"y":0,"w":217,"h":232,"offX":0,"offY":0,"sourceW":217,"sourceH":232},
"goldenboxOpenState":{"x":294,"y":0,"w":247,"h":214,"offX":0,"offY":0,"sourceW":247,"sourceH":214},
"giftOpenState":{"x":762,"y":211,"w":206,"h":218,"offX":0,"offY":0,"sourceW":206,"sourceH":218}}}
\ No newline at end of file
{"file":"river.png","frames":{
"river4":{"x":28,"y":0,"w":26,"h":128,"offX":0,"offY":0,"sourceW":26,"sourceH":128},
"river3":{"x":56,"y":0,"w":18,"h":121,"offX":0,"offY":0,"sourceW":18,"sourceH":121},
"river2":{"x":0,"y":0,"w":26,"h":128,"offX":0,"offY":0,"sourceW":26,"sourceH":128},
"river1":{"x":76,"y":0,"w":22,"h":81,"offX":0,"offY":0,"sourceW":22,"sourceH":81}}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>shui</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="shui" align="middle">
<param name="movie" value="shui.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="shui.swf" width="750" height="1206">
<param name="movie" value="shui.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"shui":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"2144DF1C",
"x":0,
"y":0
},
{
"res":"72307228",
"x":411,
"y":699
},
{
"res":"F033EF0B",
"x":384,
"y":654
},
{
"res":"1FCA5D9E",
"x":385,
"y":618
},
{
"res":"3ACF13EE",
"x":383,
"y":606
},
{
"res":"268B0E2",
"x":385,
"y":603,
"duration":2
},
{
"res":"83067116",
"x":385,
"y":601
},
{
"res":"7A88D33F",
"x":387,
"y":600
},
{
"res":"7BC1046",
"x":388,
"y":599
},
{
"res":"3AEB0082",
"x":388,
"y":599
},
{
"res":"6A3A8847",
"x":390,
"y":598,
"duration":2
},
{
"res":"2144DF1C",
"x":0,
"y":0
}
]
}},
"res":{
"83067116":{"x":0,"y":250,"w":117,"h":128},
"72307228":{"x":122,"y":76,"w":57,"h":31},
"268B0E2":{"x":0,"y":124,"w":119,"h":126},
"2144DF1C":{"x":0,"y":507,"w":1,"h":1},
"7A88D33F":{"x":0,"y":378,"w":113,"h":128},
"3AEB0082":{"x":223,"y":378,"w":109,"h":129},
"6A3A8847":{"x":332,"y":250,"w":105,"h":130},
"3ACF13EE":{"x":0,"y":0,"w":122,"h":124},
"1FCA5D9E":{"x":119,"y":124,"w":120,"h":112},
"F033EF0B":{"x":122,"y":0,"w":118,"h":76},
"7BC1046":{"x":113,"y":378,"w":110,"h":129}
}}
\ No newline at end of file
{"file":"silverbox.png","frames":{
"00":{"x":750,"y":266,"w":160,"h":130,"offX":67,"offY":12,"sourceW":273,"sourceH":166},
"01":{"x":588,"y":266,"w":160,"h":130,"offX":67,"offY":12,"sourceW":273,"sourceH":166},
"03":{"x":0,"y":266,"w":213,"h":131,"offX":36,"offY":15,"sourceW":273,"sourceH":166},
"02":{"x":215,"y":266,"w":209,"h":131,"offX":38,"offY":13,"sourceW":273,"sourceH":166},
"06":{"x":231,"y":133,"w":225,"h":131,"offX":30,"offY":23,"sourceW":273,"sourceH":166},
"12":{"x":426,"y":266,"w":160,"h":130,"offX":67,"offY":12,"sourceW":273,"sourceH":166},
"07":{"x":0,"y":133,"w":229,"h":131,"offX":28,"offY":23,"sourceW":273,"sourceH":166},
"11":{"x":0,"y":0,"w":245,"h":131,"offX":20,"offY":13,"sourceW":273,"sourceH":166},
"05":{"x":458,"y":133,"w":221,"h":131,"offX":32,"offY":21,"sourceW":273,"sourceH":166},
"04":{"x":681,"y":133,"w":217,"h":131,"offX":34,"offY":18,"sourceW":273,"sourceH":166},
"10":{"x":247,"y":0,"w":241,"h":131,"offX":22,"offY":15,"sourceW":273,"sourceH":166},
"09":{"x":490,"y":0,"w":237,"h":131,"offX":24,"offY":18,"sourceW":273,"sourceH":166},
"08":{"x":729,"y":0,"w":233,"h":131,"offX":26,"offY":21,"sourceW":273,"sourceH":166}}}
\ No newline at end of file
{"file":"woodbox.png","frames":{
"00":{"x":0,"y":301,"w":147,"h":148,"offX":44,"offY":5,"sourceW":230,"sourceH":180},
"01":{"x":149,"y":301,"w":146,"h":148,"offX":44,"offY":5,"sourceW":230,"sourceH":180},
"03":{"x":564,"y":151,"w":177,"h":148,"offX":28,"offY":8,"sourceW":230,"sourceH":180},
"02":{"x":743,"y":151,"w":173,"h":148,"offX":30,"offY":6,"sourceW":230,"sourceH":180},
"06":{"x":0,"y":150,"w":190,"h":149,"offX":21,"offY":14,"sourceW":230,"sourceH":180},
"07":{"x":826,"y":0,"w":194,"h":149,"offX":18,"offY":14,"sourceW":230,"sourceH":180},
"11":{"x":0,"y":0,"w":211,"h":148,"offX":9,"offY":6,"sourceW":230,"sourceH":180},
"05":{"x":192,"y":150,"w":186,"h":149,"offX":23,"offY":13,"sourceW":230,"sourceH":180},
"04":{"x":380,"y":151,"w":182,"h":149,"offX":25,"offY":10,"sourceW":230,"sourceH":180},
"10":{"x":213,"y":0,"w":207,"h":148,"offX":11,"offY":8,"sourceW":230,"sourceH":180},
"09":{"x":422,"y":0,"w":202,"h":149,"offX":14,"offY":10,"sourceW":230,"sourceH":180},
"08":{"x":626,"y":0,"w":198,"h":149,"offX":16,"offY":13,"sourceW":230,"sourceH":180}}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>yu1</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="yu1" align="middle">
<param name="movie" value="yu1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="yu1.swf" width="750" height="1206">
<param name="movie" value="yu1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"yu1":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"F6A19DC5",
"x":2,
"y":489
},
{
"res":"2FC4962E",
"x":2,
"y":488
},
{
"res":"59B0CBDC",
"x":2,
"y":488
},
{
"res":"DEE6690A",
"x":2,
"y":489
},
{
"res":"4D8A5F79",
"x":2,
"y":490
},
{
"res":"13281757",
"x":2,
"y":491
},
{
"res":"34E3D59",
"x":2,
"y":492
},
{
"res":"4CDB34C1",
"x":2,
"y":492
},
{
"res":"313B29B5",
"x":2,
"y":493
},
{
"res":"6502EE04",
"x":2,
"y":494
},
{
"res":"81F4180A",
"x":2,
"y":496
},
{
"res":"57A037DE",
"x":2,
"y":496
},
{
"res":"52FD0022",
"x":2,
"y":497
},
{
"res":"F572781D",
"x":2,
"y":497
},
{
"res":"34DF0B2D",
"x":2,
"y":498
},
{
"res":"6A8956EA",
"x":2,
"y":498
},
{
"res":"34DF0B2D",
"x":2,
"y":498
},
{
"res":"F572781D",
"x":2,
"y":497
},
{
"res":"52FD0022",
"x":2,
"y":497
},
{
"res":"57A037DE",
"x":2,
"y":496
},
{
"res":"81F4180A",
"x":2,
"y":496
},
{
"res":"6502EE04",
"x":2,
"y":494
},
{
"res":"313B29B5",
"x":2,
"y":493
},
{
"res":"4CDB34C1",
"x":2,
"y":492
},
{
"res":"34E3D59",
"x":2,
"y":492
},
{
"res":"13281757",
"x":2,
"y":491
},
{
"res":"4D8A5F79",
"x":2,
"y":490
},
{
"res":"DEE6690A",
"x":2,
"y":489
},
{
"res":"6EBDB6DE",
"x":2,
"y":488
},
{
"res":"2FC4962E",
"x":2,
"y":488
}
]
}},
"res":{
"13281757":{"x":969,"y":320,"w":482,"h":305},
"57A037DE":{"x":1452,"y":916,"w":480,"h":277},
"DEE6690A":{"x":1453,"y":319,"w":482,"h":313},
"313B29B5":{"x":969,"y":627,"w":481,"h":292},
"52FD0022":{"x":484,"y":920,"w":480,"h":273},
"4CDB34C1":{"x":1,"y":623,"w":481,"h":296},
"59B0CBDC":{"x":969,"y":1,"w":482,"h":317},
"4D8A5F79":{"x":485,"y":320,"w":482,"h":309},
"6EBDB6DE":{"x":485,"y":1,"w":482,"h":317},
"F572781D":{"x":1,"y":921,"w":480,"h":270},
"34E3D59":{"x":1,"y":321,"w":481,"h":300},
"6502EE04":{"x":484,"y":631,"w":480,"h":287},
"34DF0B2D":{"x":966,"y":1191,"w":479,"h":268},
"6A8956EA":{"x":966,"y":921,"w":480,"h":268},
"81F4180A":{"x":1452,"y":634,"w":480,"h":280},
"2FC4962E":{"x":1,"y":1,"w":482,"h":318},
"F6A19DC5":{"x":1453,"y":1,"w":481,"h":316}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>yu2</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #333333;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="yu2" align="middle">
<param name="movie" value="yu2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="yu2.swf" width="750" height="1206">
<param name="movie" value="yu2.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"yu2":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"532722A1",
"x":2,
"y":488
},
{
"res":"40036B0D",
"x":2,
"y":488
},
{
"res":"C8646C67",
"x":2,
"y":489
},
{
"res":"ABAB4748",
"x":2,
"y":409
},
{
"res":"33B78DBC",
"x":2,
"y":0
},
{
"res":"405ACA8A",
"x":2,
"y":168
},
{
"res":"6C123BCD",
"x":2,
"y":0
},
{
"res":"AEDAD7",
"x":2,
"y":0
},
{
"res":"406E58E7",
"x":2,
"y":498
},
{
"res":"2086775D",
"x":2,
"y":497
},
{
"res":"7E496D40",
"x":2,
"y":497
}
]
}},
"res":{
"406E58E7":{"x":881,"y":1766,"w":750,"h":253},
"ABAB4748":{"x":0,"y":1495,"w":750,"h":335},
"2086775D":{"x":750,"y":1494,"w":726,"h":272},
"40036B0D":{"x":980,"y":254,"w":484,"h":355},
"6C123BCD":{"x":472,"y":745,"w":409,"h":749},
"AEDAD7":{"x":0,"y":745,"w":472,"h":750},
"405ACA8A":{"x":603,"y":0,"w":377,"h":579},
"532722A1":{"x":980,"y":609,"w":485,"h":321},
"7E496D40":{"x":1476,"y":254,"w":563,"h":322},
"33B78DBC":{"x":0,"y":0,"w":603,"h":745},
"C8646C67":{"x":980,"y":0,"w":738,"h":254}
}}
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>yu3</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #333333;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="750" height="1206" id="yu3" align="middle">
<param name="movie" value="yu3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="yu3.swf" width="750" height="1206">
<param name="movie" value="yu3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#333333" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
{"mc":{
"yu3":{
"frameRate":24,
"events":[
],
"frames":[
{
"res":"DF42C8FE",
"x":2,
"y":488
},
{
"res":"C2449C37",
"x":2,
"y":401
},
{
"res":"4D9C14AE",
"x":2,
"y":148
},
{
"res":"C5FCD141",
"x":2,
"y":0
},
{
"res":"7D04779E",
"x":2,
"y":116
},
{
"res":"DE33F6",
"x":2,
"y":74
},
{
"res":"58C0BAAC",
"x":2,
"y":0
},
{
"res":"B17AEB9A",
"x":2,
"y":460
},
{
"res":"D618E07E",
"x":2,
"y":495
},
{
"res":"FD7EA61A",
"x":2,
"y":496
},
{
"res":"61EDD001",
"x":2,
"y":497
}
]
}},
"res":{
"D618E07E":{"x":756,"y":1340,"w":750,"h":303},
"61EDD001":{"x":1506,"y":714,"w":492,"h":332},
"DE33F6":{"x":0,"y":1340,"w":380,"h":671},
"4D9C14AE":{"x":0,"y":0,"w":618,"h":594},
"FD7EA61A":{"x":1506,"y":346,"w":490,"h":368},
"B17AEB9A":{"x":756,"y":1643,"w":750,"h":287},
"58C0BAAC":{"x":0,"y":594,"w":403,"h":746},
"C2449C37":{"x":618,"y":0,"w":750,"h":340},
"C5FCD141":{"x":403,"y":594,"w":393,"h":742},
"DF42C8FE":{"x":1368,"y":0,"w":604,"h":346},
"7D04779E":{"x":380,"y":1340,"w":376,"h":627}
}}
\ No newline at end of file
{ {
"groups": [ "groups": [
{ {
"keys": "ruleBg_png,X_png", "keys": "ruleBg_png,X_png,starTips_png",
"name": "rule" "name": "rule"
}, },
{ {
"keys": "guide_tips_png,guide_hand_png,guide_dialog_png", "keys": "",
"name": "guide" "name": "guide"
}, },
{ {
"keys": "ruleBtn_png,optionBtn_png", "keys": "ruleBtn_png,optionBtn_png,titleBanner_png,startbtn_png,number_json,number_png,loading_thumb_png,loading_track_png,hb1_png,hb2_png,hb3_png,hb4_png,kd_png,playbtn_png,yu1_png,yu1_json,yu2_json,yu2_png,yu3_png,yu3_json,shuipao_png,npc_d1_json,npc_d1_png,npc_d2_json,npc_d2_png,npc_d3_png,npc_d3_json,npc_y1_json,npc_y1_png,npc_y2_png,npc_y2_json,shui_png,shui_json",
"name": "startscene" "name": "startscene"
}, },
{ {
...@@ -25,8 +25,20 @@ ...@@ -25,8 +25,20 @@
"name": "prize" "name": "prize"
}, },
{ {
"keys": "river4_png,river3_png,river2_png,river1_png,river5_png,river6_png,river7_png", "keys": "",
"name": "river" "name": "river"
},
{
"keys": "losePanelX_png,losePanelUseBtn_png,losePanelbg_png",
"name": "lose"
},
{
"keys": "firstTipsbg_png,firstTipsclose_png,firstTipscsurebtn_png",
"name": "firstTips"
},
{
"keys": "",
"name": "preload"
} }
], ],
"resources": [ "resources": [
...@@ -46,159 +58,455 @@ ...@@ -46,159 +58,455 @@
"name": "bg_jpg" "name": "bg_jpg"
}, },
{ {
"url": "assets/startScene/gift2.png", "url": "assets/startScene/optionBtn.png",
"type": "image", "type": "image",
"name": "gift2_png" "name": "optionBtn_png"
}, },
{ {
"url": "assets/startScene/coin.png", "url": "assets/startScene/ruleBtn.png",
"type": "image", "type": "image",
"name": "coin_png" "name": "ruleBtn_png"
}, },
{ {
"url": "assets/startScene/gift.png", "url": "assets/option/line2.png",
"type": "image", "type": "image",
"name": "gift_png" "name": "line2_png"
}, },
{ {
"url": "assets/startScene/goldenbox.png", "url": "assets/option/prizeBg.png",
"type": "image", "type": "image",
"name": "goldenbox_png" "name": "prizeBg_png"
}, },
{ {
"url": "assets/startScene/silverbox.png", "url": "assets/option/X-1.png",
"type": "image", "type": "image",
"name": "silverbox_png" "name": "X-1_png"
}, },
{ {
"url": "assets/startScene/woodbox.json", "url": "assets/option/line.png",
"type": "sheet", "type": "image",
"name": "woodbox_json", "name": "line_png"
"subkeys": "00,01,02,03,04,05,06,07,08,09,10,11"
}, },
{ {
"url": "assets/startScene/net.json", "url": "assets/alert/alertbg.png",
"type": "sheet", "type": "image",
"name": "net_json", "name": "alertbg_png"
"subkeys": "00,01,02,03,04,05,06,07,08,09,10"
}, },
{ {
"url": "assets/startScene/guide/guide_tips.png", "url": "assets/prize/prizePanelbg.png",
"type": "image", "type": "image",
"name": "guide_tips_png" "name": "prizePanelbg_png"
}, },
{ {
"url": "assets/startScene/guide/guide_hand.png", "url": "assets/prize/PrizePanelX.png",
"type": "image", "type": "image",
"name": "guide_hand_png" "name": "PrizePanelX_png"
}, },
{ {
"url": "assets/startScene/guide/guide_dialog.png", "url": "assets/prize/prizePanelUseBtn.png",
"type": "image", "type": "image",
"name": "guide_dialog_png" "name": "prizePanelUseBtn_png"
}, },
{ {
"url": "assets/startScene/optionBtn.png", "url": "assets/startScene/titleBanner.png",
"type": "image", "type": "image",
"name": "optionBtn_png" "name": "titleBanner_png"
}, },
{ {
"url": "assets/startScene/ruleBtn.png", "url": "assets/.DS_Store",
"type": "bin",
"name": "_DS_Store"
},
{
"url": "assets/lose/.DS_Store",
"type": "bin",
"name": "_DS_Store"
},
{
"url": "assets/lose/losePanelUseBtn.png",
"type": "image", "type": "image",
"name": "ruleBtn_png" "name": "losePanelUseBtn_png"
}, },
{ {
"url": "assets/option/line2.png", "url": "assets/lose/losePanelX.png",
"type": "image", "type": "image",
"name": "line2_png" "name": "losePanelX_png"
}, },
{ {
"url": "assets/option/prizeBg.png", "url": "assets/lose/losePanelbg.png",
"type": "image", "type": "image",
"name": "prizeBg_png" "name": "losePanelbg_png"
}, },
{ {
"url": "assets/option/X-1.png", "url": "assets/startScene/startbtn.png",
"type": "image", "type": "image",
"name": "X-1_png" "name": "startbtn_png"
}, },
{ {
"url": "assets/option/line.png", "url": "assets/firstTips/.DS_Store",
"type": "bin",
"name": "_DS_Store"
},
{
"url": "assets/firstTips/firstTipsbg.png",
"type": "image", "type": "image",
"name": "line_png" "name": "firstTipsbg_png"
}, },
{ {
"url": "assets/alert/alertbg.png", "url": "assets/firstTips/firstTipsclose.png",
"type": "image", "type": "image",
"name": "alertbg_png" "name": "firstTipsclose_png"
}, },
{ {
"url": "assets/prize/prizePanelbg.png", "url": "assets/firstTips/firstTipscsurebtn.png",
"type": "image", "type": "image",
"name": "prizePanelbg_png" "name": "firstTipscsurebtn_png"
}, },
{ {
"url": "assets/prize/PrizePanelX.png", "url": "assets/startScene/.DS_Store",
"type": "bin",
"name": "_DS_Store"
},
{
"url": "assets/startScene/nu.gif",
"type": "image", "type": "image",
"name": "PrizePanelX_png" "name": "nu_gif"
}, },
{ {
"url": "assets/prize/prizePanelUseBtn.png", "url": "assets/startScene/number2.fla",
"type": "bin",
"name": "number2_fla"
},
{
"url": "assets/startScene/number2.html",
"type": "bin",
"name": "number2_html"
},
{
"url": "assets/startScene/number2.swf",
"type": "bin",
"name": "number2_swf"
},
{
"url": "assets/startScene/number.png",
"type": "image", "type": "image",
"name": "prizePanelUseBtn_png" "name": "number_png"
}, },
{ {
"url": "assets/startScene/monkey.json", "url": "assets/startScene/number.json",
"type": "sheet", "type": "json",
"name": "monkey_json", "name": "number_json"
"subkeys": "eyeleft,eyeright,monkey"
}, },
{ {
"url": "assets/startScene/kids.json", "url": "assets/startScene/loading_thumb.png",
"type": "sheet", "type": "image",
"name": "kids_json", "name": "loading_thumb_png"
"subkeys": "boy_eye,boyhand,girl_eye,girlhand,kids,kidschair" },
{
"url": "assets/startScene/loading_track.png",
"type": "image",
"name": "loading_track_png"
},
{
"url": "assets/startScene/钓锦鲤,抢免单动效(2).mp4",
"type": "bin",
"name": "钓锦鲤,抢免单动效(2)_mp4"
},
{
"url": "assets/startScene/hb1.png",
"type": "image",
"name": "hb1_png"
},
{
"url": "assets/startScene/hb2.png",
"type": "image",
"name": "hb2_png"
},
{
"url": "assets/startScene/hb3.png",
"type": "image",
"name": "hb3_png"
},
{
"url": "assets/startScene/hb4.png",
"type": "image",
"name": "hb4_png"
},
{
"url": "assets/startScene/kd.png",
"type": "image",
"name": "kd_png"
},
{
"url": "assets/startScene/starTips.png",
"type": "image",
"name": "starTips_png"
},
{
"url": "assets/startScene/playbtn.png",
"type": "image",
"name": "playbtn_png"
}, },
{ {
"url": "assets/startScene/river.json", "url": "assets/startScene/number2.png",
"type": "image",
"name": "number2_png"
},
{
"url": "assets/startScene/yu1.fla",
"type": "bin",
"name": "yu1_fla"
},
{
"url": "assets/startScene/yu1.html",
"type": "bin",
"name": "yu1_html"
},
{
"url": "assets/startScene/yu1.png",
"type": "image",
"name": "yu1_png"
},
{
"url": "assets/startScene/yu1.swf",
"type": "bin",
"name": "yu1_swf"
},
{
"url": "assets/startScene/数字.fla",
"type": "bin",
"name": "数字_fla"
},
{
"url": "assets/startScene/yu1.json",
"type": "json",
"name": "yu1_json"
},
{
"url": "assets/startScene/number2.json",
"type": "json",
"name": "number2_json"
},
{
"url": "assets/startScene/number3.json",
"type": "sheet", "type": "sheet",
"name": "river_json", "name": "number3_json",
"subkeys": "river1,river2,river3,river4" "subkeys": "0,1,2,3,4,5,6,7,8,9"
}, },
{ {
"url": "assets/startScene/river/river4.png", "url": "assets/startScene/yu2.fla",
"type": "bin",
"name": "yu2_fla"
},
{
"url": "assets/startScene/yu2.html",
"type": "bin",
"name": "yu2_html"
},
{
"url": "assets/startScene/yu2.png",
"type": "image", "type": "image",
"name": "river4_png" "name": "yu2_png"
},
{
"url": "assets/startScene/yu2.swf",
"type": "bin",
"name": "yu2_swf"
}, },
{ {
"url": "assets/startScene/river/river3.png", "url": "assets/startScene/yu2.json",
"type": "json",
"name": "yu2_json"
},
{
"url": "assets/startScene/yu3.fla",
"type": "bin",
"name": "yu3_fla"
},
{
"url": "assets/startScene/yu3.html",
"type": "bin",
"name": "yu3_html"
},
{
"url": "assets/startScene/yu3.png",
"type": "image", "type": "image",
"name": "river3_png" "name": "yu3_png"
}, },
{ {
"url": "assets/startScene/river/river2.png", "url": "assets/startScene/yu3.swf",
"type": "bin",
"name": "yu3_swf"
},
{
"url": "assets/startScene/yu3.json",
"type": "json",
"name": "yu3_json"
},
{
"url": "assets/startScene/couple.png",
"type": "image", "type": "image",
"name": "river2_png" "name": "couple_png"
}, },
{ {
"url": "assets/startScene/river/river1.png", "url": "assets/startScene/shuipao.png",
"type": "image", "type": "image",
"name": "river1_png" "name": "shuipao_png"
},
{
"url": "assets/startScene/couple.json",
"type": "json",
"name": "couple_json"
}, },
{ {
"url": "assets/startScene/river/river5.png", "url": "assets/startScene/npc_d1.fla",
"type": "bin",
"name": "npc_d1_fla"
},
{
"url": "assets/startScene/npc_d1.html",
"type": "bin",
"name": "npc_d1_html"
},
{
"url": "assets/startScene/npc_d1.png",
"type": "image", "type": "image",
"name": "river5_png" "name": "npc_d1_png"
},
{
"url": "assets/startScene/npc_d1.swf",
"type": "bin",
"name": "npc_d1_swf"
}, },
{ {
"url": "assets/startScene/river/river7.png", "url": "assets/startScene/npc_d2.fla",
"type": "bin",
"name": "npc_d2_fla"
},
{
"url": "assets/startScene/npc_d2.html",
"type": "bin",
"name": "npc_d2_html"
},
{
"url": "assets/startScene/npc_d2.png",
"type": "image", "type": "image",
"name": "river7_png" "name": "npc_d2_png"
}, },
{ {
"url": "assets/startScene/river/river6.png", "url": "assets/startScene/npc_d2.swf",
"type": "bin",
"name": "npc_d2_swf"
},
{
"url": "assets/startScene/npc_d3.fla",
"type": "bin",
"name": "npc_d3_fla"
},
{
"url": "assets/startScene/npc_d3.html",
"type": "bin",
"name": "npc_d3_html"
},
{
"url": "assets/startScene/npc_d3.png",
"type": "image",
"name": "npc_d3_png"
},
{
"url": "assets/startScene/npc_d3.swf",
"type": "bin",
"name": "npc_d3_swf"
},
{
"url": "assets/startScene/npc_y1.fla",
"type": "bin",
"name": "npc_y1_fla"
},
{
"url": "assets/startScene/npc_y1.html",
"type": "bin",
"name": "npc_y1_html"
},
{
"url": "assets/startScene/npc_y1.png",
"type": "image",
"name": "npc_y1_png"
},
{
"url": "assets/startScene/npc_y1.swf",
"type": "bin",
"name": "npc_y1_swf"
},
{
"url": "assets/startScene/npc_y2.fla",
"type": "bin",
"name": "npc_y2_fla"
},
{
"url": "assets/startScene/npc_y2.html",
"type": "bin",
"name": "npc_y2_html"
},
{
"url": "assets/startScene/npc_y2.png",
"type": "image", "type": "image",
"name": "river6_png" "name": "npc_y2_png"
},
{
"url": "assets/startScene/npc_y2.swf",
"type": "bin",
"name": "npc_y2_swf"
},
{
"url": "assets/startScene/shui.fla",
"type": "bin",
"name": "shui_fla"
},
{
"url": "assets/startScene/shui.html",
"type": "bin",
"name": "shui_html"
},
{
"url": "assets/startScene/shui.png",
"type": "image",
"name": "shui_png"
},
{
"url": "assets/startScene/shui.swf",
"type": "bin",
"name": "shui_swf"
},
{
"url": "assets/startScene/npc_d1.json",
"type": "json",
"name": "npc_d1_json"
},
{
"url": "assets/startScene/npc_d2.json",
"type": "json",
"name": "npc_d2_json"
},
{
"url": "assets/startScene/npc_d3.json",
"type": "json",
"name": "npc_d3_json"
},
{
"url": "assets/startScene/npc_y1.json",
"type": "json",
"name": "npc_y1_json"
},
{
"url": "assets/startScene/npc_y2.json",
"type": "json",
"name": "npc_y2_json"
},
{
"url": "assets/startScene/shui.json",
"type": "json",
"name": "shui_json"
} }
] ]
} }
\ No newline at end of file
{ {
"skins": {}, "skins": {},
"autoGenerateExmlsList": true, "autoGenerateExmlsList": true,
"exmls": [ "exmls": [
"resource/skins/AlertSkin.exml", "resource/skins/AlertSkin.exml",
"resource/skins/OptionItemSkin.exml", "resource/skins/OptionItemSkin.exml",
"resource/skins/OptionsSkin.exml", "resource/skins/OptionsSkin.exml",
"resource/skins/PrizeSkin.exml", "resource/skins/PrizeSkin.exml",
"resource/skins/RuleSkin.exml", "resource/skins/RuleSkin.exml",
"resource/skins/StartSkin.exml", "resource/skins/StartSkin.exml",
"resource/skins/VScrollBarSkin.exml" "resource/skins/IconButtonSkin.exml",
], "resource/skins/ProgressBarSkin.exml",
"path": "resource/default.thm.json" "resource/skins/VScrollBarSkin.exml"
],
"path": "resource/default.thm.json"
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="PrizeSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*" xmlns:tween="egret.tween.*">
<w:Declarations>
<tween:TweenGroup id="tipsA">
<tween:TweenItem target="{tipsText}">
<tween:To duration="1000"/>
<tween:To duration="1000">
<tween:props>
<e:Object y="{344.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
</w:Declarations>
<e:Image source="firstTipsbg_png" x="62" y="335"/>
<e:Label id="tipsText" text="加载中..." x="115.05" y="387.5" anchorOffsetX="0" width="230.99" anchorOffsetY="0" height="176.01" rotation="0.05" textAlign="left" size="24" lineSpacing="20"/>
<e:Button id="closeBtn" label="Button" icon="firstTipsclose_png" skinName="ui.IconButtonSkin" horizontalCenter="252.5" verticalCenter="-427.5"/>
<e:Button id="sureBtn" label="Button" skinName="ui.IconButtonSkin" icon="firstTipscsurebtn_png" verticalCenter="287.5" horizontalCenter="-4.5"/>
<e:Label id="giftText" text="Label" x="119" y="669" anchorOffsetX="0" width="501" textAlign="center" textColor="0x44287f" size="20"/>
<e:Rect id="tipsMask" width="243" height="26" x="103.04" y="385.6" anchorOffsetX="0" anchorOffsetY="0" alpha="0" locked="true"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ui.IconButtonSkin" xmlns:e="http://ns.egret.com/eui" xmlns:ns1="*" states="up,down,disabled" >
<e:Image id="iconDisplay" source="" horizontalCenter="0" verticalCenter="0" scaleX.down="0.95" scaleY.down="0.95"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="PrizeSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="losePanelbg_png" x="42" y="336"/>
<e:Label id="countTips" text="Label" x="166.01" y="924" anchorOffsetX="0" width="436" anchorOffsetY="0" height="54" rotation="0.05" textAlign="center"/>
<e:Button id="closeBtn" label="Button" icon="losePanelX_png" skinName="ui.IconButtonSkin" horizontalCenter="291" verticalCenter="-525"/>
<e:Button id="anginBtn" label="Button" skinName="ui.IconButtonSkin" icon="losePanelUseBtn_png" verticalCenter="292" horizontalCenter="9"/>
</e:Skin>
\ No newline at end of file
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<e:Skin class="OptionsSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" <e:Skin class="OptionsSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui"
xmlns:w="http://ns.egret.com/wing"> xmlns:w="http://ns.egret.com/wing">
<w:Config id="1667fb18fa6"/> <w:Config id="1667fb18fa6"/>
<e:Image y="126" horizontalCenter="0" source="prizeBg_png"/> <e:Image y="350.24" horizontalCenter="0" source="prizeBg_png"/>
<e:Button id="closeBtn" label="" x="687" y="157"> <e:Button id="closeBtn" label="" x="687" y="381.24">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="X-1_png" source.down="X-1_png" source.disabled="X-1_png"/> <e:Image width="100%" height="100%" source="X-1_png" source.down="X-1_png" source.disabled="X-1_png"/>
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Scroller id="scroll" width="500" height="638" y="302" horizontalCenter="0" scrollPolicyH="off" scrollPolicyV="on"> <e:Scroller id="scroll" width="500" height="638" y="526.24" horizontalCenter="0" scrollPolicyH="off" scrollPolicyV="on">
<e:Group id="group" y="-2"> <e:Group id="group" y="-2">
<e:List id="list" width="100%"> <e:List id="list" width="100%">
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="PrizeSkin" width="750" height="1000" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="PrizeSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="prizePanelbg_png" y="114.85" horizontalCenter="0"/> <e:Image source="prizePanelbg_png" horizontalCenter="0" verticalCenter="-24"/>
<e:Button id="closeBtn" label="" x="602" y="60"> <e:Button id="closeBtn" label="" skinName="ui.IconButtonSkin" icon="PrizePanelX_png" horizontalCenter="294" verticalCenter="-443">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="PrizePanelX_png" source.down="PrizePanelX_png" source.disabled="PrizePanelX_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button> </e:Button>
<e:Button id="useBtn" label="" x="234.5" y="712"> <e:Button id="useBtn" label="" skinName="ui.IconButtonSkin" icon="prizePanelUseBtn_png" horizontalCenter="0" verticalCenter="367">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="prizePanelUseBtn_png" source.down="prizePanelUseBtn_png" source.disabled="prizePanelUseBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button> </e:Button>
<e:Image id="img" y="403" horizontalCenter="0" touchEnabled="true" source="{data.img}"/> <e:Image id="img" y="575" horizontalCenter="3.5" touchEnabled="true" source="{data.img}"/>
<e:Label text="{data.name}" y="659" horizontalCenter="0" width="508" textAlign="center" size="28"/> <e:Label text="{data.name}" y="1021" horizontalCenter="5" width="508" textAlign="center" size="28"/>
<e:Label id="countTips" text="Label" x="134" y="694" anchorOffsetX="0" width="490" anchorOffsetY="0" height="34" textAlign="center" size="40"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ui.ProgressBarSkin" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:tween="egret.tween.*">
<w:Declarations>
<tween:TweenGroup id="hb">
<tween:TweenItem target="{image}">
<tween:Set>
<tween:props>
<e:Object y="{46}" scaleX="{0}" scaleY="{0}" alpha="{0}"/>
</tween:props>
</tween:Set>
<tween:To duration="250">
<tween:props>
<e:Object scaleX="{1}" scaleY="{1}" y="{83}" alpha="{0.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image0}">
<tween:Wait duration="250"/>
<tween:Set>
<tween:props>
<e:Object y="{46}" scaleX="{0}" scaleY="{0}" alpha="{0}"/>
</tween:props>
</tween:Set>
<tween:To duration="250">
<tween:props>
<e:Object y="{83}" scaleX="{1}" scaleY="{1}" alpha="{0.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image1}">
<tween:Wait duration="500"/>
<tween:Set>
<tween:props>
<e:Object y="{46}" scaleX="{0}" scaleY="{0}"/>
</tween:props>
</tween:Set>
<tween:To duration="250">
<tween:props>
<e:Object y="{83}" scaleX="{1}" scaleY="{1}" alpha="{0.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image2}">
<tween:Wait duration="750"/>
<tween:Set>
<tween:props>
<e:Object y="{46}" scaleX="{0}" scaleY="{0}"/>
</tween:props>
</tween:Set>
<tween:To duration="250">
<tween:props>
<e:Object y="{83}" scaleX="{1}" scaleY="{1}" alpha="{0.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
</w:Declarations>
<e:Image id="track" source="loading_track_png" scale9Grid="16,13,2,2" width="404" alpha="0.9"/>
<e:Image id="thumb" source="loading_thumb_png" x="66" y="17.5" anchorOffsetX="0" width="330" alpha="1"/>
<e:Label id="countText" text="0" x="-6" y="20" anchorOffsetX="0" width="79" textAlign="center"/>
<e:Image id="image" source="hb1_png" x="183" y="83" anchorOffsetX="16" anchorOffsetY="23" alpha="0"/>
<e:Image id="image0" source="hb2_png" x="247" y="84" anchorOffsetX="16" anchorOffsetY="24" alpha="0"/>
<e:Image id="image1" source="hb3_png" x="313" y="83" anchorOffsetX="17" anchorOffsetY="23" alpha="0"/>
<e:Image id="image2" source="hb4_png" x="377" y="83" anchorOffsetX="16" anchorOffsetY="23" alpha="0"/>
<e:Image source="kd_png" x="97.5" y="15.5" anchorOffsetX="0" width="269"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="RuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="RuleSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image id="ruleBg" source="ruleBg_png" horizontalCenter="0.5" verticalCenter="-231"/> <e:Image id="ruleBg" source="ruleBg_png" horizontalCenter="1" verticalCenter="-55"/>
<e:Button id="closeBtn" label="" horizontalCenter="296.5" verticalCenter="-561"> <e:Button id="closeBtn" label="" horizontalCenter="296.5" verticalCenter="-384.5">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="X_png" source.down="X_png" source.disabled="X_png"/> <e:Image width="100%" height="100%" source="X_png" source.down="X_png" source.disabled="X_png"/>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Scroller id="scroller" width="528" x="112" height="641" y="351"> <e:Scroller id="scroller" width="528" x="112" height="641" y="528.26">
<e:Group id="group" width="100%"> <e:Group id="group" width="100%">
<e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0x333333"/> <e:Label id="labContent" width="100%" text="" lineSpacing="10" size="30" multiline="true" textColor="0x333333"/>
<e:layout> <e:layout>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="StartSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="StartSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:tween="egret.tween.*">
<e:Button id="ruleBtn" label="" x="29.27" y="42"> <w:Declarations>
<tween:TweenGroup id="logo">
<tween:TweenItem target="{startBtn}">
<tween:Set/>
<tween:To duration="250">
<tween:props>
<e:Object scaleX="{1.1}" scaleY="{1.1}"/>
</tween:props>
</tween:To>
<tween:To duration="150">
<tween:props>
<e:Object scaleX="{1}" scaleY="{1}"/>
</tween:props>
</tween:To>
<tween:To duration="150">
<tween:props>
<e:Object scaleX="{1.1}" scaleY="{1.1}"/>
</tween:props>
</tween:To>
<tween:To duration="200">
<tween:props>
<e:Object scaleX="{1}" scaleY="{1}"/>
</tween:props>
</tween:To>
<tween:Wait duration="500"/>
<tween:Set/>
</tween:TweenItem>
</tween:TweenGroup>
<tween:TweenGroup id="countNumber">
<tween:TweenItem target="{rectTop}">
<tween:Set>
<tween:props>
<e:Object alpha="{0}" scaleX="{2}" scaleY="{2}" x="{349.5}"/>
</tween:props>
</tween:Set>
<tween:To duration="400">
<tween:props>
<e:Object scaleX="{1}" scaleY="{1}" alpha="{1}" x="{349.5}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
<tween:TweenGroup id="holed">
<tween:TweenItem target="{progressCon}">
<tween:To duration="250">
<tween:props>
<e:Object scaleX="{1.2}" scaleY="{1.2}"/>
</tween:props>
</tween:To>
<tween:To duration="250">
<tween:props>
<e:Object scaleX="{1}" scaleY="{1}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image0}">
<tween:Wait duration="1500"/>
<tween:Set>
<tween:props>
<e:Object scaleX="{0}" scaleY="{0}" y="{654}" alpha="{0}"/>
</tween:props>
</tween:Set>
<tween:To duration="500">
<tween:props>
<e:Object y="{542}" scaleX="{1.2}" scaleY="{1.2}" alpha="{1}"/>
</tween:props>
</tween:To>
<tween:To duration="350">
<tween:props>
<e:Object x="{633.5}" y="{600.6}" scaleX="{1}" scaleY="{1}" alpha="{1}"/>
</tween:props>
</tween:To>
<tween:To duration="200">
<tween:props>
<e:Object y="{591.6}" alpha="{1}"/>
</tween:props>
</tween:To>
<tween:To duration="200">
<tween:props>
<e:Object x="{632.5}" y="{605.6}" alpha="{1}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
<tween:TweenGroup id="startA">
<tween:TweenItem target="{progressCon}">
<tween:Set/>
<tween:To duration="500">
<tween:props>
<e:Object y="{397}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image}">
<tween:Set/>
<tween:To duration="500">
<tween:props>
<e:Object x="{377}" y="{29}" scaleX="{0}" scaleY="{0}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image0}">
<tween:Set/>
<tween:To duration="500">
<tween:props>
<e:Object alpha="{0}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
<tween:TweenGroup id="shuipao">
<tween:TweenItem target="{image1}">
<tween:Set>
<tween:props>
<e:Object y="{1624}" x="{27.5}"/>
</tween:props>
</tween:Set>
<tween:To duration="800">
<tween:props>
<e:Object x="{168}" y="{1449.33}"/>
</tween:props>
</tween:To>
<tween:To duration="1200">
<tween:props>
<e:Object x="{258.67}" y="{812}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image2}">
<tween:Set/>
<tween:To duration="800">
<tween:props>
<e:Object x="{492.66}" y="{1072.34}"/>
</tween:props>
</tween:To>
<tween:To duration="1200">
<tween:props>
<e:Object x="{553.5}" y="{848}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image6}">
<tween:Set>
<tween:props>
<e:Object x="{273.33}" y="{1076.34}"/>
</tween:props>
</tween:Set>
<tween:To duration="700">
<tween:props>
<e:Object x="{391.93}" y="{751.01}"/>
</tween:props>
</tween:To>
<tween:Wait duration="350"/>
<tween:Set>
<tween:props>
<e:Object x="{195.9}" y="{1432.34}"/>
</tween:props>
</tween:Set>
<tween:To duration="950">
<tween:props>
<e:Object x="{354}" y="{1076.34}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image5}">
<tween:Set/>
<tween:To duration="2000">
<tween:props>
<e:Object x="{436}" y="{938.34}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image3}">
<tween:Set>
<tween:props>
<e:Object x="{474.67}" y="{1544.34}"/>
</tween:props>
</tween:Set>
<tween:To duration="2000">
<tween:props>
<e:Object x="{150}" y="{866}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
<tween:TweenItem target="{image4}">
<tween:Set/>
<tween:To duration="2000">
<tween:props>
<e:Object x="{565}" y="{1364.34}"/>
</tween:props>
</tween:To>
</tween:TweenItem>
</tween:TweenGroup>
</w:Declarations>
<e:Image id="bg" source="bg_jpg" x="-2" y="0"/>
<e:Image id="image1" source="shuipao_png" x="197.33" y="1562.34"/>
<e:Image id="image2" source="shuipao_png" x="255.33" y="1544.34"/>
<e:Image id="image5" source="shuipao_png" x="372" y="1562.34"/>
<e:Image id="image6" source="shuipao_png" x="61.5" y="1459.01"/>
<e:Image id="image4" source="shuipao_png" x="657.5" y="1544.34"/>
<e:Image id="image3" source="shuipao_png" x="472" y="1526.34"/>
<e:Image id="image" source="titleBanner_png" x="377" y="321" anchorOffsetX="377" anchorOffsetY="267"/>
<e:Button id="ruleBtn" label="" anchorOffsetX="46" anchorOffsetY="44" horizontalCenter="-313.5" verticalCenter="-541">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="ruleBtn_png" source.down="ruleBtn_png" source.disabled="ruleBtn_png"/> <e:Image width="100%" height="100%" source="ruleBtn_png" source.down="ruleBtn_png" source.disabled="ruleBtn_png" scaleX.down="0.95" scaleY.down="0.95"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="optionBtn" label="" x="632.57" y="42"> <e:Button id="optionBtn" label="" anchorOffsetX="48" anchorOffsetY="46" horizontalCenter="318.5" verticalCenter="-541">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="optionBtn_png" source.down="optionBtn_png" source.disabled="optionBtn_png"/> <e:Image width="100%" height="100%" source="optionBtn_png" source.down="optionBtn_png" source.disabled="optionBtn_png" scaleX.down="0.95" scaleY.down="0.95"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/> <e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="startBtn" label="Button" skinName="ui.IconButtonSkin" icon="startbtn_png" anchorOffsetX="224" anchorOffsetY="54" verticalCenter="398.5" horizontalCenter="0.5"/>
<e:Rect id="rectTop" width="26" height="21" anchorOffsetX="13" anchorOffsetY="11" alpha="1" fillAlpha="0" scaleX="0" scaleY="0" verticalCenter="-558" horizontalCenter="-3"/>
<e:ProgressBar id="progressCon" width="415" height="112" x="376" y="452" skinName="ui.ProgressBarSkin" value="10" anchorOffsetX="208" anchorOffsetY="55"/>
<e:Image id="image0" source="starTips_png" x="632.5" y="603" anchorOffsetX="61" anchorOffsetY="62" alpha="0"/>
<e:Button id="playBtn" label="Button" skinName="ui.IconButtonSkin" icon="playbtn_png" horizontalCenter="-1.5" verticalCenter="398.5" anchorOffsetX="222" anchorOffsetY="55"/>
<e:Rect id="yuPosition" width="127" height="97" x="0" y="1.5" anchorOffsetX="0" anchorOffsetY="0" fillAlpha="0"/>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin width="400" height="300" xmlns:e="http://ns.egret.com/eui">
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="tips" width="400" height="300" xmlns:e="http://ns.egret.com/eui">
<e:Label text="LabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabel" x="38" y="23.5" anchorOffsetX="0" width="324" anchorOffsetY="0" height="253"/>
</e:Skin>
\ No newline at end of file
...@@ -8,15 +8,20 @@ import RulePanel from "./rulePanel/RulePanel"; ...@@ -8,15 +8,20 @@ import RulePanel from "./rulePanel/RulePanel";
import StartScene from "./startScene/StartScene"; import StartScene from "./startScene/StartScene";
import { ModuleTypes } from "./types/sceneTypes"; import { ModuleTypes } from "./types/sceneTypes";
import PrizePanel from "./prizePanel/PrizePanel"; import PrizePanel from "./prizePanel/PrizePanel";
import LosePanel from "./losePanel/LosePanel";
import FirstTipsPanel from "./firstTipsPanel/FirstTipsPanel";
import showAlertPanel from "./ctrls/showAlertPanel"; import showAlertPanel from "./ctrls/showAlertPanel";
import MovieClipManager from "./MovieClipManager";
class Main extends MainBase { class Main extends MainBase {
protected registerModules() { protected registerModules() {
this.stage.scaleMode = egret.StageScaleMode.NO_BORDER;
PanelCtrl.instance.registerPanelClass(ModuleTypes.ALERT_PANEL, Alert); PanelCtrl.instance.registerPanelClass(ModuleTypes.ALERT_PANEL, Alert);
PanelCtrl.instance.registerPanelClass(ModuleTypes.RULE_PANEL, RulePanel); PanelCtrl.instance.registerPanelClass(ModuleTypes.RULE_PANEL, RulePanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.OPTIONS_PANEL, OptionsPanel); PanelCtrl.instance.registerPanelClass(ModuleTypes.OPTIONS_PANEL, OptionsPanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.PRIZE_PANEL, PrizePanel); PanelCtrl.instance.registerPanelClass(ModuleTypes.PRIZE_PANEL, PrizePanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.LOSE_PANEL, LosePanel);
PanelCtrl.instance.registerPanelClass(ModuleTypes.FIRSTTIPS_PANEL, FirstTipsPanel);
SceneCtrl.instance.registerSceneClass(ModuleTypes.START_SCENE, StartScene); SceneCtrl.instance.registerSceneClass(ModuleTypes.START_SCENE, StartScene);
NetManager.ins.onNotSuccess=(msg)=>{ NetManager.ins.onNotSuccess=(msg)=>{
showAlertPanel(msg) showAlertPanel(msg)
...@@ -29,12 +34,16 @@ class Main extends MainBase { ...@@ -29,12 +34,16 @@ class Main extends MainBase {
} }
protected async createGameScene() { protected async createGameScene() {
// await RES.loadConfig();
// await MovieClipManager.instance.init();
SceneCtrl.instance.change(ModuleTypes.START_SCENE); SceneCtrl.instance.change(ModuleTypes.START_SCENE);
} }
} }
window['Main'] = Main; window['Main'] = Main;
egret.runEgret({ egret.runEgret({
renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor: function (context:any) { renderMode: "webgl", audioType: 0, calculateCanvasScaleFactor: function (context:any) {
var backingStore = context.backingStorePixelRatio || var backingStore = context.backingStorePixelRatio ||
......
export default class MovieClipManager {
static _instance: MovieClipManager;
public static get instance() {
return MovieClipManager._instance || (MovieClipManager._instance = new MovieClipManager())
}
public movieClipPool:any[] = [];
// 影片剪辑的配置属性
public movieClipNamePool:any[] = [
{name:'yu1', dataName:'yu1', num:1},
{name:'yu2', dataName:'yu2', num:1},
{name:'yu3', dataName:'yu3', num:1},
{name:'npc_y1', dataName:'npc_y1', num:5},
{name:'npc_y2', dataName:'npc_y2', num:5},
{name:'npc_d1', dataName:'npc_d1', num:5},
{name:'npc_d2', dataName:'npc_d2', num:5},
{name:'npc_d3', dataName:'npc_d3', num:5},
{name:'shui', dataName:'shui', num:5},
{name:'number', dataName:'number2', num:2},
];
// 初始化
public init(){
this.initMovieClip();
}
// 初始化影片剪辑
private initMovieClip():void{
for(let m = 0; m < this.movieClipNamePool.length; m++){
this.ayncLoad2Mc(`${this.movieClipNamePool[m].name}_json`);
}
}
// 异步加载动画资源
private ayncLoad2Mc(resname : string) : void{
RES.getResAsync(resname,this.onLoad.bind(this),this);
}
// 加载完的回调
private onLoad(data: any,key: string){
let scope = this;
for(let m = 0; m < scope.movieClipNamePool.length; m++){
if(key == `${scope.movieClipNamePool[m].name}_json`) {
scope.ayncLoad2Mc(`${scope.movieClipNamePool[m].name}_png`);
}else if(key == `${scope.movieClipNamePool[m].name}_png`){
for(let i = 0; i < scope.movieClipNamePool[m].num; i++){
let data2mc = RES.getRes(`${scope.movieClipNamePool[m].name}_json`);
let texture2mc = RES.getRes(`${scope.movieClipNamePool[m].name}_png`);
let mcFactory : egret.MovieClipDataFactory = new egret.MovieClipDataFactory(data2mc,texture2mc);
let mc:egret.MovieClip = new egret.MovieClip(mcFactory.generateMovieClipData(`${scope.movieClipNamePool[m].dataName}`));
mc.name = `${scope.movieClipNamePool[m].name}_${i}`;
console.log(mc.name)
scope.movieClipPool.push(mc);
}
}
}
console.log(RES)
}
// 获取单个影片剪辑
public getMovieClipByName(name:string):any{
for(let mc = 0; mc < this.movieClipPool.length; mc++){
if(this.movieClipPool[mc].name == name){
return this.movieClipPool[mc];
}
}
}
}
\ No newline at end of file
import Panel from "../views/Panel";
import { GDispatcher } from "../../libs/tc/index";
import { DataManager } from "../../libs/tw/manager/DataManager";
import { LotteryType } from "../../libs/tw/enum/LotteryType";
import { NetManager } from "../../libs/tw/manager/NetManager";
export default class FirstTipsPanel extends Panel {
public tipsText:eui.Label;
public closeBtn:eui.Button;
public sureBtn:eui.Button;
public giftText:eui.Label;
public tipsMask:eui.Rect;
private img:egret.Bitmap = new egret.Bitmap();
//动画
public tipsA: egret.tween.TweenGroup;
start(data) {
}
private tipsall=[
"1你好撒打算时代的",
"2你好撒打算时代的",
"3你好撒打算时代的",
"4你好撒打算时代的",
]
private scopeMaxs=[]
initEvents() {
super.initEvents();
// this.anginBtn.addEventListener
this.sureBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTouchTap, this)
this.initTips()
NetManager.ins.getOptions(()=>{
console.log(DataManager.ins.getOptionsData)
DataManager.ins.getOptionsData.optionList.forEach((option)=>{
if(option.scope){
console.log(this.getScope(option.scope))
this.scopeMaxs.push(this.getScope(option.scope)[1])
}else{
this.scopeMaxs.push(0)
}
})
console.log(this.scopeMaxs)
console.log(this.GetIndexOfMax(this.scopeMaxs))
this.img
let url = DataManager.ins.getOptionsData.optionList[this.GetIndexOfMax(this.scopeMaxs)].logo;
let imgLoader = new egret.ImageLoader();
imgLoader.crossOrigin = "anonymous";// 跨域请求
imgLoader.load(url);// 去除链接中的转义字符‘\’
imgLoader.once(egret.Event.COMPLETE, (evt: egret.Event) =>{
if (evt.currentTarget.data) {
let texture = new egret.Texture();
texture.bitmapData = evt.currentTarget.data;
this.img.texture=texture;
this.addChild(this.img)
this.img.x=285;
this.img.y=460;
this.img.scaleX=.7;
this.img.scaleY=.7;
console.log(this.img)
}
}, this);
this.giftText.text=DataManager.ins.getOptionsData.optionList[this.GetIndexOfMax(this.scopeMaxs)].description;
})
}
protected get skinKey() { return 'FirstTips' }
public onTouchTap(){
super.onTouchTap()
GDispatcher.dispatchEvent("FirstTipsPanelClose",{});
}
private getScope(val){
var _min;
var _max;
if(val.indexOf("-")==-1){
return[parseInt(val),parseInt(val)]
}else{
var i=val.indexOf("-");
_min=val.slice(0, i);
_max=val.slice(i+1, val.length);
return[parseInt(_min),parseInt(_max)]
}
}
/*
* 求数组最大值的下标
*/
public GetIndexOfMax(arr)
{
var max = 0;
// $length = count($arr);
for (var i=1; i<arr.length; i++){
if (arr[i] > arr[max]){
max = i;
}
}
return max;
}
/**
* 初始化顶部滚动播放
*/
private initTips(){
this.tipsText.mask=this.tipsMask;
var i=0
this.tipsText.text=this.tipsall[i]+"\n"+this.tipsall[i+1];
this.tipsA.play(0)
i=1
setInterval(()=>{
this.tipsText.text=this.tipsall[i]+"\n"+this.tipsall[i+1];
this.tipsA.play(0)
if(i>=this.tipsall.length-1){
i=0;
this.tipsText.text=this.tipsall[this.tipsall.length-1]+"\n"+this.tipsall[0];
this.tipsA.play(0)
}else{
i++
}
},2000)
}
}
\ No newline at end of file
import Panel from "../views/Panel";
import { DataManager } from "../../libs/tw/manager/DataManager";
import { LotteryType } from "../../libs/tw/enum/LotteryType";
import { NetManager } from "../../libs/tw/manager/NetManager";
export default class LosePanel extends Panel {
public countTips:eui.Label;
public closeBtn:eui.Button;
public anginBtn:eui.Button;
start(data) {
}
initEvents() {
super.initEvents();
// this.anginBtn.addEventListener
this.anginBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTouchTap, this)
}
protected get skinKey() { return 'Lose' }
}
\ No newline at end of file
...@@ -18,6 +18,8 @@ export default class PrizePanel extends Panel { ...@@ -18,6 +18,8 @@ export default class PrizePanel extends Panel {
this.img.width = this.img.height = this.picWidth; this.img.width = this.img.height = this.picWidth;
} }
this.img.y=750;
showLog(lottery); showLog(lottery);
} }
......
...@@ -14,26 +14,41 @@ export default class RulePanel extends Panel { ...@@ -14,26 +14,41 @@ export default class RulePanel extends Panel {
} }
group:eui.Group; group:eui.Group;
private addRule() {
let text: string = DataManager.ins.getRuleData.ruleText;
text = text.replace('/<div>/g', '');
text = text.replace('/</div>/g', '');
text = text.replace('/<br>/g', '<br> ');
const textlist = text.split('<br>');
protected config={
x:15.5,
y:"50%",
width:70,
marginTop:-38.5,
height:81,
lineHeight:7,
fontSize:4,
color:"#c56010"
}
private htmlNode;
console.log(text); private clearTime;
// this.labContent.textFlow = (new egret.HtmlTextParser).parser(DataManager.ins.getRuleData.ruleText);
private addRule() {
// alert()
let text: string = DataManager.ins.getRuleData.ruleText;
console.log(DataManager.ins.getRuleData.ruleText)
this.htmlNode=document.createElement("DIV")
this.htmlNode.setAttribute("style",`position: fixed;overflow-x: hidden;margin-top:${this.config.marginTop}vw ;overflow-y: auto;top: ${this.config.y}; left: ${this.config.x}vw;width: ${this.config.width}vw;height: ${this.config.height}vw;line-height: ${this.config.lineHeight}vw;font-size: ${this.config.fontSize}vw;color: ${this.config.color}`)
this.htmlNode.setAttribute("id",`htmlNode`)
this.htmlNode.innerHTML=text
clearTimeout(this.clearTime)
this.clearTime=setTimeout(()=>{
document.body.appendChild(this.htmlNode)
},500)
}
for (let i = 0; i < textlist.length; i++) { hidePanel(){
const l = new eui.Label(); super.hidePanel()
l.textColor=this.labContent.textColor; console.log(document.body)
l.size=this.labContent.size; if(document.getElementById("htmlNode")){
l.width=this.labContent.width; document.body.removeChild(this.htmlNode)
l.minHeight=20;
l.textFlow = (new egret.HtmlTextParser).parser(textlist[i]+'');
this.group.addChild(l)
} }
} }
......
import SheetAnimation from "../components/SheetAnimation";
export default class Box extends egret.Sprite {
private _pic: SheetAnimation;
private _type: string;
private START_SCALE = 0.5;
private START_X = 375;
private START_Y = 350;
private END_Y = 1100;
static MIDDLE_Y = 800+100+30;
speed = 0;
static hashCounter = 0
hash;
constructor(type) {
super();
this.hash = Box.hashCounter++;
this._type = type;
this._pic = new SheetAnimation();
this.addChild(this._pic);
}
private _passMiddleTag: boolean;
onEnterFrame() {
this.y += this.speed;
let distance = this.y - this.START_Y;
const totalDistance = (Box.MIDDLE_Y - this.START_Y);
if (distance > totalDistance) {
distance = totalDistance;
}
if (this.y > Box.MIDDLE_Y && !this._passMiddleTag) {
this._passMiddleTag = true;
this.dispatchEvent(new egret.Event('onPassMiddle'));
}
const scale = this.START_SCALE + (1 - this.START_SCALE) * (distance / totalDistance);
this.scaleX = this.scaleY = scale;
if (this.y > this.END_Y && !this._onDisappear) {
this.disappear();
}
}
move() {
this._pic.play();
if (!this._isPausing)
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
}
private _onDisappear: boolean;
disappear() {
if (!this._onDisappear)
this.dispatchEvent(new egret.Event('onDisappear'));
this._onDisappear = true;
this._pic.destroy();
egret.Tween.get(this).to({ alpha: 0 }, 500).call(this.destroy, this);
}
destroy() {
this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this.parent.removeChild(this);
}
private _isPausing: boolean;
pause() {
this._isPausing = true;
this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
}
resume() {
this._isPausing = false;
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
}
async createBg() {
let url = this.boxData.skin;
return new Promise((resolve) => {
RES.getResByUrl(url, (sheet: egret.SpriteSheet) => {
this._pic.sheet = sheet;
this._pic.fps = 10;
egret.Tween.get(this)
.set({ alpha: 0, scaleX: 0, scaleY: 0, x: this.START_X, y: this.START_Y })
.to({ alpha: 1, scaleX: this.START_SCALE, scaleY: this.START_SCALE }, 500, egret.Ease.getBackInOut(2))
.call(this.move, this);
this.anchorOffsetX = this.boxData.offset[0];
this.anchorOffsetY = this.boxData.offset[1];
resolve(this);
}, this, RES.ResourceItem.TYPE_SHEET);
});
}
async createFirstBg() {
let url = this.boxData.skin;
return new Promise((resolve) => {
RES.getResByUrl(url, (sheet: egret.SpriteSheet) => {
this._pic.sheet = sheet;
this._pic.fps = 10;
this.x = this.START_X;
this.y = this.START_Y
this.scaleX = this.scaleY = this.START_SCALE;
this.move();
this.anchorOffsetX = this.boxData.offset[0];
this.anchorOffsetY = this.boxData.offset[1];
resolve(this);
}, this, RES.ResourceItem.TYPE_SHEET);
});
}
private _vyStart = 25;
private _vy: number;
private _gy: number;
private _throwStartVY: number;
private _scaleMax = 2;
onThrowTick() {
this._vy += this._gy;
this.y += this._vy;
const scale = (this._vyStart * this._scaleMax - Math.abs(this._vy)) / this._vyStart;
this.scaleX = this.scaleY = scale;
}
doThrow() {
this._pic.stopAtIdleFrame();
this._throwStartVY = this._vy;
this._vy = -this._vyStart;
this._gy = .55;
this.y = Box.MIDDLE_Y;
}
get vy() { return this._vy }
get type() { return this._type }
get boxData() { return __boxmap__[this._type] }
}
\ No newline at end of file
import Box from "./Box";
import { getBoxKeyList } from "./data/getBoxKeyList";
export default class BoxListCtrl extends egret.EventDispatcher {
private _parent: egret.Sprite;
private _boxKeys: string[];
private _boxs: Box[];
private _boxSpeed: number;
constructor(parent: egret.Sprite) {
super();
this._parent = parent;
this._boxs = [];
this.init();
this._boxSpeed = __boxMoveSpeed__;
}
init() {
this._boxKeys = getBoxKeyList();
}
private _timer: number;
private _currentBoxIndex = 0;
private _frameCounter = 0;
/** 创建其他的boxs */
resume() {
this._parent.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this._boxs.forEach(box => box.resume());
}
pause() {
this._parent.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this._boxs.forEach(box => box.pause());
}
onEnterFrame() {
this._frameCounter++;
if (this._frameCounter > __BOX_CREATE_INTERVAL__) {
this._frameCounter = 0;
this.createBox();
this._currentBoxIndex++;
if (this._currentBoxIndex >= this._boxKeys.length)
this._currentBoxIndex = 0;
}
}
createBox() {
const box = new Box(this._boxKeys[this._currentBoxIndex]);
box.speed = this._boxSpeed;
box.addEventListener('onDisappear', this.onDisappear, this);
this._parent.addChild(box);
box.createBg();
this._boxs.push(box);
}
onDisappear(e: egret.Event) {
const currentBox = e.target as Box;
this.removeBoxFromList(currentBox);
}
removeBoxFromList(currentBox: Box) {
const index = this._boxs.indexOf(currentBox);
if (index != -1) this._boxs.splice(index, 1);
}
reset() {
clearInterval(this._timer);
this._timer = 0;
this._currentBoxIndex = 0;
}
createFirstBox() {
return new Promise(async (resolve) => {
const box = new Box(this._boxKeys[this._currentBoxIndex]);
box.speed = this._boxSpeed;
box.addEventListener('onDisappear', this.onDisappear, this);
this._boxs.push(box);
this._parent.addChild(box);
this._currentBoxIndex++;
await box.createFirstBg();
this.dispatchEvent(new egret.Event(egret.Event.COMPLETE));
resolve();
})
}
updateSpeed(val: number) {
this._boxSpeed = val;
this._boxs.forEach((box) => {
box.speed = this._boxSpeed;
});
}
get boxs() { return this._boxs }
}
\ No newline at end of file
export default class Guide extends egret.Sprite {
destroy(): any {
this.parent.removeChild(this);
}
constructor(parent: egret.Sprite) {
super();
this.touchEnabled=true;
this.graphics.beginFill(0, .7);
this.graphics.drawRect(0, 0, parent.stage.stageWidth, parent.stage.stageHeight);
this.graphics.endFill();
parent.addChild(this);
}
}
\ No newline at end of file
import StartScene from "./StartScene";
import Monkey from "./Monkey";
export default class GuideCtrl extends egret.EventDispatcher {
private _main: StartScene;
private _tag: boolean;
private _guideTop: egret.Sprite;
constructor(view: StartScene) {
super();
this._main = view;
this.init();
}
start() {
if (this._tag) {
this._main.guideView.destroy();
this._main.addTouchEvent();
this.doComplete();
}
else {
this.startGuide();
}
}
private startGuide() {
this._guideTop = new egret.Sprite();
this._main.topLay.addChild(this._guideTop);
this._main.monkey.once('onStartShaking', this.onMonkeyStartShaking, this);
this._main.boxListCtrl.boxs[0].once('onPassMiddle', this.onPassMiddle, this);
this._main.boxListCtrl.updateSpeed(__boxMoveSpeed__ * 10);
}
onPassMiddle() {
this._main.boxListCtrl.pause();
this.addGuide();
}
tips;
async addGuide() {
const hand = await RES.getResAsync('guide_hand_png');
const tips = await RES.getResAsync('guide_tips_png');
const guide_dialog = await RES.getResAsync('guide_dialog_png');
this.doComplete();
await this.showtipsAni(tips);
await this.showhandAni(hand);
await this.showguideAni(guide_dialog);
}
private doComplete() {
this.dispatchEvent(new egret.Event(egret.Event.COMPLETE));
}
enableInteract() {
if (!this._tag)
this._main.addEventListener(egret.TouchEvent.TOUCH_BEGIN, this.onTouch, this);
}
async showtipsAni(texture) {
const pic = new egret.Bitmap(texture);
pic.anchorOffsetX = pic.width >> 1;
pic.anchorOffsetY = pic.height >> 1;
this._guideTop.addChild(pic);
return new Promise((r) => {
egret.Tween.get(pic).set({ x: 0, y: 710 + 130 })
.to({ x: 750 / 2 }, 200, egret.Ease.getBackOut(3)).wait(200)
.call(() => r(pic));
});
}
async showhandAni(texture) {
const pic = new egret.Bitmap(texture);
pic.anchorOffsetX = pic.width >> 1;
pic.anchorOffsetY = pic.height >> 1;
this._guideTop.addChild(pic);
return new Promise((r) => {
egret.Tween.get(pic).set({ x: 750, y: 930 + 130 }).to({ x: 750 / 2 }, 200, egret.Ease.getBackOut(3))
.wait(200).call(() => r(pic));
});
}
async showguideAni(texture) {
const pic = new egret.Bitmap(texture);
pic.anchorOffsetX = pic.width >> 1;
pic.anchorOffsetY = pic.height >> 1;
this._guideTop.addChild(pic);
return new Promise((r) => {
egret.Tween.get(pic).set({ x: 750, y: 200 }).to({ x: 200 }, 200, egret.Ease.getBackOut(3))
.wait(200).call(() => r(pic));
});
}
onTouch() {
if (!this._main.checkCanDoAtion()) return;
this._main.removeEventListener(egret.TouchEvent.TOUCH_BEGIN, this.onTouch, this);
this._main.boxListCtrl.updateSpeed(__boxMoveSpeed__);
this.setTag();
this._main.guideView.destroy();
egret.Tween.get(this._guideTop).to({ alpha: 0 }, 200).call(() => {
this._main.topLay.removeChild(this._guideTop);
}, this);
this._main.doAction();
this._main.addTouchEvent();
}
onMonkeyStartShaking() {
this._main.monkey.stop(Monkey.RANGE / 3)
}
private init() {
this._tag = localStorage.getItem('guide') === '1';
}
setTag() {
localStorage.setItem('guide', '1');
}
}
\ No newline at end of file
export default class Monkey extends egret.Sprite {
private h = 525;
private w = 265;
private h0 = 8;
private w0 = 118;
private h1 = 23;
private w1 = 29;
private r1;
private len;
private targetY = 70;
private targetX = 369;
static RANGE = 60;
private _shakeSpeed = .5;
constructor() {
super();
this.anchorOffsetX = 113;
this.anchorOffsetY = 8;
const a = this.w0 - this.w1;
const b = this.h - this.h0 - this.h1;
this.r1 = Math.tan(a / b) / Math.PI * 180;
this.len = Math.sqrt(a * a + b * b);
this.start();
}
private async start() {
await this.createBg();
this.dispatchEvent(new egret.Event(egret.Event.COMPLETE));
egret.Tween.get(this)
.set({ scaleX: 0.1, scaleY: 0.1, alpha: .5, rotation: Monkey.RANGE / 3, x: this.targetX })
.to({ y: this.targetY, x: this.targetX, scaleX: 1, scaleY: 1, alpha: 1 }, 1000, egret.Ease.getBackOut(.9))
.wait(500)
.call(this.startShaking, this);
}
startShaking() {
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this.dispatchEvent(new egret.Event('onStartShaking'));
}
stopShaking() {
if (this.hasEventListener(egret.Event.ENTER_FRAME))
this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
}
stop(rotation = 0) {
this.stopShaking();
this._dir = 1;
this.rotation = rotation;
}
private _dir = 1;
onEnterFrame() {
this.rotation += this._shakeSpeed * this._dir;
if (this.rotation > Monkey.RANGE)
this._dir = -1;
if (this.rotation < -Monkey.RANGE)
this._dir = 1;
this.dispatchEvent(new egret.Event('pointUpdate', false, false, this.getPoint()))
}
getPoint() {
const r = (this.r1 + this.rotation) / 180 * Math.PI;
const a = Math.sin(r) * this.len;
const b = Math.cos(r) * this.len;
const y = b;
const x = -a;
return new egret.Point(x, y);
}
async createBg() {
return new Promise(async (resolve) => {
const picData: egret.SpriteSheet = await RES.getResAsync('monkey_json');
const pic = new egret.Bitmap(picData.getTexture('monkey'));
this.addChild(pic);
const eye_left = picData.getTexture('eyeleft');
const eye_right = picData.getTexture('eyeright');
this.addAnimation(eye_left, 63, 344);
this.addAnimation(eye_right, 127, 343);
resolve(pic)
});
}
addAnimation(texture: egret.Texture, x: number, y: number) {
const pic = new egret.Bitmap(texture);
this.addChild(pic);
pic.anchorOffsetX = texture.textureWidth >> 1;
pic.anchorOffsetY = texture.textureHeight >> 1;
pic.x = x;
pic.y = y;
egret.Tween.get(pic, { loop: true })
.to({ scaleY: 0 }, 200)
.to({ scaleY: 1 }, 200).wait(5000);
}
}
\ No newline at end of file
import SheetAnimation from "../components/SheetAnimation";
import { getResPath } from "../utils";
export default class Net extends egret.Sprite {
private _pic: SheetAnimation;
constructor() {
super();
this._pic = new SheetAnimation();
this.addChild(this._pic);
this.createBg();
this.y = 600+30;
}
doAction() {
if (!this._pic.sheet) return;
this._pic.play();
this._pic.addEventListener('frameUpdate', this.onEnterFrame, this);
}
onEnterFrame(e: egret.Event) {
if (e.data == this._pic.totalFrames) {
this._pic.removeEventListener('frameUpdate', this.onEnterFrame, this);
this._pic.stopAtFirstFrame();
}
}
createBg() {
let url = getResPath() + `resource/assets/startScene/net.json`;
RES.getResByUrl(url, (sheet: egret.SpriteSheet) => {
this._pic.sheet = sheet;
this._pic.fps = 20;
this.alpha = 0;
egret.Tween.get(this).to({ alpha: 1 }, 500);
// setInterval(() => {
// this.doAction()
// }, 5000);
this.dispatchEvent(new egret.Event(egret.Event.COMPLETE));
}, this, RES.ResourceItem.TYPE_SHEET);
}
}
\ No newline at end of file
import { GamePlayModel } from "../../libs/tw/model/game/GamePlayModel";
import Scene from "../views/Scene"; import Scene from "../views/Scene";
import Box from "./Box";
import BoxListCtrl from "./BoxListCtrl";
import LayerTypes from "./data/LayerTypes";
import debug from "./debug";
import Guide from "./Guide";
import GuideCtrl from "./GuideCtrl";
import Monkey from "./Monkey";
import Net from "./Net";
import BoxOpenState from "./view/BoxOpenState";
import { NetManager } from "../../libs/tw/manager/NetManager"; import { NetManager } from "../../libs/tw/manager/NetManager";
import { GamePlayModel ,TwFun} from "../../libs/tw/index";
import { GameStartModel } from "../../libs/tw/index";
import { DataManager } from "../../libs/tw/manager/DataManager"; import { DataManager } from "../../libs/tw/manager/DataManager";
import submitAfterDostart from "../../libs/new_tw/ctrls/submitAfterDostart"; import submitAfterDostart from "../../libs/new_tw/ctrls/submitAfterDostart";
import PanelCtrl from "../ctrls/panelCtrl"; import PanelCtrl from "../ctrls/panelCtrl";
import { ModuleTypes } from "../types/sceneTypes"; import { ModuleTypes } from "../types/sceneTypes";
import showAlertPanel from "../ctrls/showAlertPanel"; import showAlertPanel from "../ctrls/showAlertPanel";
import Panel from "../views/Panel"; import Panel from "../views/Panel";
import Tips from "./view/Tips"; import MovieClipManager from "../MovieClipManager"
import DeclareTextTips from "./view/DeclareText"; import { GDispatcher } from "../../libs/tc/index";
import Kids from "./view/Kids";
import River from "./view/River";
const { TouchEvent } = egret; const { TouchEvent } = egret;
export default class StartScene extends Scene { export default class StartScene extends Scene {
private _net: Net;
private _kids: Kids;
private _monkey: Monkey;
private _boxListCtrl: BoxListCtrl;
private _guideView: Guide;
private _guideCtrl: GuideCtrl;
static NET_RANGE = 200; static NET_RANGE = 200;
private _debug: debug;
private _keyResCounter = 0;
async start(data?) {
this.initUI();
const t1 = Date.now() - __t0__; console.log(`startScene添加到stage:${t1 / 1000}s`)
const picData: any = await this.getBg();
const pic = new egret.Bitmap(picData);
egret.Tween.get(pic).set({ alpha: 0 }).to({ alpha: 1 }, 200);
this.getLayer(LayerTypes.bg).addChild(pic);
const t2 = Date.now() - __t0__; console.log(`首屏(背景显示)时间:${t2 / 1000}s`);
this.getLayer(LayerTypes.ui).visible = true;
this._boxListCtrl = new BoxListCtrl(this.getLayer(LayerTypes.box));
await this._boxListCtrl.createFirstBox();
this._boxListCtrl.resume();
this.canInteract();
const monkey = new Monkey();
this.getLayer(LayerTypes.monkey).addChild(monkey);
monkey.addEventListener('pointUpdate', this.onPointUpdate, this)
this._monkey = monkey;
this._keyResCounter++;
monkey.addEventListener(egret.Event.COMPLETE, this.checkKeyResource, this);
this._guideView = new Guide(this.getLayer(LayerTypes.guide));
this._guideCtrl = new GuideCtrl(this);
this._keyResCounter++;
this._guideCtrl.addEventListener(egret.Event.COMPLETE, this.checkKeyResource, this);
this._guideCtrl.start();
if (__debug__) { public bg:eui.Image;
this._debug = new debug(this.getLayer(LayerTypes.top)); public image:eui.Image;
} public ruleBtn:eui.Button;
} public optionBtn:eui.Button;
public startBtn:eui.Button;
public rectTop:eui.Rect;
public progressCon:eui.ProgressBar;
public image0:eui.Image;
public playBtn:eui.Button;
public yuPosition:eui.Rect;
//动画
public logo: egret.tween.TweenGroup;
public countNumber: egret.tween.TweenGroup;
public holed: egret.tween.TweenGroup;
public startA: egret.tween.TweenGroup;
public shuipao: egret.tween.TweenGroup;
// public hb: egret.tween.TweenGroup;
canInteract() {
this.getLayer(LayerTypes.bg).touchEnabled = true;
const t = Date.now() - __t0__; console.log(`可交互时间:${t / 1000}s`);
}
checkKeyResource() { async start(data?) {
this._keyResCounter--; let res
if (this._keyResCounter != 0) return; this.loadResTimeClear["res"]=setInterval(()=>{
const t = Date.now() - __t0__; console.log(`关键元素完全时间:${t / 1000}s`); res = MovieClipManager.instance.getMovieClipByName("yu1_0");
if(!res){return}else{
this._guideCtrl.enableInteract(); clearInterval(this.loadResTimeClear["res"]);
this.loadResTimeClear["res"]=true;
this._kids = new Kids(); console.log(this.loadResTimeClear["res"])
this.getLayer(LayerTypes.kids).addChild(this._kids); }
this.getLayer(LayerTypes.river).addChild(new River()); this.initUI();
this.initModel2()
const net = new Net(); this.initModel()
this.getLayer(LayerTypes.net).addChild(net); },200)
this._net = net;
} }
addTouchEvent() { /**
this.getLayer(LayerTypes.bg).addEventListener(egret.TouchEvent.TOUCH_BEGIN, this.onTouch, this); * 数据
} */
protected model: GamePlayModel;
removeTouchEvent() { protected initModel(): void {
this.getLayer(LayerTypes.bg).removeEventListener(egret.TouchEvent.TOUCH_BEGIN, this.onTouch, this); this.model = new GamePlayModel();
this.model.update()
} }
private _catchedBox: Box; /**
private _cathchedBoxOpenState: BoxOpenState; * 数据
onTouch() { */
if (!this.checkCanDoAtion()) return; protected model2: GameStartModel;
this.doAction();
}
_isBoxFlying: boolean; protected initModel2(): void {
doAction() { this.model2= new GameStartModel();
this._net && this._net.doAction();
if (this._kids) this._kids.doAction();
const catchedBoxs = this._boxListCtrl.boxs.filter(
box => Math.abs(box.y - Box.MIDDLE_Y) < StartScene.NET_RANGE);
const catchedBox = catchedBoxs[0];
if (catchedBox) { //抓住了,box没有办法再过线消失
this._boxListCtrl.pause();
//先从boxlist中移除,使之不再受到boxlistCtrl的控制
this._boxListCtrl.removeBoxFromList(catchedBox);
this._catchedBox = catchedBox;
catchedBox.doThrow();
this._isBoxFlying = true;
this.addThrowTick();
} else {//没有抓住,不需要处理,如果过网了就会自动消失。如果没有过网,下次还能抓。
this.checkmode1();
}
} }
private _mode1DostartTag = true; private loadResTimeClear=[];
private checkmode1() { private TimeClear=[];
if (__mode__ == 1) { //发一个空的
this._mode1DostartTag = false; private yu1;
submitAfterDostart(() => { private yu2;
NetManager.ins.getInfo(() => { this._mode1DostartTag = true; console.log('小孩儿休息完毕.') }); private yu3;
}, __award_thanks_score__);
} private num1;
} private num2;
private initUI() {
setInterval(()=>{
this.logo.play(0);
},1300)
setInterval(()=>{
this.shuipao.play(0);
},2000)
this.playBtn.visible=false;
this.startBtn.visible=true;
this.num1 = MovieClipManager.instance.getMovieClipByName("number_1");
this.num2 = MovieClipManager.instance.getMovieClipByName("number_0");
this.yu1 = MovieClipManager.instance.getMovieClipByName("yu1_0");
this.yu1.gotoAndPlay(0,-1)
this.yuPosition.addChild(this.yu1)
this.yu2 = MovieClipManager.instance.getMovieClipByName("yu2_0");
this.yu2.play(0)
this.yu2.visible=false;
this.yuPosition.addChild(this.yu2)
this.yu3 = MovieClipManager.instance.getMovieClipByName("yu3_0");
this.yu3.play(0)
this.yu3.visible=false;
this.yuPosition.addChild(this.yu3)
this.num1.gotoAndStop(3);
this.rectTop.addChild(this.num1)
this.num1.x=-30;
this.num1.y=0;
this.num2.gotoAndStop(0);
this.rectTop.addChild(this.num2)
this.num2.x=30;
this.num2.y=0;
this.progressCon.value=0;
GDispatcher.addEvent("FirstTipsPanelClose",()=>{
this.TimeClear["An_1"]=setTimeout(()=>{
this.holed.play(0)
this.TimeClear["An_2"]=setTimeout(()=>{
this.progressCon["hb"].play()
this.progressCon["countText"].text="0"
},500)
},500)
},this)
NetManager.ins.getInfo(() => {
openBox() { });
submitAfterDostart(() => {
this._cathchedBoxOpenState.destroy();
this._cathchedBoxOpenState = null;
this._isBoxFlying = false;
let panel: Panel;
if (DataManager.ins.gameGetSubmitResultData.lottery) {
panel = PanelCtrl.instance.show(ModuleTypes.PRIZE_PANEL)
} else {
panel = showAlertPanel('手气不佳 \n 再试一次吧~');
}
panel.once('onDestroy', this.onPanelDestroy, this);
NetManager.ins.getInfo(() => { this._mode1DostartTag = true; console.log('小孩儿休息完毕.') }); PanelCtrl.instance.show(ModuleTypes.FIRSTTIPS_PANEL);
}, this._cathchedBoxOpenState.boxData.award);
} }
onPanelDestroy() {
this.boxListCtrl.resume();
this._monkey.startShaking();
}
checkCanDoAtion() { protected initEvents(){
if (!DataManager.ins.getInfoData) { super.initEvents()
console.log('getinfo接口没有返回'); this.ruleBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_ruleBtn, this);
return false; this.optionBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onClick_recordBtn, this);
} this.startBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_startBtn, this);
if (this._isBoxFlying) { this.playBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_playBtn, this);
console.log('box还在飞呢');
return false;
}
if (!this._mode1DostartTag && __mode__ == 1) {
console.log('mode1,submitAfterDostart没有执行完成');
return false;
}
if (DataManager.ins.getInfoData.status.code == 2) {//积分不足
showAlertPanel('积分不足 \n 多赚点积分再来吧');
return false;
}
if (DataManager.ins.getInfoData.status.code == 3) {//参与次数用完
showAlertPanel('参与次数用完 \n 请明天再来吧');
return false;
}
return true;
} }
addThrowTick() { private gameTime=20;
this.addEventListener(egret.Event.ENTER_FRAME, this.onThrowTick, this);
private startAnimte(){
clearTimeout(this.TimeClear["An_1"])
clearTimeout(this.TimeClear["An_2"])
this.holed.stop()
this.playBtn.visible=true;
this.startBtn.visible=false;
this.startA.play()
this.countNumber.play(0)
this.TimeClear["gameTime"]=setInterval(()=>{
this.gameTime--;
var _t=this.gameTime.toString()
if(_t.length==2){
this.num1.gotoAndStop(parseInt(_t[0])+1)
this.num2.gotoAndStop(parseInt(_t[1])+1)
}else if(_t.length==1){
this.num1.gotoAndStop(0)
this.num2.gotoAndStop(parseInt(_t[0])+1)
}
if(this.gameTime<=0){
clearInterval(this.TimeClear["gameTime"]);
this.gameOver()
}
},1000)
} }
removeThrowTick() { private onTap_ruleBtn(e: egret.Event) {
this.removeEventListener(egret.Event.ENTER_FRAME, this.onThrowTick, this); PanelCtrl.instance.show(ModuleTypes.RULE_PANEL);
} }
onThrowTick() { private onTap_optionBtn(e: egret.Event) {
this._catchedBox.onThrowTick(); PanelCtrl.instance.show(ModuleTypes.OPTIONS_PANEL);
const disX = Math.abs(this._catchedBox.x - this._handX);
const disY = Math.abs(this._catchedBox.y - this._handY);
const dis = 100 + __monkeyHandSize__;
if (disX < dis && disY < dis) {
this.onCatchedByMonkey();
} else if (this._catchedBox.vy > 0) {
this.onNotCatchedByMonkey();
}
} }
private _catchedBoxByMoneky: Box; protected onClick_recordBtn(e: egret.Event): void {
onCatchedByMonkey() { // this.delayEnable(this.view.recordBtn, 5000);
this.removeThrowTick(); window.location.href = TwFun.getRecordUrl('00');
this._catchedBoxByMoneky = this._catchedBox;
this._catchedBox = null;
this.checkmode1();
this._isBoxFlying = false;
egret.Tween.get(this._catchedBoxByMoneky)
.to({ scaleX: 1, scaleY: 1 }, 500)
.wait(500)
.to({ alpha: 0 }, 500).call(() => {
this._catchedBoxByMoneky.destroy();
this._catchedBoxByMoneky = null;
this.boxListCtrl.resume();
}, this);
} }
onNotCatchedByMonkey() { private onTap_startBtn(e: egret.Event) {
this.removeThrowTick(); // PanelCtrl.instance.show(ModuleTypes.OPTIONS_PANEL);
this._cathchedBoxOpenState = new BoxOpenState(this._catchedBox.type); this.model.doStart(this.doStart_result.bind(this), false);
this._cathchedBoxOpenState.x = this._catchedBox.x;
this._cathchedBoxOpenState.y = this._catchedBox.y;
this.topLay.addChild(this._cathchedBoxOpenState);
egret.Tween.get(this._catchedBox).to({ alpha: 0 }, 500);
this._catchedBox = null;
this._cathchedBoxOpenState.start();
this.openBox();
} }
private onTap_playBtn(e: egret.Event) {
private _handX: number; // PanelCtrl.instance.show(ModuleTypes.OPTIONS_PANEL);
private _handY: number; this.yu1.visible=false;
onPointUpdate(e: egret.Event) { this.yu2.visible=true;
const p = e.data as egret.Point; this.yu3.visible=false;
this._handX = p.x + this._monkey.x; this.yu2.gotoAndPlay(0)
this._handY = p.y + this._monkey.y; this.yu2.addEventListener(egret.Event.COMPLETE,()=>{
if (this._catchedBoxByMoneky) { this.yu3.visible=true;
this._catchedBoxByMoneky.x = this._handX; this.yu2.visible=false;
this._catchedBoxByMoneky.y = this._handY; this.yu3.gotoAndPlay(0)
})
/* setTimeout(()=>{
this.yu3.visible=true;
this.yu2.visible=false;
this.yu3.gotoAndPlay(0)
},1000) */
/* setTimeout(()=>{
this.yu1.visible=true;
this.yu2.visible=false;
this.yu3.visible=false;
this.yu1.gotoAndPlay(0,-1)
},2000) */
this.yu3.addEventListener(egret.Event.COMPLETE,()=>{
this.yu1.visible=true;
this.yu2.visible=false;
this.yu3.visible=false;
this.yu1.gotoAndPlay(0,-1)
})
console.log("this.yu2")
console.log(this.yu2)
// this.gameOver()
}
protected doStart_result(success: boolean): void {
// this.enableMouseEvt(true);
if(!success) {
return;
} }
if (this._debug) {
this._debug.shape.x = this._handX;
this._debug.shape.y = this._handY;
}
}
async getBg() {
let url = __bgUrl__
return new Promise((resolve) => {
RES.getResByUrl(url, (picData) => {
resolve(picData)
}, this, RES.ResourceItem.TYPE_IMAGE);
});
}
initUI() { this.startAnimte()
const uiLayer = this.getLayer(LayerTypes.ui);
uiLayer.addChild(this['ruleBtn']);
uiLayer.addChild(this['optionBtn']);
this['ruleBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_ruleBtn, this);
this['optionBtn'].addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_optionBtn, this);
uiLayer.addChild(new Tips());
uiLayer.addChild(new DeclareTextTips());
uiLayer.visible = false;
}
onTap_ruleBtn(e: egret.Event) {
PanelCtrl.instance.show(ModuleTypes.RULE_PANEL);
} }
onTap_optionBtn(e: egret.Event) { protected gameOver(): void {
PanelCtrl.instance.show(ModuleTypes.OPTIONS_PANEL); // this.enableMouseEvt(true);
// this.removeEvent();
// this.model.cacheMaxScore(this.score);
this.model.submit(this.submit_result.bind(this), 10);
} }
protected get layerKeys() { protected submit_result(success: boolean): void {
return [ // this.enableMouseEvt(true);
LayerTypes.bg, if(!success) {
LayerTypes.river, return;
LayerTypes.guide, }
LayerTypes.kids, let moduleName;
LayerTypes.net, if (this.model.gameIsWinning) {
LayerTypes.ui, moduleName = ModuleTypes.PRIZE_PANEL;
LayerTypes.box, } else {
LayerTypes.monkey, moduleName = ModuleTypes.LOSE_PANEL;
LayerTypes.top, }
] // ModuleManager.ins.openModule(moduleName);
PanelCtrl.instance.show(moduleName);
} }
ruleBtn: eui.Button;
optionBtn: eui.Button;
protected get skinKey() { return 'Start' } protected get skinKey() { return 'Start' }
get guideView() { return this._guideView }
get monkey() { return this._monkey }
get boxListCtrl() { return this._boxListCtrl }
get net() { return this._net }
get topLay() { return this.getLayer(LayerTypes.top) }
} }
\ No newline at end of file
enum LayerTypes {
bg, kids, box, net, monkey, guide, top,ui,river
}
export default LayerTypes
\ No newline at end of file
export const getBoxKeyList = () => {
const list = [];
for (const key in __boxmap__) {
if (__boxmap__.hasOwnProperty(key)) {
list.push(key);
}
}
const str = 'goldenbox';
const index = list.indexOf(str);
if(index !=-1)
list.splice(index,1);
list.unshift(str);
return list;
}
\ No newline at end of file
import Box from "./Box";
import StartScene from "./StartScene";
export default class debug {
parent;
shape: egret.Shape;
constructor(parent: egret.Sprite) {
this.parent = parent;
const top = this.parent;
this.shape = new egret.Shape();
top.addChild(this.shape);
this.shape.graphics.beginFill(0xff0000);
// const size = __monkeyHandSize__;
// this.shape.graphics.drawRect(0, 0, 2, 2);
this.shape.graphics.drawCircle(0,0,4);
this.shape.graphics.endFill();
const shape1 = new egret.Shape();
shape1.graphics.beginFill(0xff0000);
shape1.graphics.drawRect(0, 0, 999, 1);
shape1.graphics.endFill();
shape1.y = Box.MIDDLE_Y;
top.addChild(shape1);
const shape2 = new egret.Shape();
shape2.graphics.beginFill(0xff0000);
shape2.graphics.drawRect(0, 0, 999, 1);
shape2.graphics.endFill();
shape2.y = Box.MIDDLE_Y - StartScene.NET_RANGE;
top.addChild(shape2);
const shape3 = new egret.Shape();
shape3.graphics.beginFill(0xff0000);
shape3.graphics.drawRect(0, 0, 999, 1);
shape3.graphics.endFill();
shape3.y = Box.MIDDLE_Y + StartScene.NET_RANGE;
top.addChild(shape3);
}
}
\ No newline at end of file
export default class BoxOpenState extends egret.Bitmap {
_type: string;
onReady: () => void;
constructor(type) {
super();
this._type = type;
}
start(): any {
RES.getResByUrl(__boxOpenState__, (sheet: egret.SpriteSheet) => {
const texture = sheet.getTexture(`${this._type}OpenState`);
this.$setBitmapData(texture);
this.anchorOffsetX = texture.textureWidth >> 1;
this.anchorOffsetY = texture.textureHeight >> 1;
this.scaleX = this.scaleY = 1.5;
egret.Tween.get(this)
.set({ alpha: 0 })
.to({ alpha: 1 }, 200)
.call(() => {
// this.onReady();
this.shake();
})
}, this, RES.ResourceItem.TYPE_SHEET);
}
get boxData() { return __boxmap__[this._type] }
destroy() {
egret.Tween.removeTweens(this);
egret.Tween.get(this).to({alpha:0},500).call(()=>{
this.parent.removeChild(this);
});
}
shake(): any {
const x0 = this.x;
const y0 = this.y;
const offset = 10;
egret.Tween.get(this, { loop: true })
.set({ y: y0 - offset, x: x0 }).wait(30)
.set({ y: y0, x: x0 + offset }).wait(30)
.set({ y: y0 + offset, x: x0 }).wait(30)
.set({ y: y0, x: x0 - offset }).wait(30)
.set({ y: y0 - offset, x: x0 }).wait(30)
.set({ y: y0, x: x0 + offset }).wait(30)
.set({ y: y0 + offset, x: x0 }).wait(30)
.set({ y: y0, x: x0 - offset }).wait(30)
.wait(500);
}
}
\ No newline at end of file
import isIPhoneX from "../../../libs/tc/utils/isIPhoneX";
export default class DeclareTextTips extends eui.Label {
constructor() {
super();
this.width = 750;
this.textAlign = "center";
this.size = 20;
this.textColor = 0x333333;
this.text = '*兑换项与活动均与设备制造商Apple Inc.公司无关';
this.once(egret.Event.ADDED_TO_STAGE, this.onAddToStage, this);
}
onAddToStage() {
this.y = this.stage.stageHeight - this.textHeight - 10;
if (isIPhoneX())
this.y -= 20;
}
}
\ No newline at end of file
export default class Kids extends egret.Sprite {
constructor() {
super();
this.y = 710;
this.createBg();
}
private boyhand: egret.Bitmap;
private girlhand: egret.Bitmap;
async createBg() {
const picData: egret.SpriteSheet = await RES.getResAsync('kids_json');
this.addPic(picData, 'kidschair', 0, 160);
this.boyhand = this.addPic(picData, 'boyhand', 90, 137);
this.girlhand = this.addPic(picData, 'girlhand', 658, 138, 79, 0);
this.addPic(picData, 'kids');
this.addAnimation(picData.getTexture('boy_eye'), 122, 109);
this.addAnimation(picData.getTexture('girl_eye'), 622, 111);
egret.Tween.get(this).set({ alpha: 0 }).to({ alpha: 1 }, 200);
}
doAction() {
const speed = 200;
if (this.boyhand) {
egret.Tween.get(this.boyhand).to({ rotation: -50 }, speed).to({ rotation: 0 }, speed);
}
if (this.girlhand) {
egret.Tween.get(this.girlhand).to({ rotation: 50 }, speed).to({ rotation: 0 }, speed);
}
}
addPic(picData: egret.SpriteSheet, key: string, x = 0, y = 0, anchorOffsetX = 0, anchorOffsetY = 0) {
const pic = new egret.Bitmap(picData.getTexture(key));
pic.anchorOffsetX = anchorOffsetX;
pic.anchorOffsetY = anchorOffsetY;
pic.x = x;
pic.y = y;
this.addChild(pic);
return pic;
}
addAnimation(texture: egret.Texture, x: number, y: number) {
const pic = new egret.Bitmap(texture);
this.addChild(pic);
pic.anchorOffsetX = texture.textureWidth >> 1;
pic.anchorOffsetY = texture.textureHeight >> 1;
pic.x = x;
pic.y = y;
egret.Tween.get(pic, { loop: true })
.to({ scaleY: 0 }, 200)
.to({ scaleY: 1 }, 200).wait(3000);
}
}
\ No newline at end of file
export default class River extends egret.Sprite {
constructor() {
super();
this.start();
}
async start() {
const t1 = await RES.getResAsync('river1_png');
const pic1 = this.addpic(t1, 434, 493);
egret.Tween.get(pic1, { loop: true }).to({ alpha: 1 }, 1000).to({ alpha: 0 }, 1000).wait(100);
const t2 = await RES.getResAsync('river2_png');
const pic2 = this.addpic(t2, 475, 450);
egret.Tween.get(pic2, { loop: true }).to({ alpha: 1 }, 200)
.to({ y: 450 + 200 }, 1500).to({ alpha: 0 }, 200).wait(100);
const t3 = await RES.getResAsync('river3_png');
const pic3 = this.addpic(t3, 353, 410);
egret.Tween.get(pic3, { loop: true }).to({ alpha: 1 }, 200)
.to({ y: 410 + 100, x: 353 - 20 }, 1500).to({ alpha: 0 }, 200).wait(100);
const t4 = await RES.getResAsync('river4_png');
const pic4 = this.addpic(t4, 496, 625);
egret.Tween.get(pic4, { loop: true }).to({ alpha: 1 }, 200)
.to({ y: 625 + 400 }, 2000).to({ alpha: 0 }, 400);
const t5 = await RES.getResAsync('river5_png');
const pic5 = this.addpic(t5, 260, 564);
egret.Tween.get(pic5, { loop: true }).to({ alpha: 1 }, 100)
.to({ y: 564 + 200, x: 260 - 40 }, 700).to({ alpha: 0 }, 100).wait(100);
const t6 = await RES.getResAsync('river6_png');
const pic6 = this.addpic(t6, 235, 845);
egret.Tween.get(pic6, { loop: true }).to({ alpha: 1 }, 1000).to({ alpha: 0 }, 1000);
const t7 = await RES.getResAsync('river7_png');
const pic7 = this.addpic(t7, 419, 845);
setTimeout(() => {
egret.Tween.get(pic7, { loop: true }).to({ alpha: 1 }, 1000).to({ alpha: 0 }, 1000);
}, 1000);
}
private addpic(texture: egret.Texture, x = 0, y = 0) {
const pic = new egret.Bitmap(texture)
this.addChild(pic);
pic.x = x;
pic.y = y;
pic.alpha = 0;
return pic;
}
}
\ No newline at end of file
import { DataManager } from "../../../libs/tw/manager/DataManager";
export default class Tips extends eui.Label {
constructor() {
super();
this.horizontalCenter = "0";
this.width = 750;
this.textAlign = "center";
this.size = 22;
this.updateText();
DataManager.ins.addEventListener('dataUpdate', this.updateText, this);
this.once(egret.Event.ADDED_TO_STAGE, this.onAddToStage, this);
}
onAddToStage() {
this.y = 1142;
// if (this.stage.stageHeight > 1300)
// this.y = 1206;
// if (this.stage.stageHeight < 1206)
// this.y = this.stage.stageHeight - this.textHeight - 40;
}
updateText() {
if (!DataManager.ins.getInfoData) return;
this.text = DataManager.ins.getInfoData.status.text;
}
}
\ No newline at end of file
...@@ -4,6 +4,8 @@ export enum ModuleTypes { ...@@ -4,6 +4,8 @@ export enum ModuleTypes {
ALERT_PANEL, ALERT_PANEL,
RULE_PANEL, RULE_PANEL,
LOSE_PANEL,
OPTIONS_PANEL, OPTIONS_PANEL,
FIRSTTIPS_PANEL,
PRIZE_PANEL PRIZE_PANEL
} }
\ No newline at end of file
...@@ -22,7 +22,7 @@ const config = { ...@@ -22,7 +22,7 @@ const config = {
data: './json/gameSubmit.json' data: './json/gameSubmit.json'
}, },
'/ngame/new/getSubmitResult': { '/ngame/new/getSubmitResult': {
data: './json/getGameSubmitResult.json' data: './json/getGameSubmitResult2.json'
}, },
'/ngapi/winranks': { '/ngapi/winranks': {
data: './json/winranks.json' data: './json/winranks.json'
......
{
"success": true,
"code": null,
"desc": null,
"data": {
"success": true,
"message": "请求成功",
"tip": "2元宝/次",
"option": null,
"useDpm": "{\"dpm\":\"1.19.1.0\",\"consumerId\":1,\"domain\":\"//embedlog.duiba.com.cn\",\"appId\":1,\"dcm\":\"\"}",
"againDpm": "{\"dpm\":\"1.19.3.0\",\"consumerId\":1,\"domain\":\"//embedlog.duiba.com.cn\",\"appId\":1}",
"flag": false
}
}
\ No newline at end of file
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
"description": "我是一个话费", "description": "我是一个话费",
"logo": "//yun.duiba.com.cn/developer/img/activityTool/shake/phone.png", "logo": "//yun.duiba.com.cn/developer/img/activityTool/shake/phone.png",
"name": "话费", "name": "话费",
"scope": "2-4" "scope": "2-400"
}, },
{ {
"autoOpen": true, "autoOpen": true,
......
"1<br><br>2" "1大三大四的啊实打实的asides阿斯顿salads啊水电费水电费时代发生的<br><br>水电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费电费水电费水电费水电费水电费水电费似懂非懂是非得失时代发生的发生水电费水电费是多福多寿2"
\ No newline at end of file \ 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