Commit 9ba48513 authored by wildfirecode's avatar wildfirecode

1

parent 59bc156e
......@@ -24,3 +24,4 @@
node_modules
bin-release
.DS_Store
egret/.DS_Store
No preview for this file type
......@@ -42,18 +42,18 @@
<!-- <script src="default.thm.js"></script> -->
<script src="output.js"></script>
<script>
var debug = 1;
var moneyHandSize = 50;
var boxmap = {
coin: { award: 0, skin: 'http://localhost:8080/egret/resource/assets/startScene/coin.png' },
gift: { award: 0, skin: 'http://localhost:8080/egret/resource/assets/startScene/gift.png' },
gift2: { award: 0, skin: 'http://localhost:8080/egret/resource/assets/startScene/gift2.png' },
woodbox: { award: 1, skin: 'http://localhost:8080/egret/resource/assets/startScene/woodbox.json', offset: [128, 79] }, //木宝箱
silverbox: { award: 3, skin: 'http://localhost:8080/egret/resource/assets/startScene/silverbox.png' },//银宝箱
goldenbox: { award: 5, skin: 'http://localhost:8080/egret/resource/assets/startScene/goldenbox.png' },//金宝箱
var __debug__ = 0;
var __monkeyHandSize__ = 50;
var __boxMoveSpeed__ = 1.5;
var __boxmap__ = {
coin: { award: 0, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/coin.png' },
gift: { award: 0, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/gift.png' },
gift2: { award: 0, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/gift2.png' },
woodbox: { award: 1, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/woodbox.json', offset: [128, 79] }, //木宝箱
silverbox: { award: 3, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/silverbox.png' },//银宝箱
goldenbox: { award: 5, skin: 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/goldenbox.png' },//金宝箱
};
var __bgUrl__ = 'http://localhost:8080/egret/resource/assets/startScene/bg.jpg';
var __bgUrl__ = 'https://yun.duiba.com.cn/db_games/activity/fishing/1539244791/resource/assets/startScene/bg.jpg';
var gameId = 1;
var CFG = {
......@@ -80,6 +80,7 @@
}
}
var recordUrl = 'record/';
var resPath = '';
function resolve(a) {
var b = eval(a);
return b;
......
declare var resPath:string;
declare var requirelogin:Function;
declare var CFG;
declare var __debug__:string;
declare interface IBoxItem {
award: number;
skin: string;
offset: number[];
}
declare var __boxmap__: { [key: string]: IBoxItem };
declare var __bgUrl__:string;
declare var __monkeyHandSize__:number;
declare var __boxMoveSpeed__:number;
\ No newline at end of file
declare class StartSkin extends eui.Skin{
}
{
"initial": [
"libs/modules/egret/egret.js",
"libs/modules/egret/egret.web.js",
"libs/modules/eui/eui.js",
"libs/modules/assetsmanager/assetsmanager.js",
"libs/modules/tween/tween.js",
"libs/modules/game/game.js",
"libs/modules/promise/promise.js"
],
"game": [
"bin-debug/libs/tw/data/pet/IToyItemData.js",
"bin-debug/libs/tc/index.js",
"bin-debug/libs/tc/enum/ModuleType.js",
"bin-debug/libs/tc/interface/IModuleData.js",
"bin-debug/libs/tc/interface/IDestroy.js",
"bin-debug/libs/tc/component/ABModule.js",
"bin-debug/libs/tc/enum/LayoutType.js",
"bin-debug/libs/tc/enum/TimeFormat.js",
"bin-debug/libs/tc/interface/IData.js",
"bin-debug/libs/tc/interface/INetData.js",
"bin-debug/libs/tc/manager/ABAnimationManager.js",
"bin-debug/libs/tc/manager/ABAudioManager.js",
"bin-debug/libs/tc/manager/ABDataManager.js",
"bin-debug/libs/tc/manager/ABModuleManager.js",
"bin-debug/libs/tc/util/GTime.js",
"bin-debug/libs/tc/util/GConsole.js",
"bin-debug/libs/tc/manager/ABNetManager.js",
"bin-debug/libs/tc/manager/ABPanelManager.js",
"bin-debug/libs/tc/manager/ABResManager.js",
"bin-debug/libs/tc/manager/ABSceneManager.js",
"bin-debug/libs/tc/manager/ABStageManager.js",
"bin-debug/libs/tc/manager/ABVideoManager.js",
"bin-debug/libs/tc/util/GMath.js",
"bin-debug/libs/tc/util/GFun.js",
"bin-debug/libs/tc/util/GCache.js",
"bin-debug/libs/tc/util/GDispatcher.js",
"bin-debug/libs/tc/util/GLang.js",
"bin-debug/libs/tc/util/GPool.js",
"bin-debug/types/sceneTypes.js",
"bin-debug/utils.js",
"bin-debug/components/ComponentBase.js",
"bin-debug/views/Panel.js",
"bin-debug/ctrls/panelCtrl.js",
"bin-debug/views/Scene.js",
"bin-debug/ctrls/sceneCtrl.js",
"bin-debug/loading/Loading.js",
"bin-debug/views/layers.js",
"bin-debug/libs/tw/data/pets/IPetMsgData.js",
"bin-debug/libs/tw/data/Data.js",
"bin-debug/libs/tw/data/pets/GetVisitInfoData.js",
"bin-debug/libs/tw/data/game/getInfo/IStatusData.js",
"bin-debug/libs/tw/data/game/getInfo/GetSummerInfoData.js",
"bin-debug/libs/tw/data/game/doRevive/GetReviveCardNumData.js",
"bin-debug/libs/tw/data/game/doRevive/DoReviveData.js",
"bin-debug/libs/tw/data/plug/doJoinPlugDraw/DoJoinPlugDrawData.js",
"bin-debug/libs/tw/enum/NetName.js",
"bin-debug/libs/tw/data/custom/questionSbumit/QuestionSubmitData.js",
"bin-debug/libs/tw/data/common/getCollectRule/ICollectGoodData.js",
"bin-debug/libs/tw/data/common/getCollectRule/ICollectRuleData.js",
"bin-debug/libs/tw/data/common/getCollectRule/GetCollectRuleData.js",
"bin-debug/libs/tw/data/game/datapash/DatapashData.js",
"bin-debug/libs/tw/data/common/openCollectGoodsPrize/openCollectGoodsPrizeData.js",
"bin-debug/libs/tw/util/TwLang.js",
"bin-debug/libs/tw/data/game/doStart/ExtraData.js",
"bin-debug/libs/tw/data/game/doStart/DoStartData.js",
"bin-debug/libs/tw/data/game/doStart/GetStartStatusData.js",
"bin-debug/libs/tw/data/game/getInfo/GetInfoData.js",
"bin-debug/libs/tw/data/game/getOptions/IGameOptionData.js",
"bin-debug/libs/tw/data/game/getOptions/GetOptionsData.js",
"bin-debug/libs/tw/data/game/getRule/GetRuleData.js",
"bin-debug/libs/tw/data/game/getUserTotalScore/GetUserTotalScoreData.js",
"bin-debug/libs/tw/data/game/guessPoker/GuessPokerData.js",
"bin-debug/libs/tw/data/game/submit/GameSubmitData.js",
"bin-debug/libs/tw/data/game/common/IUserData.js",
"bin-debug/libs/tw/data/game/realtimerank/RealTimeRankData.js",
"bin-debug/libs/tw/data/game/winranks/IConsumerData.js",
"bin-debug/libs/tw/data/game/winranks/IRankData.js",
"bin-debug/libs/tw/data/game/winranks/WinRanksData.js",
"bin-debug/libs/tw/data/custom/ajaxElement/ICustomOptionData.js",
"bin-debug/libs/tw/data/custom/ajaxElement/IElementData.js",
"bin-debug/libs/tw/data/custom/ajaxElement/AjaxElementData.js",
"bin-debug/libs/tw/data/custom/doJoin/DoJoinData.js",
"bin-debug/libs/tw/data/custom/ajaxThroughInfo/IThroughInfoData.js",
"bin-debug/libs/tw/data/custom/ajaxThroughInfo/AjaxThroughInfoData.js",
"bin-debug/libs/tw/data/custom/getOrderInfo/GetOrderInfoData.js",
"bin-debug/libs/tw/enum/LotteryType.js",
"bin-debug/libs/tw/data/common/IExposureData.js",
"bin-debug/libs/tw/data/common/lottery/LotteryData.js",
"bin-debug/libs/tw/data/custom/doJoin/GetCustomOrderStatusData.js",
"bin-debug/libs/tw/data/common/getRole/GetRoleData.js",
"bin-debug/libs/tw/data/common/getCredits/GetCreditsData.js",
"bin-debug/libs/tw/data/common/addTimesForActivity/AddTimesForActivityData.js",
"bin-debug/libs/tw/data/common/setRole/SetRoleData.js",
"bin-debug/libs/tw/data/game/submit/GameGetSubmitResultData.js",
"bin-debug/libs/tw/data/custom/throughSubmit/ThroughSubmitData.js",
"bin-debug/libs/tw/data/custom/beforSubmit/BeforSubmitData.js",
"bin-debug/libs/tw/data/pet/PetAdopteData.js",
"bin-debug/libs/tw/data/pet/PetFeedData.js",
"bin-debug/libs/tw/data/pet/PetStatusData.js",
"bin-debug/libs/tw/data/pet/SignInfoVo.js",
"bin-debug/libs/tw/data/pet/SignInfoData.js",
"bin-debug/libs/tw/data/pet/IPetToyData.js",
"bin-debug/libs/tw/data/pet/PetHomeInfoData.js",
"bin-debug/libs/tc/enum/ResPriority.js",
"bin-debug/libs/tw/data/pet/GetToysData.js",
"bin-debug/libs/tw/data/pet/ToyExchangeData.js",
"bin-debug/libs/tw/data/pet/ToyUseData.js",
"bin-debug/libs/tw/data/pet/CollectData.js",
"bin-debug/libs/tw/data/plug/doJoinPlugDraw/GetPlugOrderStatusData.js",
"bin-debug/libs/tw/data/plug/optionInfo/IPlugOptionData.js",
"bin-debug/libs/tw/data/plug/optionInfo/IPlugData.js",
"bin-debug/libs/tw/data/plug/optionInfo/OptionInfoData.js",
"bin-debug/libs/tw/data/plug/unblocking/UnblockingData.js",
"bin-debug/libs/tw/data/plug/getPrizeInfo/IPrizeData.js",
"bin-debug/libs/tw/data/plug/getPrizeInfo/GetPrizeInfoData.js",
"bin-debug/libs/tw/data/pet/PetIndexData.js",
"bin-debug/libs/tw/data/game/cfg/IAppData.js",
"bin-debug/libs/tw/data/game/cfg/IDefenseStrategyData.js",
"bin-debug/libs/tw/data/game/cfg/IExtraCfgData.js",
"bin-debug/libs/tw/data/game/cfg/IRecommendData.js",
"bin-debug/libs/tw/data/game/cfg/IGameData.js",
"bin-debug/libs/tw/data/game/cfg/IGameCfgData.js",
"bin-debug/libs/tw/data/pet/GetRankItemData.js",
"bin-debug/libs/tw/data/pet/GetRankListData.js",
"bin-debug/libs/tw/data/pet/GetFoodPilesData.js",
"bin-debug/libs/tw/data/common/record/RecordData.js",
"bin-debug/libs/tw/data/common/GetRecordData.js",
"bin-debug/libs/tw/data/pets/UseToyData.js",
"bin-debug/libs/tw/data/pets/GetActToysItemData.js",
"bin-debug/libs/tw/data/pets/GetActToysListData.js",
"bin-debug/libs/tw/data/pets/ToyExchangesData.js",
"bin-debug/libs/tw/data/pets/GetUserToysItemData.js",
"bin-debug/libs/tw/data/pets/GetUserToysListData.js",
"bin-debug/libs/tw/data/pets/IUsingPetToysData.js",
"bin-debug/libs/tw/data/pets/IWanderPetData.js",
"bin-debug/libs/tw/data/pets/GetHomeInfoData.js",
"bin-debug/libs/tw/data/pets/PetsIndexData.js",
"bin-debug/libs/tw/data/pets/IVisitPetData.js",
"bin-debug/libs/tw/data/pets/VisitStatisticsData.js",
"bin-debug/libs/tw/data/pets/IPlayToyDetailData.js",
"bin-debug/libs/tw/data/pets/VisitDetailData.js",
"bin-debug/libs/tw/data/custom/cfg/ICustomCfgData.js",
"bin-debug/libs/tw/manager/DataManager.js",
"bin-debug/libs/tw/manager/NetManager.js",
"bin-debug/libs/tl/adapter/AssetAdapter.js",
"bin-debug/libs/tl/adapter/ThemeAdapter.js",
"bin-debug/libs/tl/MainBase.js",
"bin-debug/libs/tw/data/common/IShareData.js",
"bin-debug/libs/tw/data/common/winners/IWinnerData.js",
"bin-debug/libs/tw/data/common/winners/WinnersData.js",
"bin-debug/libs/tw/data/game/datapash/IDynamicData.js",
"bin-debug/libs/tw/model/Model.js",
"bin-debug/libs/tw/model/common/ActivityModel.js",
"bin-debug/libs/tw/model/common/CustomModel.js",
"bin-debug/libs/tw/model/common/GameModel.js",
"bin-debug/libs/tw/model/common/RuleModel.js",
"bin-debug/libs/tw/model/common/SignModel.js",
"bin-debug/libs/tw/model/custom/CustomOptionInfoModel.js",
"bin-debug/libs/tw/model/custom/CustomPlayModel.js",
"bin-debug/libs/tw/model/custom/CustomPlayBeforModel.js",
"bin-debug/libs/tw/model/custom/CustomPlayThroughModel.js",
"bin-debug/libs/tw/model/custom/CustomWinModel.js",
"bin-debug/libs/tw/model/game/GameEndModel.js",
"bin-debug/libs/tw/model/game/GameEndRankModel.js",
"bin-debug/libs/tw/model/game/GameLoseModel.js",
"bin-debug/libs/tw/model/game/GameOptionModel.js",
"bin-debug/libs/tw/model/game/GamePlayModel.js",
"bin-debug/libs/tw/model/game/GameRealTimeRankModel.js",
"bin-debug/libs/tw/model/game/GameStartModel.js",
"bin-debug/libs/tw/model/game/GameWinModel.js",
"bin-debug/libs/tw/model/game/GameWinnerModel.js",
"bin-debug/libs/tw/model/plug/PlugWinModel.js",
"bin-debug/libs/tw/model/sign/SignAdopteModel.js",
"bin-debug/libs/tw/model/sign/SignPlayModel.js",
"bin-debug/libs/tw/util/Buried.js",
"bin-debug/libs/tw/util/Share.js",
"bin-debug/libs/tw/util/TwFun.js",
"bin-debug/scripts/ExmlPlugin2.js",
"bin-debug/scripts/MyExmlPlugin.js",
"bin-debug/scripts/PublishExmlOnly.js",
"bin-debug/scripts/config.js",
"bin-debug/alert/Msg.js",
"bin-debug/rulePanel/RulePanel.js",
"bin-debug/components/SheetAnimation.js",
"bin-debug/startScene/Box.js",
"bin-debug/startScene/BoxListCtrl.js",
"bin-debug/startScene/Monkey.js",
"bin-debug/startScene/Net.js",
"bin-debug/startScene/StartScene.js",
"bin-debug/Main.js",
"bin-debug/alert/Alert.js",
"bin-debug/ctrls/showAlertPanel.js",
"bin-debug/ctrls/net/doStart.js",
"bin-debug/ctrls/net/getRule.js",
"bin-debug/ctrls/net/realtimerank.js",
"bin-debug/startScene/data/getBoxList.js"
]
}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"alert_2","version":5,"files":["../assets/alert/Bitmap-4.png","../assets/alert/Bitmap-2.png","../assets/alert/Bitmap-1.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"loading_1","version":5,"files":["../assets/loading/bg.png","../assets/loading/progress.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"msg_0","version":5,"files":["../assets/msg/msgBg.png","../assets/msg/x.png","../assets/msg/sureBtn.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"rule_3","version":5,"files":["../assets/rule/ruleBg.png","../assets/rule/X.png"]}
\ No newline at end of file
......@@ -2,10 +2,6 @@
"skins": {},
"autoGenerateExmlsList": true,
"exmls": [
"resource/skins/AlertSkin.exml",
"resource/skins/LoadingSkin.exml",
"resource/skins/MsgSkin.exml",
"resource/skins/RuleSkin.exml",
"resource/skins/StartSkin.exml"
],
"path": "resource/default.thm.json"
......
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="AlertSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="Bitmap-1_png" y="175" horizontalCenter="0"/>
<e:Button id="confirmBtn" label="{data.btnTxt}" y="361" horizontalCenter="0">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="Bitmap-2_png" source.down="Bitmap-2_png" source.disabled="Bitmap-2_png" horizontalCenter.down="0" verticalCenter.down="0"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="closeBtn" label="" x="586.18" y="143">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="Bitmap-4_png" source.down="Bitmap-4_png" source.disabled="Bitmap-4_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Label text="{data.message}" y="239" textColor="0x000000" horizontalCenter="0"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="loadingSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:tween="egret.tween.*">
<w:Declarations>
</w:Declarations>
<e:Image y="288" source="bg_png" horizontalCenter="0"/>
<e:Image id="waitImg" source="progress_png" y="380" anchorOffsetX="28" anchorOffsetY="28" horizontalCenter="0" rotation="{data.speed}"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MsgSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Rect id="dark" width="750" height="1624" x="0" y="0" fillAlpha="0.5"/>
<e:Image id="bg" y="160" x="105.5" source="msgBg_png"/>
<e:Button id="confirmBtn" label="{data.btnTxt}" y="610" x="209.5">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="sureBtn_png" source.down="sureBtn_png" source.disabled="sureBtn_png"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Button id="closeBtn" label="" x="562.83" y="398.51">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="x_png" source.down="x_png" source.disabled="x_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
<e:Label id="msgTxt" text="{data.message}" y="469.51" textColor="0xeeeeee" anchorOffsetX="0" width="380.66" anchorOffsetY="0" height="113.34" size="34" textAlign="center" horizontalCenter="0"/>
<e:Button id="creditsOutBtn" label="" x="209.33" y="610">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="sureBtn_png" source.down="sureBtn_png" source.disabled="sureBtn_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
</e:Skin>
\ No newline at end of file
<?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:Rect id="dark" width="750" height="1624" x="0" y="0" fillAlpha="0.5"/>
<e:Image id="ruleBg" source="ruleBg_png" horizontalCenter="0.5" verticalCenter="-231"/>
<e:Button id="closeBtn" label="" horizontalCenter="296.5" verticalCenter="-561">
<e:skinName>
<e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="X_png" source.down="X_png" source.disabled="X_png"/>
<e:Label id="labelDisplay" horizontalCenter="0" verticalCenter="0"/>
</e:Skin>
</e:skinName>
</e:Button>
</e:Skin>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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