submit shdx version v1.3
Showing
330 changed files
with
402 additions
and
529 deletions
No preview for this file type
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/bird/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/bird/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/bird/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/bird/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 10; | 9 | local jump_speed = 10; | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/bird/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/bird/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/bird/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/bird/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/bird/game_data"); | 8 | local game_data = require("app/views/bird/game_data"); |
9 | 9 | ... | ... |
... | @@ -30,11 +30,11 @@ end | ... | @@ -30,11 +30,11 @@ end |
30 | function LoadingScene:onCreate() | 30 | function LoadingScene:onCreate() |
31 | self.keypadManager = KeypadManager:create(self); | 31 | self.keypadManager = KeypadManager:create(self); |
32 | 32 | ||
33 | if CHANNEL == "shdx" then | 33 | --if CHANNEL == "shdx" then |
34 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene_shdx.csb"); | 34 | -- self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene_shdx.csb"); |
35 | else | 35 | --else |
36 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene.csb"); | 36 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene.csb"); |
37 | end | 37 | --end |
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | 39 | ||
40 | self.ui:setContentSize(cc.size(display.width,display.height)); | 40 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
No preview for this file type
... | @@ -13,11 +13,11 @@ end | ... | @@ -13,11 +13,11 @@ end |
13 | function CakeScene:onCreate(params) | 13 | function CakeScene:onCreate(params) |
14 | self.keypadManager = KeypadManager:create(self); | 14 | self.keypadManager = KeypadManager:create(self); |
15 | 15 | ||
16 | if CHANNEL == "shdx" then | 16 | --if CHANNEL == "shdx" then |
17 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene_IP.csb"); | 17 | -- self.ui = cc.CSLoader:createNode("ui/cake/CakeScene_IP.csb"); |
18 | else | 18 | --else |
19 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene.csb"); | 19 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene.csb"); |
20 | end | 20 | --end |
21 | self:addChild(self.ui); | 21 | self:addChild(self.ui); |
22 | 22 | ||
23 | self.ui:setContentSize(cc.size(display.width,display.height)); | 23 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer_IP.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/cake/CakeStartLayer_IP.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local cake_data = require("app.views.cake.cake_data"); | 8 | local cake_data = require("app.views.cake.cake_data"); |
9 | 9 | ... | ... |
... | @@ -29,11 +29,11 @@ end | ... | @@ -29,11 +29,11 @@ end |
29 | function LoadingScene:onCreate() | 29 | function LoadingScene:onCreate() |
30 | self.keypadManager = KeypadManager:create(self); | 30 | self.keypadManager = KeypadManager:create(self); |
31 | 31 | ||
32 | if CHANNEL == "shdx" then | 32 | --if CHANNEL == "shdx" then |
33 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene_IP.csb"); | 33 | -- self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene_IP.csb"); |
34 | else | 34 | --else |
35 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene.csb"); | 35 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene.csb"); |
36 | end | 36 | --end |
37 | self:addChild(self.ui); | 37 | self:addChild(self.ui); |
38 | 38 | ||
39 | self.ui:setContentSize(cc.size(display.width,display.height)); | 39 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
No preview for this file type
... | @@ -21,11 +21,11 @@ function GameScene:onCreate(params) | ... | @@ -21,11 +21,11 @@ function GameScene:onCreate(params) |
21 | 21 | ||
22 | self.panel = self.ui:getChildByName("panel"); | 22 | self.panel = self.ui:getChildByName("panel"); |
23 | 23 | ||
24 | if CHANNEL == "shdx" then | 24 | --if CHANNEL == "shdx" then |
25 | self.girl = cc.CSLoader:createNode("ui/candy/Girl_shdx.csb"); | 25 | -- self.girl = cc.CSLoader:createNode("ui/candy/Girl_shdx.csb"); |
26 | else | 26 | --else |
27 | self.girl = cc.CSLoader:createNode("ui/candy/Girl.csb"); | 27 | self.girl = cc.CSLoader:createNode("ui/candy/Girl.csb"); |
28 | end | 28 | --end |
29 | self.girl:setPosition(cc.p(display.width/2,0)); | 29 | self.girl:setPosition(cc.p(display.width/2,0)); |
30 | self.panel:addChild(self.girl); | 30 | self.panel:addChild(self.girl); |
31 | self.shield = self.girl:getChildByName("shield"); | 31 | self.shield = self.girl:getChildByName("shield"); | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/candy/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/candy/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/candy/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/candy/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/candy/game_data"); | 8 | local game_data = require("app/views/candy/game_data"); |
9 | 9 | ... | ... |
... | @@ -29,11 +29,11 @@ end | ... | @@ -29,11 +29,11 @@ end |
29 | function LoadingScene:onCreate() | 29 | function LoadingScene:onCreate() |
30 | self.keypadManager = KeypadManager:create(self); | 30 | self.keypadManager = KeypadManager:create(self); |
31 | 31 | ||
32 | if CHANNEL == "shdx" then | 32 | --if CHANNEL == "shdx" then |
33 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene_shdx.csb"); | 33 | -- self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene_shdx.csb"); |
34 | else | 34 | --else |
35 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene.csb"); | 35 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene.csb"); |
36 | end | 36 | --end |
37 | 37 | ||
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | --logD("LoadingScene------------->"..display.width); | 39 | --logD("LoadingScene------------->"..display.width); | ... | ... |
No preview for this file type
No preview for this file type
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/feiyanzoubi/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 16; | 9 | local jump_speed = 16; | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/feiyanzoubi/game_data"); | 8 | local game_data = require("app/views/feiyanzoubi/game_data"); |
9 | 9 | ... | ... |
... | @@ -30,11 +30,11 @@ end | ... | @@ -30,11 +30,11 @@ end |
30 | function LoadingScene:onCreate() | 30 | function LoadingScene:onCreate() |
31 | self.keypadManager = KeypadManager:create(self); | 31 | self.keypadManager = KeypadManager:create(self); |
32 | 32 | ||
33 | if CHANNEL == "shdx" then | 33 | --if CHANNEL == "shdx" then |
34 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene_shdx.csb"); | 34 | -- self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene_shdx.csb"); |
35 | else | 35 | --else |
36 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene.csb"); | 36 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene.csb"); |
37 | end | 37 | --end |
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | 39 | ||
40 | self.ui:setContentSize(cc.size(display.width,display.height)); | 40 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
No preview for this file type
No preview for this file type
No preview for this file type
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/haidao/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/haidao/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/haidao/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/haidao/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 12; | 9 | local jump_speed = 12; | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/haidao/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/haidao/game_data"); | 8 | local game_data = require("app/views/haidao/game_data"); |
9 | 9 | ... | ... |
... | @@ -32,11 +32,11 @@ end | ... | @@ -32,11 +32,11 @@ end |
32 | function LoadingScene:onCreate() | 32 | function LoadingScene:onCreate() |
33 | self.keypadManager = KeypadManager:create(self); | 33 | self.keypadManager = KeypadManager:create(self); |
34 | 34 | ||
35 | if CHANNEL == "shdx" then | 35 | --if CHANNEL == "shdx" then |
36 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene_shdx.csb"); | 36 | -- self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene_shdx.csb"); |
37 | else | 37 | --else |
38 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene.csb"); | 38 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene.csb"); |
39 | end | 39 | --end |
40 | self:addChild(self.ui); | 40 | self:addChild(self.ui); |
41 | 41 | ||
42 | self.ui:setContentSize(cc.size(display.width,display.height)); | 42 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
No preview for this file type
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <fanpai_best>10</fanpai_best> | 10 | <fanpai_best>10</fanpai_best> |
11 | <candy_best>2004</candy_best> | 11 | <candy_best>2004</candy_best> |
12 | <candy_game_play_cnt>111</candy_game_play_cnt> | 12 | <candy_game_play_cnt>111</candy_game_play_cnt> |
13 | <run_game_play_cnt>305</run_game_play_cnt> | 13 | <run_game_play_cnt>314</run_game_play_cnt> |
14 | <run_best>25938</run_best> | 14 | <run_best>25938</run_best> |
15 | <is_game_vip>1</is_game_vip> | 15 | <is_game_vip>1</is_game_vip> |
16 | <is_game_guide>1</is_game_guide> | 16 | <is_game_guide>1</is_game_guide> | ... | ... |
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | 2 | <Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
3 | <propertyGroup> | 3 | <propertyGroup> |
4 | <StartProgram>E:\xhx\client\runtime\win32\GuandanAndroid.exe</StartProgram> | 4 | <StartProgram>D:\xhx\client\runtime\win32\GuandanAndroid.exe</StartProgram> |
5 | <StartArguments>-workdir E:\xhx\client\runrun\client</StartArguments> | 5 | <StartArguments>-workdir D:\xhx\client\runrun\client</StartArguments> |
6 | <StartWorkingDirectory>E:\xhx\client\runtime\win32</StartWorkingDirectory> | 6 | <StartWorkingDirectory>D:\xhx\client\runtime\win32</StartWorkingDirectory> |
7 | </propertyGroup> | 7 | </propertyGroup> |
8 | </Project> | 8 | </Project> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
No preview for this file type
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/run/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/run/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/run/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/run/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 16; | 9 | local jump_speed = 16; | ... | ... |
... | @@ -163,6 +163,7 @@ function GameScene:move() | ... | @@ -163,6 +163,7 @@ function GameScene:move() |
163 | -- self.bg_far_bg_1:setPositionX(0); | 163 | -- self.bg_far_bg_1:setPositionX(0); |
164 | -- end | 164 | -- end |
165 | 165 | ||
166 | --远处景色移动 | ||
166 | local bg_mid_x = self.bg_mid_bg_1:getPositionX(); | 167 | local bg_mid_x = self.bg_mid_bg_1:getPositionX(); |
167 | self.bg_mid_bg_1:setPositionX(bg_mid_x-speed/3); | 168 | self.bg_mid_bg_1:setPositionX(bg_mid_x-speed/3); |
168 | self.bg_mid_bg_2:setPositionX(bg_mid_x-speed/3+self.bg_mid_rect.width); | 169 | self.bg_mid_bg_2:setPositionX(bg_mid_x-speed/3+self.bg_mid_rect.width); |
... | @@ -170,6 +171,7 @@ function GameScene:move() | ... | @@ -170,6 +171,7 @@ function GameScene:move() |
170 | self.bg_mid_bg_1:setPositionX(0); | 171 | self.bg_mid_bg_1:setPositionX(0); |
171 | end | 172 | end |
172 | 173 | ||
174 | --近处的地面移动 | ||
173 | local bg_front_x = self.bg_front_bg_1:getPositionX(); | 175 | local bg_front_x = self.bg_front_bg_1:getPositionX(); |
174 | self.bg_front_bg_1:setPositionX(bg_front_x-speed); | 176 | self.bg_front_bg_1:setPositionX(bg_front_x-speed); |
175 | self.bg_front_bg_2:setPositionX(bg_front_x-speed+self.bg_front_rect.width); | 177 | self.bg_front_bg_2:setPositionX(bg_front_x-speed+self.bg_front_rect.width); |
... | @@ -212,6 +214,7 @@ function GameScene:create_map() | ... | @@ -212,6 +214,7 @@ function GameScene:create_map() |
212 | self.current_level = self.current_level + 1; | 214 | self.current_level = self.current_level + 1; |
213 | end | 215 | end |
214 | 216 | ||
217 | --碰撞 | ||
215 | function GameScene:collide() | 218 | function GameScene:collide() |
216 | if not self.map then | 219 | if not self.map then |
217 | return; | 220 | return; | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/run/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/run/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/run/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/run/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/run/game_data"); | 8 | local game_data = require("app/views/run/game_data"); |
9 | 9 | ... | ... |
... | @@ -32,11 +32,11 @@ end | ... | @@ -32,11 +32,11 @@ end |
32 | function LoadingScene:onCreate() | 32 | function LoadingScene:onCreate() |
33 | self.keypadManager = KeypadManager:create(self); | 33 | self.keypadManager = KeypadManager:create(self); |
34 | 34 | ||
35 | if CHANNEL == "shdx" then | 35 | --if CHANNEL == "shdx" then |
36 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene_shdx.csb"); | 36 | -- self.ui = cc.CSLoader:createNode("ui/run/LoadingScene_shdx.csb"); |
37 | else | 37 | --else |
38 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene.csb"); | 38 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene.csb"); |
39 | end | 39 | --end |
40 | self:addChild(self.ui); | 40 | self:addChild(self.ui); |
41 | 41 | ||
42 | self.ui:setContentSize(cc.size(display.width,display.height)); | 42 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
... | @@ -75,25 +75,25 @@ | ... | @@ -75,25 +75,25 @@ |
75 | <AbstractNodeData Name="bg_front" ActionTag="-795650236" Tag="32" IconVisible="False" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" ctype="PanelObjectData"> | 75 | <AbstractNodeData Name="bg_front" ActionTag="-795650236" Tag="32" IconVisible="False" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" ctype="PanelObjectData"> |
76 | <Size X="1280.0000" Y="720.0000" /> | 76 | <Size X="1280.0000" Y="720.0000" /> |
77 | <Children> | 77 | <Children> |
78 | <AbstractNodeData Name="bg_1" ActionTag="-1054038358" Tag="19" IconVisible="False" RightMargin="-520.0000" TopMargin="320.0000" ctype="SpriteObjectData"> | 78 | <AbstractNodeData Name="bg_1" ActionTag="-1054038358" Tag="19" IconVisible="False" RightMargin="-520.0000" TopMargin="435.0000" ctype="SpriteObjectData"> |
79 | <Size X="1800.0000" Y="400.0000" /> | 79 | <Size X="1800.0000" Y="285.0000" /> |
80 | <AnchorPoint /> | 80 | <AnchorPoint /> |
81 | <Position /> | 81 | <Position /> |
82 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 82 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
83 | <CColor A="255" R="255" G="255" B="255" /> | 83 | <CColor A="255" R="255" G="255" B="255" /> |
84 | <PrePosition /> | 84 | <PrePosition /> |
85 | <PreSize X="1.4063" Y="0.5556" /> | 85 | <PreSize X="1.4063" Y="0.3958" /> |
86 | <FileData Type="Normal" Path="ui/run/bg_front_1.png" Plist="" /> | 86 | <FileData Type="Normal" Path="ui/run/bg_front_1.png" Plist="" /> |
87 | <BlendFunc Src="1" Dst="771" /> | 87 | <BlendFunc Src="1" Dst="771" /> |
88 | </AbstractNodeData> | 88 | </AbstractNodeData> |
89 | <AbstractNodeData Name="bg_2" ActionTag="-1449589531" Tag="20" IconVisible="False" LeftMargin="1800.0000" RightMargin="-2320.0000" TopMargin="320.0000" ctype="SpriteObjectData"> | 89 | <AbstractNodeData Name="bg_2" ActionTag="-1449589531" Tag="20" IconVisible="False" LeftMargin="1800.0000" RightMargin="-2320.0000" TopMargin="435.0000" ctype="SpriteObjectData"> |
90 | <Size X="1800.0000" Y="400.0000" /> | 90 | <Size X="1800.0000" Y="285.0000" /> |
91 | <AnchorPoint /> | 91 | <AnchorPoint /> |
92 | <Position X="1800.0000" /> | 92 | <Position X="1800.0000" /> |
93 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 93 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
94 | <CColor A="255" R="255" G="255" B="255" /> | 94 | <CColor A="255" R="255" G="255" B="255" /> |
95 | <PrePosition X="1.4063" /> | 95 | <PrePosition X="1.4063" /> |
96 | <PreSize X="1.4063" Y="0.5556" /> | 96 | <PreSize X="1.4063" Y="0.3958" /> |
97 | <FileData Type="Normal" Path="ui/run/bg_front_1.png" Plist="" /> | 97 | <FileData Type="Normal" Path="ui/run/bg_front_1.png" Plist="" /> |
98 | <BlendFunc Src="1" Dst="771" /> | 98 | <BlendFunc Src="1" Dst="771" /> |
99 | </AbstractNodeData> | 99 | </AbstractNodeData> | ... | ... |
... | @@ -35,8 +35,9 @@ | ... | @@ -35,8 +35,9 @@ |
35 | <FilePathData Path="ui/run/GameStartLayer.csd" /> | 35 | <FilePathData Path="ui/run/GameStartLayer.csd" /> |
36 | <FilePathData Path="ui/run/GameStartLayer_shdx.csd" /> | 36 | <FilePathData Path="ui/run/GameStartLayer_shdx.csd" /> |
37 | <FilePathData Path="ui/run/LoadingScene_shdx.csd" /> | 37 | <FilePathData Path="ui/run/LoadingScene_shdx.csd" /> |
38 | <FilePathData Path="ui/run/GameScene.csd" /> | ||
38 | </OpenedDocuments> | 39 | </OpenedDocuments> |
39 | <ActiveDocument Path="ui/run/LoadingScene_shdx.csd" /> | 40 | <ActiveDocument Path="ui/run/GameScene.csd" /> |
40 | </Value> | 41 | </Value> |
41 | </Item> | 42 | </Item> |
42 | </Properties> | 43 | </Properties> | ... | ... |
No preview for this file type
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
3 | <!--m0800279afc6c--> | 3 | <!--m0800279afc6c--> |
4 | <!--m0800278b87c2--> | 4 | <!--m0800278b87c2--> |
5 | <!----> | 5 | <!----> |
6 | <Account>m0800278b87c</Account> | 6 | <Account>m0800278b87d</Account> |
7 | <exp>0</exp> | 7 | <exp>0</exp> |
8 | <versionnum>201801291657</versionnum> | 8 | <versionnum>201801291657</versionnum> |
9 | <isMusic>0</isMusic> | 9 | <isMusic>0</isMusic> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | <new_guide_step>4</new_guide_step> | 26 | <new_guide_step>4</new_guide_step> |
27 | <is_feiyanzoubi_game_guide>1</is_feiyanzoubi_game_guide> | 27 | <is_feiyanzoubi_game_guide>1</is_feiyanzoubi_game_guide> |
28 | <feiyanzoubi_best>603</feiyanzoubi_best> | 28 | <feiyanzoubi_best>603</feiyanzoubi_best> |
29 | <uid>1030100010142927</uid> | 29 | <uid>1010100010142867</uid> |
30 | <is_bird_game_guide>1</is_bird_game_guide> | 30 | <is_bird_game_guide>1</is_bird_game_guide> |
31 | <bird_best>1107</bird_best> | 31 | <bird_best>1107</bird_best> |
32 | <is_haidao_game_guide>1</is_haidao_game_guide> | 32 | <is_haidao_game_guide>1</is_haidao_game_guide> | ... | ... |
... | @@ -108,7 +108,7 @@ | ... | @@ -108,7 +108,7 @@ |
108 | <score val="70" item="100002,10;100001,150;600002,1" rate="70" key="200001,50;200002,50" /> | 108 | <score val="70" item="100002,10;100001,150;600002,1" rate="70" key="200001,50;200002,50" /> |
109 | <score val="80" item="100002,10;100001,150;600002,2" rate="80" key="200001,50;200002,30;200003,20" /> | 109 | <score val="80" item="100002,10;100001,150;600002,2" rate="80" key="200001,50;200002,30;200003,20" /> |
110 | </game> | 110 | </game> |
111 | <game id="7" ename="run" name="奔跑吧小马宝莉" needVip="1" idx="7" payid="23" diamond="10" flag=""> | 111 | <game id="7" ename="run" name="奔跑吧小兔子" needVip="1" idx="7" payid="23" diamond="10" flag=""> |
112 | <score val="0" item="" key=""/> | 112 | <score val="0" item="" key=""/> |
113 | <score val="100" item="100002,2;100001,50;600001,2" rate="30" key="200001,100" /> | 113 | <score val="100" item="100002,2;100001,50;600001,2" rate="30" key="200001,100" /> |
114 | <score val="200" item="100002,4;100001,80;600001,3" rate="40" key="200001,100" /> | 114 | <score val="200" item="100002,4;100001,80;600001,3" rate="40" key="200001,100" /> |
... | @@ -144,7 +144,7 @@ | ... | @@ -144,7 +144,7 @@ |
144 | <score val="900" item="100002,10;100001,150;600002,1" rate="70" key="200001,20;200002,30;200003,30;200004,20" /> | 144 | <score val="900" item="100002,10;100001,150;600002,1" rate="70" key="200001,20;200002,30;200003,30;200004,20" /> |
145 | <score val="1100" item="100002,10;100001,150;600002,2" rate="80" key="200001,25;200002,20;200003,20;200004,20;200005,15" /> | 145 | <score val="1100" item="100002,10;100001,150;600002,2" rate="80" key="200001,25;200002,20;200003,20;200004,20;200005,15" /> |
146 | </game> | 146 | </game> |
147 | <game id="10" ename="bird" name="火箭小黄人" needVip="1" idx="1" payid="24" diamond="15" flag="new"> | 147 | <game id="10" ename="bird" name="火箭小象" needVip="1" idx="1" payid="24" diamond="15" flag="new"> |
148 | <score val="0" item="" key=""/> | 148 | <score val="0" item="" key=""/> |
149 | <score val="64" item="100002,2;100001,50;600001,2" rate="30" key="200001,100" /> | 149 | <score val="64" item="100002,2;100001,50;600001,2" rate="30" key="200001,100" /> |
150 | <score val="192" item="100002,4;100001,80;600001,3" rate="40" key="200001,100" /> | 150 | <score val="192" item="100002,4;100001,80;600001,3" rate="40" key="200001,100" /> | ... | ... |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/bird/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/bird/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/bird/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/bird/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 10; | 9 | local jump_speed = 10; | ... | ... |
... | @@ -138,7 +138,6 @@ end | ... | @@ -138,7 +138,6 @@ end |
138 | 138 | ||
139 | function GameScene:startGame() | 139 | function GameScene:startGame() |
140 | self.is_starting = true; | 140 | self.is_starting = true; |
141 | ItemManager.lock_pop = true; --关掉弹窗 | ||
142 | 141 | ||
143 | self.hero:init(); | 142 | self.hero:init(); |
144 | self.hero:setPosition(self.hero.original_p); | 143 | self.hero:setPosition(self.hero.original_p); | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/bird/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/bird/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/bird/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/bird/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/bird/game_data"); | 8 | local game_data = require("app/views/bird/game_data"); |
9 | 9 | ||
... | @@ -12,7 +12,6 @@ function GameStartView:ctor() | ... | @@ -12,7 +12,6 @@ function GameStartView:ctor() |
12 | GameStartView.super.ctor(self); | 12 | GameStartView.super.ctor(self); |
13 | end | 13 | end |
14 | 14 | ||
15 | --onStartFn在GameScene中调用启动游戏 | ||
16 | function GameStartView:show(onStartFn) | 15 | function GameStartView:show(onStartFn) |
17 | local scene = cc.Director:getInstance():getRunningScene() | 16 | local scene = cc.Director:getInstance():getRunningScene() |
18 | local inst = GameStartView:create(); | 17 | local inst = GameStartView:create(); |
... | @@ -157,32 +156,18 @@ function GameStartView:onStart() | ... | @@ -157,32 +156,18 @@ function GameStartView:onStart() |
157 | end | 156 | end |
158 | self:close(); | 157 | self:close(); |
159 | end | 158 | end |
160 | GAME_ID=EnumGame.BIRD; | 159 | |
161 | if IS_XHX then | 160 | if IS_XHX then |
162 | local game_info = SingleGameInfo.get_game_info(EnumGame.BIRD); | 161 | local game_info = SingleGameInfo.get_game_info(EnumGame.BIRD); |
163 | print("打开小游戏:",game_info.id); | 162 | print("打开小游戏:",game_info.id); |
164 | if UserModel.getLeftVipDay() == 0 then | 163 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
165 | print("小游戏购买界面"); | 164 | print("小游戏购买界面"); |
166 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 165 | local my_diamond_num = UserModel.getDiamond(); |
167 | logUI("每天免费玩一次: "..free_every_day_num.val1); | 166 | if my_diamond_num >= game_info.diamond then |
168 | if free_every_day_num.val1==0 then | 167 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
169 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
170 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
171 | paySuccessFun(); | ||
172 | else | 168 | else |
173 | local function okFun() | 169 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
174 | if CHANNEL == "shdx" then | 170 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
175 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
176 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
177 | elseif CHANNEL == "cucc" then | ||
178 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
179 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
180 | else | ||
181 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
182 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
183 | end | ||
184 | end | ||
185 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
186 | end | 171 | end |
187 | return; | 172 | return; |
188 | else | 173 | else | ... | ... |
... | @@ -30,11 +30,11 @@ end | ... | @@ -30,11 +30,11 @@ end |
30 | function LoadingScene:onCreate() | 30 | function LoadingScene:onCreate() |
31 | self.keypadManager = KeypadManager:create(self); | 31 | self.keypadManager = KeypadManager:create(self); |
32 | 32 | ||
33 | if CHANNEL == "shdx" then | 33 | --if CHANNEL == "shdx" then |
34 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene_shdx.csb"); | 34 | -- self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene_shdx.csb"); |
35 | else | 35 | --else |
36 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene.csb"); | 36 | self.ui = cc.CSLoader:createNode("ui/bird/LoadingScene.csb"); |
37 | end | 37 | --end |
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | 39 | ||
40 | self.ui:setContentSize(cc.size(display.width,display.height)); | 40 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
... | @@ -13,11 +13,11 @@ end | ... | @@ -13,11 +13,11 @@ end |
13 | function CakeScene:onCreate(params) | 13 | function CakeScene:onCreate(params) |
14 | self.keypadManager = KeypadManager:create(self); | 14 | self.keypadManager = KeypadManager:create(self); |
15 | 15 | ||
16 | if CHANNEL == "shdx" then | 16 | --if CHANNEL == "shdx" then |
17 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene_IP.csb"); | 17 | -- self.ui = cc.CSLoader:createNode("ui/cake/CakeScene_IP.csb"); |
18 | else | 18 | --else |
19 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene.csb"); | 19 | self.ui = cc.CSLoader:createNode("ui/cake/CakeScene.csb"); |
20 | end | 20 | --end |
21 | self:addChild(self.ui); | 21 | self:addChild(self.ui); |
22 | 22 | ||
23 | self.ui:setContentSize(cc.size(display.width,display.height)); | 23 | self.ui:setContentSize(cc.size(display.width,display.height)); |
... | @@ -234,7 +234,6 @@ end | ... | @@ -234,7 +234,6 @@ end |
234 | 234 | ||
235 | function CakeScene:startGame() | 235 | function CakeScene:startGame() |
236 | self.is_starting = true; | 236 | self.is_starting = true; |
237 | ItemManager.lock_pop = true; --关掉弹窗 | ||
238 | end | 237 | end |
239 | 238 | ||
240 | function CakeScene:startMoveGou() | 239 | function CakeScene:startMoveGou() |
... | @@ -568,7 +567,7 @@ function CakeScene:onKeypadOk() | ... | @@ -568,7 +567,7 @@ function CakeScene:onKeypadOk() |
568 | 567 | ||
569 | if not self.is_starting then | 568 | if not self.is_starting then |
570 | self:startGame(); | 569 | self:startGame(); |
571 | else | 570 | elseif self.cur_cake~=nil then |
572 | self.tips_show:hide(); | 571 | self.tips_show:hide(); |
573 | self:drop_cake(); | 572 | self:drop_cake(); |
574 | end | 573 | end | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer_IP.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/cake/CakeStartLayer_IP.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/cake/CakeStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local cake_data = require("app.views.cake.cake_data"); | 8 | local cake_data = require("app.views.cake.cake_data"); |
9 | 9 | ||
... | @@ -111,31 +111,17 @@ function GameStartView:onStart() | ... | @@ -111,31 +111,17 @@ function GameStartView:onStart() |
111 | SoundManager.playEffect("res/ui/cake/star.ogg"); | 111 | SoundManager.playEffect("res/ui/cake/star.ogg"); |
112 | self:close(); | 112 | self:close(); |
113 | end | 113 | end |
114 | GAME_ID=EnumGame.CAKE; | 114 | |
115 | if IS_XHX then | 115 | if IS_XHX then |
116 | local game_info = SingleGameInfo.get_game_info(EnumGame.CAKE); | 116 | local game_info = SingleGameInfo.get_game_info(EnumGame.CAKE); |
117 | print("打开小游戏:",game_info.id); | 117 | print("打开小游戏:",game_info.id); |
118 | if UserModel.getLeftVipDay() == 0 then | 118 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
119 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 119 | local my_diamond_num = UserModel.getDiamond(); |
120 | if free_every_day_num.val1==0 then | 120 | if my_diamond_num >= game_info.diamond then |
121 | logUI("每天免费玩一次"); | 121 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
122 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
123 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
124 | paySuccessFun(); | ||
125 | else | 122 | else |
126 | local function okFun() | 123 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
127 | if CHANNEL == "shdx" then | 124 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
128 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
129 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
130 | elseif CHANNEL == "cucc" then | ||
131 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
132 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
133 | else | ||
134 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
135 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
136 | end | ||
137 | end | ||
138 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
139 | end | 125 | end |
140 | return; | 126 | return; |
141 | else | 127 | else | ... | ... |
... | @@ -29,11 +29,11 @@ end | ... | @@ -29,11 +29,11 @@ end |
29 | function LoadingScene:onCreate() | 29 | function LoadingScene:onCreate() |
30 | self.keypadManager = KeypadManager:create(self); | 30 | self.keypadManager = KeypadManager:create(self); |
31 | 31 | ||
32 | if CHANNEL == "shdx" then | 32 | --if CHANNEL == "shdx" then |
33 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene_IP.csb"); | 33 | -- self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene_IP.csb"); |
34 | else | 34 | --else |
35 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene.csb"); | 35 | self.ui = cc.CSLoader:createNode("ui/cake/LoadingScene.csb"); |
36 | end | 36 | --end |
37 | self:addChild(self.ui); | 37 | self:addChild(self.ui); |
38 | 38 | ||
39 | self.ui:setContentSize(cc.size(display.width,display.height)); | 39 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
... | @@ -5,6 +5,7 @@ cake_data.best = 0; | ... | @@ -5,6 +5,7 @@ cake_data.best = 0; |
5 | cake_data.speed = 10; | 5 | cake_data.speed = 10; |
6 | 6 | ||
7 | local _list = {}; | 7 | local _list = {}; |
8 | --countdown_probability:碰到倒计时的概率,countdown_time:倒计时时间 | ||
8 | _list[#_list+1] = {degree=1,score=0,award=0,speed_add=1,countdown_probability=0,countdown_time=0,size_list={{size=1,probability=50},{size=2,probability=50}}}; | 9 | _list[#_list+1] = {degree=1,score=0,award=0,speed_add=1,countdown_probability=0,countdown_time=0,size_list={{size=1,probability=50},{size=2,probability=50}}}; |
9 | _list[#_list+1] = {degree=2,score=5,award=0,speed_add=1.3,countdown_probability=0,countdown_time=0,size_list={{size=1,probability=30},{size=2,probability=70}}}; | 10 | _list[#_list+1] = {degree=2,score=5,award=0,speed_add=1.3,countdown_probability=0,countdown_time=0,size_list={{size=1,probability=30},{size=2,probability=70}}}; |
10 | _list[#_list+1] = {degree=3,score=10,award=0,speed_add=1.5,countdown_probability=30,countdown_time=8,size_list={{size=2,probability=60},{size=3,probability=40}}}; | 11 | _list[#_list+1] = {degree=3,score=10,award=0,speed_add=1.5,countdown_probability=30,countdown_time=8,size_list={{size=2,probability=60},{size=3,probability=40}}}; | ... | ... |
... | @@ -21,11 +21,11 @@ function GameScene:onCreate(params) | ... | @@ -21,11 +21,11 @@ function GameScene:onCreate(params) |
21 | 21 | ||
22 | self.panel = self.ui:getChildByName("panel"); | 22 | self.panel = self.ui:getChildByName("panel"); |
23 | 23 | ||
24 | if CHANNEL == "shdx" then | 24 | --if CHANNEL == "shdx" then |
25 | self.girl = cc.CSLoader:createNode("ui/candy/Girl_shdx.csb"); | 25 | -- self.girl = cc.CSLoader:createNode("ui/candy/Girl_shdx.csb"); |
26 | else | 26 | --else |
27 | self.girl = cc.CSLoader:createNode("ui/candy/Girl.csb"); | 27 | self.girl = cc.CSLoader:createNode("ui/candy/Girl.csb"); |
28 | end | 28 | --end |
29 | self.girl:setPosition(cc.p(display.width/2,0)); | 29 | self.girl:setPosition(cc.p(display.width/2,0)); |
30 | self.panel:addChild(self.girl); | 30 | self.panel:addChild(self.girl); |
31 | self.shield = self.girl:getChildByName("shield"); | 31 | self.shield = self.girl:getChildByName("shield"); |
... | @@ -115,7 +115,6 @@ end | ... | @@ -115,7 +115,6 @@ end |
115 | 115 | ||
116 | function GameScene:startGame() | 116 | function GameScene:startGame() |
117 | self.is_starting = true; | 117 | self.is_starting = true; |
118 | ItemManager.lock_pop = true; --关掉弹窗 | ||
119 | 118 | ||
120 | self.current_item_list = {}; | 119 | self.current_item_list = {}; |
121 | 120 | ||
... | @@ -186,7 +185,7 @@ function GameScene:createBoomFun() | ... | @@ -186,7 +185,7 @@ function GameScene:createBoomFun() |
186 | self:createCandy(1,-_info.boom_speed); | 185 | self:createCandy(1,-_info.boom_speed); |
187 | end | 186 | end |
188 | end | 187 | end |
189 | 188 | --防护罩 | |
190 | function GameScene:createShieldFun() | 189 | function GameScene:createShieldFun() |
191 | local _info = game_data.get_info_by_score(self.score); | 190 | local _info = game_data.get_info_by_score(self.score); |
192 | 191 | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/candy/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/candy/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/candy/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/candy/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/candy/game_data"); | 8 | local game_data = require("app/views/candy/game_data"); |
9 | 9 | ||
... | @@ -110,32 +110,18 @@ function GameStartView:onStart() | ... | @@ -110,32 +110,18 @@ function GameStartView:onStart() |
110 | end | 110 | end |
111 | self:close(); | 111 | self:close(); |
112 | end | 112 | end |
113 | GAME_ID=EnumGame.CANDY; | 113 | |
114 | if IS_XHX then | 114 | if IS_XHX then |
115 | local game_info = SingleGameInfo.get_game_info(EnumGame.CANDY); | 115 | local game_info = SingleGameInfo.get_game_info(EnumGame.CANDY); |
116 | print("打开小游戏:",game_info.id); | 116 | print("打开小游戏:",game_info.id); |
117 | if UserModel.getLeftVipDay() == 0 then | 117 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
118 | print("小游戏购买界面"); | 118 | print("小游戏购买界面"); |
119 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 119 | local my_diamond_num = UserModel.getDiamond(); |
120 | if free_every_day_num.val1==0 then | 120 | if my_diamond_num >= game_info.diamond then |
121 | logUI("每天免费玩一次"); | 121 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
122 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
123 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
124 | paySuccessFun(); | ||
125 | else | 122 | else |
126 | local function okFun() | 123 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
127 | if CHANNEL == "shdx" then | 124 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
128 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
129 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
130 | elseif CHANNEL == "cucc" then | ||
131 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
132 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
133 | else | ||
134 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
135 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
136 | end | ||
137 | end | ||
138 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
139 | end | 125 | end |
140 | return; | 126 | return; |
141 | else | 127 | else | ... | ... |
... | @@ -29,14 +29,14 @@ end | ... | @@ -29,14 +29,14 @@ end |
29 | function LoadingScene:onCreate() | 29 | function LoadingScene:onCreate() |
30 | self.keypadManager = KeypadManager:create(self); | 30 | self.keypadManager = KeypadManager:create(self); |
31 | 31 | ||
32 | if CHANNEL == "shdx" then | 32 | --if CHANNEL == "shdx" then |
33 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene_shdx.csb"); | 33 | -- self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene_shdx.csb"); |
34 | else | 34 | --else |
35 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene.csb"); | 35 | self.ui = cc.CSLoader:createNode("ui/candy/LoadingScene.csb"); |
36 | end | 36 | --end |
37 | 37 | ||
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | 39 | --logD("LoadingScene------------->"..display.width); | |
40 | self.ui:setContentSize(cc.size(display.width,display.height)); | 40 | self.ui:setContentSize(cc.size(display.width,display.height)); |
41 | ccui.Helper:doLayout(self.ui); | 41 | ccui.Helper:doLayout(self.ui); |
42 | 42 | ... | ... |
... | @@ -63,7 +63,6 @@ function GameOverView:onAgain() | ... | @@ -63,7 +63,6 @@ function GameOverView:onAgain() |
63 | end | 63 | end |
64 | 64 | ||
65 | if IS_XHX then | 65 | if IS_XHX then |
66 | |||
67 | paySuccessFun(); | 66 | paySuccessFun(); |
68 | elseif CHANNEL == "shdx" and game_data.get_game_play_cnt() > 0 then | 67 | elseif CHANNEL == "shdx" and game_data.get_game_play_cnt() > 0 then |
69 | local reciever = require("app.views.fanpai.GamePayView"):show("",paySuccessFun); | 68 | local reciever = require("app.views.fanpai.GamePayView"):show("",paySuccessFun); | ... | ... |
... | @@ -75,7 +75,6 @@ end | ... | @@ -75,7 +75,6 @@ end |
75 | 75 | ||
76 | function GameScene:startGame() | 76 | function GameScene:startGame() |
77 | self.is_starting = true; | 77 | self.is_starting = true; |
78 | ItemManager.lock_pop = true; --关掉弹窗 | ||
79 | self.is_show_result = false; | 78 | self.is_show_result = false; |
80 | self.is_flopping = false; | 79 | self.is_flopping = false; |
81 | self.current_item = nil; | 80 | self.current_item = nil; | ... | ... |
... | @@ -146,32 +146,18 @@ function GameStartView:onStart() | ... | @@ -146,32 +146,18 @@ function GameStartView:onStart() |
146 | end | 146 | end |
147 | self:close(); | 147 | self:close(); |
148 | end | 148 | end |
149 | GAME_ID=EnumGame.FANPAI; | 149 | |
150 | if IS_XHX then | 150 | if IS_XHX then |
151 | local game_info = SingleGameInfo.get_game_info(EnumGame.FANPAI); | 151 | local game_info = SingleGameInfo.get_game_info(EnumGame.FANPAI); |
152 | print("打开小游戏:",game_info.id); | 152 | print("打开小游戏:",game_info.id); |
153 | if UserModel.getLeftVipDay() == 0 then | 153 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
154 | print("小游戏购买界面"); | 154 | print("小游戏购买界面"); |
155 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 155 | local my_diamond_num = UserModel.getDiamond(); |
156 | if free_every_day_num.val1==0 then | 156 | if my_diamond_num >= game_info.diamond then |
157 | logUI("每天免费玩一次"); | 157 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
158 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
159 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
160 | paySuccessFun(); | ||
161 | else | 158 | else |
162 | local function okFun() | 159 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
163 | if CHANNEL == "shdx" then | 160 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
164 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
165 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
166 | elseif CHANNEL == "cucc" then | ||
167 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
168 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
169 | else | ||
170 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
171 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
172 | end | ||
173 | end | ||
174 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
175 | end | 161 | end |
176 | return; | 162 | return; |
177 | else | 163 | else | ... | ... |
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/feiyanzoubi/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/feiyanzoubi/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 16; | 9 | local jump_speed = 16; | ... | ... |
... | @@ -182,7 +182,6 @@ end | ... | @@ -182,7 +182,6 @@ end |
182 | 182 | ||
183 | function GameScene:startGame() | 183 | function GameScene:startGame() |
184 | self.is_starting = true; | 184 | self.is_starting = true; |
185 | ItemManager.lock_pop = true; --关掉弹窗 | ||
186 | 185 | ||
187 | self.hero:init(); | 186 | self.hero:init(); |
188 | self.hero:setPosition(self.hero.original_p); | 187 | self.hero:setPosition(self.hero.original_p); | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/feiyanzoubi/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/feiyanzoubi/game_data"); | 8 | local game_data = require("app/views/feiyanzoubi/game_data"); |
9 | 9 | ||
... | @@ -116,32 +116,18 @@ function GameStartView:onStart() | ... | @@ -116,32 +116,18 @@ function GameStartView:onStart() |
116 | end | 116 | end |
117 | self:close(); | 117 | self:close(); |
118 | end | 118 | end |
119 | GAME_ID=EnumGame.FEIYANZOUBI; | 119 | |
120 | if IS_XHX then | 120 | if IS_XHX then |
121 | local game_info = SingleGameInfo.get_game_info(EnumGame.FEIYANZOUBI); | 121 | local game_info = SingleGameInfo.get_game_info(EnumGame.FEIYANZOUBI); |
122 | print("打开小游戏:",game_info.id); | 122 | print("打开小游戏:",game_info.id); |
123 | if UserModel.getLeftVipDay() == 0 then | 123 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
124 | print("小游戏购买界面"); | 124 | print("小游戏购买界面"); |
125 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 125 | local my_diamond_num = UserModel.getDiamond(); |
126 | if free_every_day_num.val1==0 then | 126 | if my_diamond_num >= game_info.diamond then |
127 | logUI("每天免费玩一次"); | 127 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
128 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
129 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
130 | paySuccessFun(); | ||
131 | else | 128 | else |
132 | local function okFun() | 129 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
133 | if CHANNEL == "shdx" then | 130 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
134 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
135 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
136 | elseif CHANNEL == "cucc" then | ||
137 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
138 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
139 | else | ||
140 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
141 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
142 | end | ||
143 | end | ||
144 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
145 | end | 131 | end |
146 | return; | 132 | return; |
147 | else | 133 | else | ... | ... |
... | @@ -30,11 +30,11 @@ end | ... | @@ -30,11 +30,11 @@ end |
30 | function LoadingScene:onCreate() | 30 | function LoadingScene:onCreate() |
31 | self.keypadManager = KeypadManager:create(self); | 31 | self.keypadManager = KeypadManager:create(self); |
32 | 32 | ||
33 | if CHANNEL == "shdx" then | 33 | --if CHANNEL == "shdx" then |
34 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene_shdx.csb"); | 34 | -- self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene_shdx.csb"); |
35 | else | 35 | --else |
36 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene.csb"); | 36 | self.ui = cc.CSLoader:createNode("ui/feiyanzoubi/LoadingScene.csb"); |
37 | end | 37 | --end |
38 | self:addChild(self.ui); | 38 | self:addChild(self.ui); |
39 | 39 | ||
40 | self.ui:setContentSize(cc.size(display.width,display.height)); | 40 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
... | @@ -84,8 +84,6 @@ end | ... | @@ -84,8 +84,6 @@ end |
84 | 84 | ||
85 | function GameScene:startGame() | 85 | function GameScene:startGame() |
86 | self.is_starting = true; | 86 | self.is_starting = true; |
87 | ItemManager.lock_pop = true; --关掉弹窗 | ||
88 | |||
89 | self.is_show_result = false; | 87 | self.is_show_result = false; |
90 | SoundManager.playMusic("res/ui/guess/bg_music_game.mp3"); | 88 | SoundManager.playMusic("res/ui/guess/bg_music_game.mp3"); |
91 | 89 | ... | ... |
... | @@ -104,32 +104,18 @@ function GameStartView:onStart() | ... | @@ -104,32 +104,18 @@ function GameStartView:onStart() |
104 | end | 104 | end |
105 | self:close(); | 105 | self:close(); |
106 | end | 106 | end |
107 | GAME_ID=EnumGame.GUESS; | 107 | |
108 | if IS_XHX then | 108 | if IS_XHX then |
109 | local game_info = SingleGameInfo.get_game_info(EnumGame.GUESS); | 109 | local game_info = SingleGameInfo.get_game_info(EnumGame.GUESS); |
110 | print("打开小游戏:",game_info.id); | 110 | print("打开小游戏:",game_info.id); |
111 | if UserModel.getLeftVipDay() == 0 then | 111 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
112 | print("小游戏购买界面"); | 112 | print("小游戏购买界面"); |
113 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 113 | local my_diamond_num = UserModel.getDiamond(); |
114 | if free_every_day_num.val1==0 then | 114 | if my_diamond_num >= game_info.diamond then |
115 | logUI("每天免费玩一次"); | 115 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
116 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
117 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
118 | paySuccessFun(); | ||
119 | else | 116 | else |
120 | local function okFun() | 117 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
121 | if CHANNEL == "shdx" then | 118 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
122 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
123 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
124 | elseif CHANNEL == "cucc" then | ||
125 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
126 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
127 | else | ||
128 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
129 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
130 | end | ||
131 | end | ||
132 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
133 | end | 119 | end |
134 | return; | 120 | return; |
135 | else | 121 | else | ... | ... |
... | @@ -85,7 +85,6 @@ end | ... | @@ -85,7 +85,6 @@ end |
85 | 85 | ||
86 | function GameScene:startGame() | 86 | function GameScene:startGame() |
87 | self.is_starting = true; | 87 | self.is_starting = true; |
88 | ItemManager.lock_pop = true; --关掉弹窗 | ||
89 | self.is_show_result = false; | 88 | self.is_show_result = false; |
90 | 89 | ||
91 | self.fruit_bg:show(); | 90 | self.fruit_bg:show(); | ... | ... |
... | @@ -104,32 +104,18 @@ function GameStartView:onStart() | ... | @@ -104,32 +104,18 @@ function GameStartView:onStart() |
104 | end | 104 | end |
105 | self:close(); | 105 | self:close(); |
106 | end | 106 | end |
107 | GAME_ID=EnumGame.GUESS_COLOR; | 107 | |
108 | if IS_XHX then | 108 | if IS_XHX then |
109 | local game_info = SingleGameInfo.get_game_info(EnumGame.GUESS_COLOR); | 109 | local game_info = SingleGameInfo.get_game_info(EnumGame.GUESS_COLOR); |
110 | print("打开小游戏:",game_info.id); | 110 | print("打开小游戏:",game_info.id); |
111 | if UserModel.getLeftVipDay() == 0 then | 111 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
112 | print("小游戏购买界面"); | 112 | print("小游戏购买界面"); |
113 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 113 | local my_diamond_num = UserModel.getDiamond(); |
114 | if free_every_day_num.val1==0 then | 114 | if my_diamond_num >= game_info.diamond then |
115 | logUI("每天免费玩一次"); | 115 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
116 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
117 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
118 | paySuccessFun(); | ||
119 | else | 116 | else |
120 | local function okFun() | 117 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
121 | if CHANNEL == "shdx" then | 118 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
122 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
123 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
124 | elseif CHANNEL == "cucc" then | ||
125 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
126 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
127 | else | ||
128 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
129 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
130 | end | ||
131 | end | ||
132 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
133 | end | 119 | end |
134 | return; | 120 | return; |
135 | else | 121 | else | ... | ... |
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/haidao/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/haidao/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/haidao/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/haidao/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 12; | 9 | local jump_speed = 12; | ... | ... |
... | @@ -158,7 +158,6 @@ end | ... | @@ -158,7 +158,6 @@ end |
158 | 158 | ||
159 | function GameScene:startGame() | 159 | function GameScene:startGame() |
160 | self.is_starting = true; | 160 | self.is_starting = true; |
161 | ItemManager.lock_pop = true; --关掉弹窗 | ||
162 | 161 | ||
163 | self.mapContainer:setScale(HAIDAO_MAP_SCALE); | 162 | self.mapContainer:setScale(HAIDAO_MAP_SCALE); |
164 | 163 | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/haidao/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/haidao/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/haidao/game_data"); | 8 | local game_data = require("app/views/haidao/game_data"); |
9 | 9 | ||
... | @@ -156,32 +156,18 @@ function GameStartView:onStart() | ... | @@ -156,32 +156,18 @@ function GameStartView:onStart() |
156 | end | 156 | end |
157 | self:close(); | 157 | self:close(); |
158 | end | 158 | end |
159 | GAME_ID=EnumGame.HAIDAO; | 159 | |
160 | if IS_XHX then | 160 | if IS_XHX then |
161 | local game_info = SingleGameInfo.get_game_info(EnumGame.HAIDAO); | 161 | local game_info = SingleGameInfo.get_game_info(EnumGame.HAIDAO); |
162 | print("打开小游戏:",game_info.id); | 162 | print("打开小游戏:",game_info.id); |
163 | if UserModel.getLeftVipDay() == 0 then | 163 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
164 | print("小游戏购买界面"); | 164 | print("小游戏购买界面"); |
165 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 165 | local my_diamond_num = UserModel.getDiamond(); |
166 | if free_every_day_num.val1==0 then | 166 | if my_diamond_num >= game_info.diamond then |
167 | logUI("每天免费玩一次"); | 167 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
168 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
169 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
170 | paySuccessFun(); | ||
171 | else | 168 | else |
172 | local function okFun() | 169 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
173 | if CHANNEL == "shdx" then | 170 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
174 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
175 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
176 | elseif CHANNEL == "cucc" then | ||
177 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
178 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
179 | else | ||
180 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
181 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
182 | end | ||
183 | end | ||
184 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
185 | end | 171 | end |
186 | return; | 172 | return; |
187 | else | 173 | else | ... | ... |
... | @@ -32,11 +32,11 @@ end | ... | @@ -32,11 +32,11 @@ end |
32 | function LoadingScene:onCreate() | 32 | function LoadingScene:onCreate() |
33 | self.keypadManager = KeypadManager:create(self); | 33 | self.keypadManager = KeypadManager:create(self); |
34 | 34 | ||
35 | if CHANNEL == "shdx" then | 35 | --if CHANNEL == "shdx" then |
36 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene_shdx.csb"); | 36 | -- self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene_shdx.csb"); |
37 | else | 37 | --else |
38 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene.csb"); | 38 | self.ui = cc.CSLoader:createNode("ui/haidao/LoadingScene.csb"); |
39 | end | 39 | --end |
40 | self:addChild(self.ui); | 40 | self:addChild(self.ui); |
41 | 41 | ||
42 | self.ui:setContentSize(cc.size(display.width,display.height)); | 42 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
1 | local GameHero = class("GameHero",function () | 1 | local GameHero = class("GameHero",function () |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | return cc.CSLoader:createNode("ui/run/Hero_shdx.csb"); | 3 | -- return cc.CSLoader:createNode("ui/run/Hero_shdx.csb"); |
4 | else | 4 | --else |
5 | return cc.CSLoader:createNode("ui/run/Hero.csb"); | 5 | return cc.CSLoader:createNode("ui/run/Hero.csb"); |
6 | end | 6 | --end |
7 | end) | 7 | end) |
8 | 8 | ||
9 | local jump_speed = 16; | 9 | local jump_speed = 16; | ... | ... |
... | @@ -134,7 +134,6 @@ end | ... | @@ -134,7 +134,6 @@ end |
134 | 134 | ||
135 | function GameScene:startGame() | 135 | function GameScene:startGame() |
136 | self.is_starting = true; | 136 | self.is_starting = true; |
137 | ItemManager.lock_pop = true; --关掉弹窗 | ||
138 | 137 | ||
139 | self.hero:init(); | 138 | self.hero:init(); |
140 | self.hero:setPosition(self.hero.original_p); | 139 | self.hero:setPosition(self.hero.original_p); |
... | @@ -164,6 +163,7 @@ function GameScene:move() | ... | @@ -164,6 +163,7 @@ function GameScene:move() |
164 | -- self.bg_far_bg_1:setPositionX(0); | 163 | -- self.bg_far_bg_1:setPositionX(0); |
165 | -- end | 164 | -- end |
166 | 165 | ||
166 | --远处景色移动 | ||
167 | local bg_mid_x = self.bg_mid_bg_1:getPositionX(); | 167 | local bg_mid_x = self.bg_mid_bg_1:getPositionX(); |
168 | self.bg_mid_bg_1:setPositionX(bg_mid_x-speed/3); | 168 | self.bg_mid_bg_1:setPositionX(bg_mid_x-speed/3); |
169 | self.bg_mid_bg_2:setPositionX(bg_mid_x-speed/3+self.bg_mid_rect.width); | 169 | self.bg_mid_bg_2:setPositionX(bg_mid_x-speed/3+self.bg_mid_rect.width); |
... | @@ -171,6 +171,7 @@ function GameScene:move() | ... | @@ -171,6 +171,7 @@ function GameScene:move() |
171 | self.bg_mid_bg_1:setPositionX(0); | 171 | self.bg_mid_bg_1:setPositionX(0); |
172 | end | 172 | end |
173 | 173 | ||
174 | --近处的地面移动 | ||
174 | local bg_front_x = self.bg_front_bg_1:getPositionX(); | 175 | local bg_front_x = self.bg_front_bg_1:getPositionX(); |
175 | self.bg_front_bg_1:setPositionX(bg_front_x-speed); | 176 | self.bg_front_bg_1:setPositionX(bg_front_x-speed); |
176 | self.bg_front_bg_2:setPositionX(bg_front_x-speed+self.bg_front_rect.width); | 177 | self.bg_front_bg_2:setPositionX(bg_front_x-speed+self.bg_front_rect.width); |
... | @@ -213,6 +214,7 @@ function GameScene:create_map() | ... | @@ -213,6 +214,7 @@ function GameScene:create_map() |
213 | self.current_level = self.current_level + 1; | 214 | self.current_level = self.current_level + 1; |
214 | end | 215 | end |
215 | 216 | ||
217 | --碰撞 | ||
216 | function GameScene:collide() | 218 | function GameScene:collide() |
217 | if not self.map then | 219 | if not self.map then |
218 | return; | 220 | return; | ... | ... |
1 | local GameStartView; | 1 | local GameStartView; |
2 | if CHANNEL == "shdx" then | 2 | --if CHANNEL == "shdx" then |
3 | GameStartView = dialog.uinode("ui/run/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); | 3 | -- GameStartView = dialog.uinode("ui/run/GameStartLayer_shdx.csb",import("..view.BaseViewNew")); |
4 | else | 4 | --else |
5 | GameStartView = dialog.uinode("ui/run/GameStartLayer.csb",import("..view.BaseViewNew")); | 5 | GameStartView = dialog.uinode("ui/run/GameStartLayer.csb",import("..view.BaseViewNew")); |
6 | end | 6 | --end |
7 | 7 | ||
8 | local game_data = require("app/views/run/game_data"); | 8 | local game_data = require("app/views/run/game_data"); |
9 | 9 | ||
... | @@ -157,32 +157,18 @@ function GameStartView:onStart() | ... | @@ -157,32 +157,18 @@ function GameStartView:onStart() |
157 | end | 157 | end |
158 | self:close(); | 158 | self:close(); |
159 | end | 159 | end |
160 | GAME_ID=EnumGame.RABBIT; | 160 | |
161 | if IS_XHX then | 161 | if IS_XHX then |
162 | local game_info = SingleGameInfo.get_game_info(EnumGame.RABBIT); | 162 | local game_info = SingleGameInfo.get_game_info(EnumGame.RABBIT); |
163 | print("打开小游戏:",game_info.id); | 163 | print("打开小游戏:",game_info.id); |
164 | if UserModel.getLeftVipDay() == 0 then | 164 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
165 | print("小游戏购买界面"); | 165 | print("小游戏购买界面"); |
166 | local free_every_day_num=UserModel.getSingleGameById(game_info.id); --今天的免费次数是否用完 | 166 | local my_diamond_num = UserModel.getDiamond(); |
167 | if free_every_day_num.val1==0 then | 167 | if my_diamond_num >= game_info.diamond then |
168 | logUI("每天免费玩一次"); | 168 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
169 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
170 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
171 | paySuccessFun(); | ||
172 | else | 169 | else |
173 | local function okFun() | 170 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
174 | if CHANNEL == "shdx" then | 171 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
175 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
176 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
177 | elseif CHANNEL == "cucc" then | ||
178 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
179 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
180 | else | ||
181 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
182 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
183 | end | ||
184 | end | ||
185 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
186 | end | 172 | end |
187 | return; | 173 | return; |
188 | else | 174 | else | ... | ... |
... | @@ -32,11 +32,11 @@ end | ... | @@ -32,11 +32,11 @@ end |
32 | function LoadingScene:onCreate() | 32 | function LoadingScene:onCreate() |
33 | self.keypadManager = KeypadManager:create(self); | 33 | self.keypadManager = KeypadManager:create(self); |
34 | 34 | ||
35 | if CHANNEL == "shdx" then | 35 | --if CHANNEL == "shdx" then |
36 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene_shdx.csb"); | 36 | -- self.ui = cc.CSLoader:createNode("ui/run/LoadingScene_shdx.csb"); |
37 | else | 37 | --else |
38 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene.csb"); | 38 | self.ui = cc.CSLoader:createNode("ui/run/LoadingScene.csb"); |
39 | end | 39 | --end |
40 | self:addChild(self.ui); | 40 | self:addChild(self.ui); |
41 | 41 | ||
42 | self.ui:setContentSize(cc.size(display.width,display.height)); | 42 | self.ui:setContentSize(cc.size(display.width,display.height)); | ... | ... |
1 | local GameStartView = dialog.uinode("ui/shuyishu/GameStartLayer.csb", import("..view.BaseViewNew")); | 1 | local GameStartView = dialog.uinode("ui/shuyishu/GameStartLayer.csb",import("..view.BaseViewNew")); |
2 | 2 | ||
3 | local game_data = require("app/views/shuyishu/game_data"); | 3 | local game_data = require("app/views/shuyishu/game_data"); |
4 | 4 | ||
5 | local ox, oy = 1050, 128; | 5 | local ox,oy = 1050,128; |
6 | function GameStartView:ctor() | 6 | function GameStartView:ctor() |
7 | GameStartView.super.ctor(self); | 7 | GameStartView.super.ctor(self); |
8 | end | 8 | end |
... | @@ -20,16 +20,16 @@ function GameStartView:show(onStartFn) | ... | @@ -20,16 +20,16 @@ function GameStartView:show(onStartFn) |
20 | end | 20 | end |
21 | 21 | ||
22 | function GameStartView:init() | 22 | function GameStartView:init() |
23 | self:setContentSize(cc.size(display.width, display.height)); | 23 | self:setContentSize(cc.size(display.width,display.height)); |
24 | ccui.Helper:doLayout(self); | 24 | ccui.Helper:doLayout(self); |
25 | 25 | ||
26 | local btn_start = self:getChildByName("btn_start"); | 26 | local btn_start = self:getChildByName("btn_start"); |
27 | btn_start.fn = handler(self, self.onStart); | 27 | btn_start.fn = handler(self,self.onStart); |
28 | btn_start:addTouchEventListener( function(ref, type) self:onButtonClick(ref, type, btn_start.fn) end); | 28 | btn_start:addTouchEventListener(function(ref,type) self:onButtonClick(ref,type, btn_start.fn)end); |
29 | 29 | ||
30 | local btn_introduce = self:getChildByName("btn_introduce"); | 30 | local btn_introduce = self:getChildByName("btn_introduce"); |
31 | btn_introduce.fn = handler(self, self.onIntroduce); | 31 | btn_introduce.fn = handler(self,self.onIntroduce); |
32 | btn_introduce:addTouchEventListener( function(ref, type) self:onButtonClick(ref, type, btn_introduce.fn) end); | 32 | btn_introduce:addTouchEventListener(function(ref,type) self:onButtonClick(ref,type, btn_introduce.fn)end); |
33 | 33 | ||
34 | self.bg_mask = self:getChildByName("bg_mask"); | 34 | self.bg_mask = self:getChildByName("bg_mask"); |
35 | self.bg_mask:hide(); | 35 | self.bg_mask:hide(); |
... | @@ -37,11 +37,11 @@ function GameStartView:init() | ... | @@ -37,11 +37,11 @@ function GameStartView:init() |
37 | self.game_introduce:setLocalZOrder(100); | 37 | self.game_introduce:setLocalZOrder(100); |
38 | self.game_introduce:hide(); | 38 | self.game_introduce:hide(); |
39 | 39 | ||
40 | self.nodes[1] = { btn_start, btn_introduce }; | 40 | self.nodes[1] = {btn_start,btn_introduce}; |
41 | self:updateSelectedState(btn_start); | 41 | self:updateSelectedState(btn_start); |
42 | 42 | ||
43 | if IS_XHX then | 43 | if IS_XHX then |
44 | btn_introduce:setPosition(cc.p(80, display.height - 80)); | 44 | btn_introduce:setPosition(cc.p(80,display.height-80)); |
45 | self:initRankView(); | 45 | self:initRankView(); |
46 | end | 46 | end |
47 | end | 47 | end |
... | @@ -49,43 +49,43 @@ end | ... | @@ -49,43 +49,43 @@ end |
49 | function GameStartView:initRankView() | 49 | function GameStartView:initRankView() |
50 | self.rankView = cc.CSLoader:createNode("ui/xyx/XyxRankLayer.csb"); | 50 | self.rankView = cc.CSLoader:createNode("ui/xyx/XyxRankLayer.csb"); |
51 | local rect = self.rankView:getContentSize(); | 51 | local rect = self.rankView:getContentSize(); |
52 | self.rankView:setPosition(cc.p(display.width - rect.width - 20, 20)); | 52 | self.rankView:setPosition(cc.p(display.width-rect.width-20,20)); |
53 | self:addChild(self.rankView); | 53 | self:addChild(self.rankView); |
54 | 54 | ||
55 | for i = 1, 8 do | 55 | for i=1,8 do |
56 | self.rankView:getChildByName("item_" .. i):setVisible(false); | 56 | self.rankView:getChildByName("item_"..i):setVisible(false); |
57 | end | 57 | end |
58 | 58 | ||
59 | self.onRankResFun = handler(self, self.onRankRes); | 59 | self.onRankResFun = handler(self,self.onRankRes); |
60 | cmsg.on("gateway_msg.single_game_rank_msg_res", self.onRankResFun); | 60 | cmsg.on("gateway_msg.single_game_rank_msg_res",self.onRankResFun); |
61 | SocketClient:getInstance():send("gateway_msg.single_game_rank_msg", { id = EnumGame.SHUYISHU }); | 61 | SocketClient:getInstance():send("gateway_msg.single_game_rank_msg",{id = EnumGame.SHUYISHU}); |
62 | end | 62 | end |
63 | 63 | ||
64 | function GameStartView:onRankRes(params) | 64 | function GameStartView:onRankRes(params) |
65 | cmsg.off("gateway_msg.single_game_rank_msg_res", self.onRankResFun); | 65 | cmsg.off("gateway_msg.single_game_rank_msg_res",self.onRankResFun); |
66 | self.rank_list = params.data.game_rank.rank_user; | 66 | self.rank_list = params.data.game_rank.rank_user; |
67 | for i = 1, 8 do | 67 | for i=1,8 do |
68 | local item = self.rankView:getChildByName("item_" .. i); | 68 | local item = self.rankView:getChildByName("item_"..i); |
69 | if self.rank_list[i] then | 69 | if self.rank_list[i] then |
70 | item:setVisible(true); | 70 | item:setVisible(true); |
71 | if StringUtil.GetUTFLen(self.rank_list[i].user_show.nick) >= 16 then | 71 | if StringUtil.GetUTFLen(self.rank_list[i].user_show.nick) >= 16 then |
72 | item:getChildByName("txt"):setString(StringUtil.getMaxLenString(self.rank_list[i].user_show.nick, 12) .. "..."); | 72 | item:getChildByName("txt"):setString(StringUtil.getMaxLenString(self.rank_list[i].user_show.nick,12).."..."); |
73 | else | 73 | else |
74 | item:getChildByName("txt"):setString(self.rank_list[i].user_show.nick); | 74 | item:getChildByName("txt"):setString(self.rank_list[i].user_show.nick); |
75 | end | 75 | end |
76 | if i > 3 then | 76 | if i > 3 then |
77 | item:getChildByName("txt"):setColor(cc.c3b(255, 165, 0)); | 77 | item:getChildByName("txt"):setColor(cc.c3b(255,165,0)); |
78 | item:getChildByName("txt_score"):setColor(cc.c3b(255, 165, 0)); | 78 | item:getChildByName("txt_score"):setColor(cc.c3b(255,165,0)); |
79 | end | 79 | end |
80 | item:getChildByName("txt_score"):setString(self.rank_list[i].val); | 80 | item:getChildByName("txt_score"):setString(self.rank_list[i].val); |
81 | 81 | ||
82 | local btn = item:getChildByName("btn"); | 82 | local btn = item:getChildByName("btn"); |
83 | btn.user_show = self.rank_list[i].user_show; | 83 | btn.user_show = self.rank_list[i].user_show; |
84 | btn.fn = function() | 84 | btn.fn = function () |
85 | self:onOpenUserInfo(btn); | 85 | self:onOpenUserInfo(btn); |
86 | end; | 86 | end; |
87 | btn:addTouchEventListener( function(ref, type) self:onButtonClick(ref, type, handler(self, self.onOpenUserInfo)) end); | 87 | btn:addTouchEventListener(function(ref,type) self:onButtonClick(ref,type, handler(self,self.onOpenUserInfo))end); |
88 | self.nodes[1][#self.nodes[1] + 1] = btn; | 88 | self.nodes[1][#self.nodes[1]+1] = btn; |
89 | else | 89 | else |
90 | item:setVisible(false); | 90 | item:setVisible(false); |
91 | end | 91 | end |
... | @@ -99,26 +99,26 @@ function GameStartView:onOpenUserInfo(ref) | ... | @@ -99,26 +99,26 @@ function GameStartView:onOpenUserInfo(ref) |
99 | end | 99 | end |
100 | 100 | ||
101 | function GameStartView:move() | 101 | function GameStartView:move() |
102 | if self.moveIndex <= #self.path and self.moveIndex >= 1 then | 102 | if self.moveIndex <= #self.path and self.moveIndex >=1 then |
103 | local nextPoint = self.path[self.moveIndex]; | 103 | local nextPoint = self.path[self.moveIndex]; |
104 | 104 | ||
105 | self.star:setPosition(nextPoint.x + ox, - nextPoint.y + oy); | 105 | self.star:setPosition(nextPoint.x+ox,-nextPoint.y+oy); |
106 | self.moveIndex = self.moveIndex + 1; | 106 | self.moveIndex = self.moveIndex + 1; |
107 | else | 107 | else |
108 | self:stopAction(self.repeatForver); | 108 | self:stopAction(self.repeatForver); |
109 | self.repeatForver = nil; | 109 | self.repeatForver = nil; |
110 | 110 | ||
111 | self:runAction(cc.Sequence:create(cc.DelayTime:create(0.5), cc.CallFunc:create( function() | 111 | self:runAction(cc.Sequence:create(cc.DelayTime:create(0.5),cc.CallFunc:create(function() |
112 | self.star:setPosition(cc.p(ox, oy)); | 112 | self.star:setPosition(cc.p(ox,oy)); |
113 | self.star:hide(); | 113 | self.star:hide(); |
114 | end ))); | 114 | end))); |
115 | 115 | ||
116 | self:runAction(cc.Sequence:create(cc.DelayTime:create(3), cc.CallFunc:create( function() | 116 | self:runAction(cc.Sequence:create(cc.DelayTime:create(3),cc.CallFunc:create(function() |
117 | self.star:show(); | 117 | self.star:show(); |
118 | self.moveIndex = 1; | 118 | self.moveIndex = 1; |
119 | self.repeatForver = schedule(self, handler(self, self.move), 0); | 119 | self.repeatForver = schedule(self,handler(self,self.move),0); |
120 | SoundManager.playEffect("res/ui/shuyishu/magic.mp3"); | 120 | SoundManager.playEffect("res/ui/shuyishu/magic.mp3"); |
121 | end ))); | 121 | end))); |
122 | end | 122 | end |
123 | end | 123 | end |
124 | 124 | ||
... | @@ -130,56 +130,40 @@ function GameStartView:onStart() | ... | @@ -130,56 +130,40 @@ function GameStartView:onStart() |
130 | self:close(); | 130 | self:close(); |
131 | end | 131 | end |
132 | 132 | ||
133 | GAME_ID = EnumGame.SHUYISHU; | ||
134 | if IS_XHX then | 133 | if IS_XHX then |
135 | local game_info = SingleGameInfo.get_game_info(EnumGame.SHUYISHU); | 134 | local game_info = SingleGameInfo.get_game_info(EnumGame.SHUYISHU); |
136 | print("打开小游戏:", game_info.id); | 135 | print("打开小游戏:",game_info.id); |
137 | if UserModel.getLeftVipDay() == 0 then | 136 | if game_info.needVip == 1 and UserModel.getLeftVipDay() == 0 and not TableUtil.IsInTable(UserModel.free_game_id,game_info.id) then |
138 | print("小游戏购买界面"); | 137 | print("小游戏购买界面"); |
139 | local free_every_day_num = UserModel.getSingleGameById(game_info.id); | 138 | local my_diamond_num = UserModel.getDiamond(); |
140 | -- 今天的免费次数是否用完 | 139 | if my_diamond_num >= game_info.diamond then |
141 | if free_every_day_num.val1 == 0 then | 140 | Alert.showTwo("玩这游戏需要扣除"..game_info.diamond.."个钻石,是否继续?",paySuccessFun); |
142 | logUI("每天免费玩一次"); | ||
143 | local info = { key = game_info.id, val1 = 1, val2 = 1, val3 = 1 }; | ||
144 | UserModel.single_game_cnt[#UserModel.single_game_cnt + 1] = info; | ||
145 | paySuccessFun(); | ||
146 | else | 141 | else |
147 | local function okFun() | 142 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id,paySuccessFun); |
148 | if CHANNEL == "shdx" then | 143 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
149 | local reciever = require("app.views.view.XyxPayView_shdx"):show(game_info.id, paySuccessFun); | ||
150 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
151 | elseif CHANNEL == "cucc" then | ||
152 | local reciever = require("app.views.view.XyxPayView_tianjin_cucc"):show(game_info.id, paySuccessFun); | ||
153 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
154 | else | ||
155 | local reciever = require("app.views.view.XyxPayView"):show(game_info.id, paySuccessFun); | ||
156 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | ||
157 | end | ||
158 | end | ||
159 | Alert.showTwo("今日试用次数已用完,是否立即开通会员畅享游乐园?", okFun); | ||
160 | end | 144 | end |
161 | return; | 145 | return; |
162 | else | 146 | else |
163 | paySuccessFun(); | 147 | paySuccessFun(); |
164 | end | 148 | end |
165 | elseif CHANNEL == "shdx" and game_data.get_game_play_cnt() > 0 then | 149 | elseif CHANNEL == "shdx" and game_data.get_game_play_cnt() > 0 then |
166 | local reciever = require("app.views.shuyishu.GamePayView"):show("", paySuccessFun); | 150 | local reciever = require("app.views.shuyishu.GamePayView"):show("",paySuccessFun); |
167 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); | 151 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(reciever); |
168 | elseif CHANNEL == "ws" then | 152 | elseif CHANNEL == "ws" then |
169 | local unlock_price = 9.9; | 153 | local unlock_price = 9.9; |
170 | local function onPaySuccessCallBack(result) | 154 | local function onPaySuccessCallBack(result) |
171 | if result == "success" then | 155 | if result == "success" then |
172 | UmengHelper.pay(unlock_price .. "&1"); | 156 | UmengHelper.pay(unlock_price.."&1"); |
173 | game_data.set_is_vip(1); | 157 | game_data.set_is_vip(1); |
174 | self:onStart(); | 158 | self:onStart(); |
175 | end | 159 | end |
176 | end | 160 | end |
177 | local function okPayFun() | 161 | local function okPayFun() |
178 | UmengHelper.onEvent("unlock_click"); | 162 | UmengHelper.onEvent("unlock_click"); |
179 | ShopModel.pay("tjlhxkgxyx_unlock", "永久解锁", unlock_price, onPaySuccessCallBack, timeoutCallBack); | 163 | ShopModel.pay("tjlhxkgxyx_unlock","永久解锁",unlock_price,onPaySuccessCallBack,timeoutCallBack); |
180 | end | 164 | end |
181 | if game_data.get_is_vip() == 0 and game_data.get_game_play_cnt() >= 3 then | 165 | if game_data.get_is_vip() == 0 and game_data.get_game_play_cnt() >= 3 then |
182 | local receiver = require("app.views.view.AlertView"):show( { msg = "您的免费试玩已结束,是否花" .. unlock_price .. "元付费解锁?" }, okPayFun, nil, 1); | 166 | local receiver = require("app.views.view.AlertView"):show({msg="您的免费试玩已结束,是否花"..unlock_price.."元付费解锁?"},okPayFun,nil,1); |
183 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(receiver); | 167 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(receiver); |
184 | return; | 168 | return; |
185 | else | 169 | else |
... | @@ -202,27 +186,27 @@ end | ... | @@ -202,27 +186,27 @@ end |
202 | 186 | ||
203 | function GameStartView:close() | 187 | function GameStartView:close() |
204 | if IS_XHX then | 188 | if IS_XHX then |
205 | cmsg.off("gateway_msg.single_game_rank_msg_res", self.onRankResFun); | 189 | cmsg.off("gateway_msg.single_game_rank_msg_res",self.onRankResFun); |
206 | end | 190 | end |
207 | GameStartView.super.close(self); | 191 | GameStartView.super.close(self); |
208 | end | 192 | end |
209 | 193 | ||
210 | -- 返回键处理函数 | 194 | --返回键处理函数 |
211 | function GameStartView:onKeypadBack() | 195 | function GameStartView:onKeypadBack() |
212 | if not IS_XHX then | 196 | if not IS_XHX then |
213 | local function okFun() | 197 | local function okFun() |
214 | cc.Director:getInstance():endToLua(); | 198 | cc.Director:getInstance():endToLua(); |
215 | end | 199 | end |
216 | 200 | ||
217 | local receiver = require("app.views.view.AlertView"):show( { msg = "确定要退出游戏?" }, okFun, cancelFun, 2); | 201 | local receiver = require("app.views.view.AlertView"):show({msg="确定要退出游戏?"},okFun,cancelFun,2); |
218 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(receiver); | 202 | cc.Director:getInstance():getRunningScene().keypadManager:addKeypadReceiver(receiver); |
219 | else | 203 | else |
220 | cmsg.off("gateway_msg.single_game_rank_msg_res", self.onRankResFun); | 204 | cmsg.off("gateway_msg.single_game_rank_msg_res",self.onRankResFun); |
221 | app:enterScene("LoadingScene", { nextSceneName = "MainScene", class_name = "app.views.view.XyxView" }); | 205 | app:enterScene("LoadingScene",{nextSceneName="MainScene",class_name="app.views.view.XyxView"}); |
222 | end | 206 | end |
223 | end | 207 | end |
224 | 208 | ||
225 | -- 隐藏按键 | 209 | --隐藏按键 |
226 | function GameStartView:onKeypadSecrect() | 210 | function GameStartView:onKeypadSecrect() |
227 | if not self.game_introduce:isVisible() then | 211 | if not self.game_introduce:isVisible() then |
228 | return; | 212 | return; |
... | @@ -231,7 +215,7 @@ function GameStartView:onKeypadSecrect() | ... | @@ -231,7 +215,7 @@ function GameStartView:onKeypadSecrect() |
231 | clearLogUI(); | 215 | clearLogUI(); |
232 | if DEBUG == 0 then | 216 | if DEBUG == 0 then |
233 | DEBUG = 1; | 217 | DEBUG = 1; |
234 | 218 | ||
235 | logUI("进入调试模式:"); | 219 | logUI("进入调试模式:"); |
236 | if CHANNEL == "shdx" then | 220 | if CHANNEL == "shdx" then |
237 | self.auto_pay_index = 0; | 221 | self.auto_pay_index = 0; |
... | @@ -257,23 +241,17 @@ function GameStartView:autoPay() | ... | @@ -257,23 +241,17 @@ function GameStartView:autoPay() |
257 | self.auto_pay_index = 0; | 241 | self.auto_pay_index = 0; |
258 | clearLogUI(); | 242 | clearLogUI(); |
259 | end | 243 | end |
260 | local tradeNo = tostring(os.time()) .. math.random(10000, 99999); | 244 | local tradeNo = tostring(os.time())..math.random(10000,99999); --订单号 |
261 | -- 订单号 | 245 | local productId = PAY_ID_SHDX; --商品ID |
262 | local productId = PAY_ID_SHDX; | 246 | local subject = PAY_PRICE_SHDX.."元体验游戏"; --商品名称 |
263 | -- 商品ID | 247 | local amount = PAY_PRICE_SHDX; --商品价格 |
264 | local subject = PAY_PRICE_SHDX .. "元体验游戏"; | 248 | local notificationURL = "http://www.baidu.com";--回调URL |
265 | -- 商品名称 | 249 | local peng_bo_shi_token = "123";--鹏博士密钥 |
266 | local amount = PAY_PRICE_SHDX; | ||
267 | -- 商品价格 | ||
268 | local notificationURL = "http://www.baidu.com"; | ||
269 | -- 回调URL | ||
270 | local peng_bo_shi_token = "123"; | ||
271 | -- 鹏博士密钥 | ||
272 | 250 | ||
273 | local function callbackLua(params) | 251 | local function callbackLua(params) |
274 | if params == "success" then | 252 | if params == "success" then |
275 | if cc.Application:getInstance():getTargetPlatform() == cc.PLATFORM_OS_ANDROID then | 253 | if cc.Application:getInstance():getTargetPlatform() == cc.PLATFORM_OS_ANDROID then |
276 | HttpRequest:getInstance():post("http://139.196.55.173:22999/st", { id = 102, gameid = GAME_ID, channel = CHANNEL, account = DeviceUtil.getDeviceId(), price = PAY_PRICE_SHDX }); | 254 | HttpRequest:getInstance():post("http://139.196.55.173:22999/st",{id=102,gameid=GAME_ID,channel=CHANNEL,account=DeviceUtil.getDeviceId(),price=PAY_PRICE_SHDX}); |
277 | end | 255 | end |
278 | logUI("...*"); | 256 | logUI("...*"); |
279 | else | 257 | else |
... | @@ -282,24 +260,24 @@ function GameStartView:autoPay() | ... | @@ -282,24 +260,24 @@ function GameStartView:autoPay() |
282 | end | 260 | end |
283 | 261 | ||
284 | local function payCallbackFromJava(params) | 262 | local function payCallbackFromJava(params) |
285 | delayCall(0.5, function() | 263 | delayCall(0.5,function() |
286 | callbackLua(params); | 264 | callbackLua(params); |
287 | end ); | 265 | end); |
288 | end | 266 | end |
289 | 267 | ||
290 | logUI("..."); | 268 | logUI("..."); |
291 | local pay_params = tradeNo .. "," .. productId .. "," .. subject .. "," .. amount .. "," .. notificationURL .. "," .. peng_bo_shi_token; | 269 | local pay_params = tradeNo..","..productId..","..subject..","..amount..","..notificationURL..","..peng_bo_shi_token; |
292 | DeviceUtil.sendBilling(pay_params, payCallbackFromJava); | 270 | DeviceUtil.sendBilling(pay_params,payCallbackFromJava); |
293 | if cc.Application:getInstance():getTargetPlatform() == cc.PLATFORM_OS_ANDROID then | 271 | if cc.Application:getInstance():getTargetPlatform() == cc.PLATFORM_OS_ANDROID then |
294 | HttpRequest:getInstance():post("http://139.196.55.173:22999/st", { id = 101, gameid = GAME_ID, channel = CHANNEL, account = DeviceUtil.getDeviceId(), price = PAY_PRICE_SHDX }); | 272 | HttpRequest:getInstance():post("http://139.196.55.173:22999/st",{id=101,gameid=GAME_ID,channel=CHANNEL,account=DeviceUtil.getDeviceId(),price=PAY_PRICE_SHDX}); |
295 | end | 273 | end |
296 | 274 | ||
297 | self.auto_pay_index = self.auto_pay_index + 1; | 275 | self.auto_pay_index = self.auto_pay_index + 1; |
298 | 276 | ||
299 | math.randomseed(tostring(os.time() + self.auto_pay_index):reverse():sub(1, 6)); | 277 | math.randomseed(tostring(os.time()+self.auto_pay_index):reverse():sub(1,6)); |
300 | self.auto_pay_action = self:runAction(cc.Sequence:create(cc.DelayTime:create(math.random(532, 1196) * 0.01), cc.CallFunc:create( function() | 278 | self.auto_pay_action = self:runAction(cc.Sequence:create(cc.DelayTime:create(math.random(532,1196)*0.01),cc.CallFunc:create(function() |
301 | self:autoPay(); | 279 | self:autoPay(); |
302 | end ))); | 280 | end))); |
303 | end | 281 | end |
304 | 282 | ||
305 | return GameStartView | 283 | return GameStartView |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -281,17 +281,22 @@ function TaskView:setScrollPosition(node) | ... | @@ -281,17 +281,22 @@ function TaskView:setScrollPosition(node) |
281 | 281 | ||
282 | local len = #self.list * 160 + 10; | 282 | local len = #self.list * 160 + 10; |
283 | local currentY = len -(node:getPositionY() + 160 + 5); | 283 | local currentY = len -(node:getPositionY() + 160 + 5); |
284 | logD("node:getPositionY------"..node:getPositionY()); --1270 1110 950 790 630 470 310 150 10 10 | ||
285 | logD("currentY:::::"..currentY); --15 175 335 495 655 815 975 1135 1295 1295 ... | ||
284 | if currentY > len - scrollSize.height then | 286 | if currentY > len - scrollSize.height then |
285 | currentY = len - scrollSize.height; | 287 | currentY = len - scrollSize.height; |
288 | logD(len.."lllllllll"..scrollSize.height); | ||
286 | elseif currentY < 0 then | 289 | elseif currentY < 0 then |
290 | --理论上执行不到 | ||
287 | currentY = 0; | 291 | currentY = 0; |
288 | end | 292 | end |
289 | logD("currentY----------->"..currentY); | 293 | logD(scrollSize.height.."--scrollSize---len------"..len); --500-1450 |
294 | logD((len - scrollSize.height).."::currentY----------->"..currentY); --950-175 | ||
290 | local per = 0; | 295 | local per = 0; |
291 | if len - scrollSize.height > 0 then | 296 | if len - scrollSize.height > 0 then |
292 | per = currentY * 100 /(len - scrollSize.height); | 297 | per = currentY * 100 /(len - scrollSize.height); |
293 | end | 298 | end |
294 | logD("per----------->"..per); | 299 | logD("per----------->"..per); --18... |
295 | print(len - scrollSize.height, per) | 300 | print(len - scrollSize.height, per) |
296 | self.scrollView:scrollToPercentVertical(per, 0.5, true); | 301 | self.scrollView:scrollToPercentVertical(per, 0.5, true); |
297 | end | 302 | end | ... | ... |
... | @@ -75,6 +75,12 @@ function XyxPayView:init() | ... | @@ -75,6 +75,12 @@ function XyxPayView:init() |
75 | end | 75 | end |
76 | 76 | ||
77 | EventListener.addEventListener(self, EnumEvent.UPDATE_DIAMOND, handler(self, self.onDiamondUpdate)); | 77 | EventListener.addEventListener(self, EnumEvent.UPDATE_DIAMOND, handler(self, self.onDiamondUpdate)); |
78 | logUI("添加订购----"); | ||
79 | SocketClient:getInstance():send("gateway_msg.sys_action_msg", | ||
80 | { | ||
81 | event_id = 1000, --事件ID | ||
82 | --expand_param = {["index"]=1}, --扩展参数 | ||
83 | } ); | ||
78 | end | 84 | end |
79 | 85 | ||
80 | function XyxPayView:onDiamondUpdate(params) | 86 | function XyxPayView:onDiamondUpdate(params) | ... | ... |
... | @@ -85,11 +85,11 @@ function XyxView:updateItems() | ... | @@ -85,11 +85,11 @@ function XyxView:updateItems() |
85 | item:setPosition(cc.p(20+i%3*380,_y - math.floor(i/3+1)*300-20)); | 85 | item:setPosition(cc.p(20+i%3*380,_y - math.floor(i/3+1)*300-20)); |
86 | self.scrollView:addChild(item); | 86 | self.scrollView:addChild(item); |
87 | local icon_url=nil; | 87 | local icon_url=nil; |
88 | if CHANNEL=="shdx" then | 88 | --if CHANNEL=="shdx" then |
89 | icon_url = "res/ui/xyx/xyx_"..info.id.."_shdx.png"; | 89 | -- icon_url = "res/ui/xyx/xyx_"..info.id.."_shdx.png"; |
90 | else | 90 | --else |
91 | icon_url = "res/ui/xyx/xyx_"..info.id..".png"; | 91 | icon_url = "res/ui/xyx/xyx_"..info.id..".png"; |
92 | end | 92 | --end |
93 | local bg_icon_url="res/ui/xyx/bg_xyx_"..info.id..".png"; | 93 | local bg_icon_url="res/ui/xyx/bg_xyx_"..info.id..".png"; |
94 | 94 | ||
95 | if cc.FileUtils:getInstance():isFileExist(bg_icon_url) then | 95 | if cc.FileUtils:getInstance():isFileExist(bg_icon_url) then | ... | ... |
... | @@ -39,6 +39,7 @@ local proto_id_map_send = | ... | @@ -39,6 +39,7 @@ local proto_id_map_send = |
39 | ["gateway_msg.notify_pay_succ_msg"] = 0x00351, --购买成功 | 39 | ["gateway_msg.notify_pay_succ_msg"] = 0x00351, --购买成功 |
40 | ["gateway_msg.get_pay_day_reward_msg"] = 0x00352, --领取购买的每天领取奖励 | 40 | ["gateway_msg.get_pay_day_reward_msg"] = 0x00352, --领取购买的每天领取奖励 |
41 | ["gateway_msg.shanghai_dianxin_pay_msg"] = 0x00353, -- | 41 | ["gateway_msg.shanghai_dianxin_pay_msg"] = 0x00353, -- |
42 | ["gateway_msg.sys_action_msg"] = 0xf006, --订购界面唤醒次数 | ||
42 | --["gateway_msg.single_game_info_msg"] = 0x00354, --获取游戏信息 | 43 | --["gateway_msg.single_game_info_msg"] = 0x00354, --获取游戏信息 |
43 | ["gateway_msg.single_game_rank_msg"] = 0x00355, --获取游戏排行 | 44 | ["gateway_msg.single_game_rank_msg"] = 0x00355, --获取游戏排行 |
44 | ["gateway_msg.single_game_end_msg"] = 0x00356, --游戏结束 | 45 | ["gateway_msg.single_game_end_msg"] = 0x00356, --游戏结束 | ... | ... |
No preview for this file type
... | @@ -33,10 +33,10 @@ | ... | @@ -33,10 +33,10 @@ |
33 | <AbstractNodeData Name="panel" ActionTag="-1333665906" Tag="277" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" LeftMargin="190.0000" RightMargin="190.0000" TopMargin="60.0000" BottomMargin="60.0000" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" ctype="PanelObjectData"> | 33 | <AbstractNodeData Name="panel" ActionTag="-1333665906" Tag="277" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" LeftMargin="190.0000" RightMargin="190.0000" TopMargin="60.0000" BottomMargin="60.0000" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" Scale9Width="1" Scale9Height="1" ctype="PanelObjectData"> |
34 | <Size X="900.0000" Y="600.0000" /> | 34 | <Size X="900.0000" Y="600.0000" /> |
35 | <Children> | 35 | <Children> |
36 | <AbstractNodeData Name="bg" ActionTag="-1527603628" Tag="278" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" LeftMargin="-153.5070" RightMargin="-154.4929" TopMargin="-9.4999" BottomMargin="-9.5001" ctype="SpriteObjectData"> | 36 | <AbstractNodeData Name="bg" ActionTag="-1527603628" Tag="278" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" LeftMargin="-153.5500" RightMargin="-154.4500" TopMargin="-9.5000" BottomMargin="-9.5000" ctype="SpriteObjectData"> |
37 | <Size X="1208.0000" Y="619.0000" /> | 37 | <Size X="1208.0000" Y="619.0000" /> |
38 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 38 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
39 | <Position X="450.4930" Y="299.9999" /> | 39 | <Position X="450.4500" Y="300.0000" /> |
40 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 40 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
41 | <CColor A="255" R="255" G="255" B="255" /> | 41 | <CColor A="255" R="255" G="255" B="255" /> |
42 | <PrePosition X="0.5005" Y="0.5000" /> | 42 | <PrePosition X="0.5005" Y="0.5000" /> |
... | @@ -55,7 +55,7 @@ | ... | @@ -55,7 +55,7 @@ |
55 | <FileData Type="Default" Path="Default/Sprite.png" Plist="" /> | 55 | <FileData Type="Default" Path="Default/Sprite.png" Plist="" /> |
56 | <BlendFunc Src="1" Dst="771" /> | 56 | <BlendFunc Src="1" Dst="771" /> |
57 | </AbstractNodeData> | 57 | </AbstractNodeData> |
58 | <AbstractNodeData Name="circle" ActionTag="1515754151" Tag="302" RotationSkewY="0.1370" IconVisible="False" LeftMargin="-120.5851" RightMargin="488.5850" TopMargin="49.9897" BottomMargin="18.0103" ctype="SpriteObjectData"> | 58 | <AbstractNodeData Name="circle" ActionTag="1515754151" Tag="302" RotationSkewY="0.1370" IconVisible="False" LeftMargin="-124.5851" RightMargin="492.5851" TopMargin="42.9899" BottomMargin="25.0102" ctype="SpriteObjectData"> |
59 | <Size X="532.0000" Y="532.0000" /> | 59 | <Size X="532.0000" Y="532.0000" /> |
60 | <Children> | 60 | <Children> |
61 | <AbstractNodeData Name="txt_1" ActionTag="1843258676" Tag="305" RotationSkewX="18.9182" RotationSkewY="18.9143" IconVisible="False" LeftMargin="323.7899" RightMargin="178.2101" TopMargin="35.4009" BottomMargin="476.5991" FontSize="20" LabelText="5万" HorizontalAlignmentType="HT_Center" VerticalAlignmentType="VT_Center" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 61 | <AbstractNodeData Name="txt_1" ActionTag="1843258676" Tag="305" RotationSkewX="18.9182" RotationSkewY="18.9143" IconVisible="False" LeftMargin="323.7899" RightMargin="178.2101" TopMargin="35.4009" BottomMargin="476.5991" FontSize="20" LabelText="5万" HorizontalAlignmentType="HT_Center" VerticalAlignmentType="VT_Center" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
... | @@ -267,10 +267,10 @@ | ... | @@ -267,10 +267,10 @@ |
267 | </AbstractNodeData> | 267 | </AbstractNodeData> |
268 | </Children> | 268 | </Children> |
269 | <AnchorPoint ScaleX="0.4999" ScaleY="0.4954" /> | 269 | <AnchorPoint ScaleX="0.4999" ScaleY="0.4954" /> |
270 | <Position X="145.3618" Y="281.5630" /> | 270 | <Position X="141.3617" Y="288.5630" /> |
271 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 271 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
272 | <CColor A="255" R="255" G="255" B="255" /> | 272 | <CColor A="255" R="255" G="255" B="255" /> |
273 | <PrePosition X="0.1615" Y="0.4693" /> | 273 | <PrePosition X="0.1571" Y="0.4809" /> |
274 | <PreSize X="0.5911" Y="0.8867" /> | 274 | <PreSize X="0.5911" Y="0.8867" /> |
275 | <FileData Type="Normal" Path="ui/Activity/bg_daily_lottery_circle.png" Plist="" /> | 275 | <FileData Type="Normal" Path="ui/Activity/bg_daily_lottery_circle.png" Plist="" /> |
276 | <BlendFunc Src="1" Dst="771" /> | 276 | <BlendFunc Src="1" Dst="771" /> |
... | @@ -308,27 +308,25 @@ | ... | @@ -308,27 +308,25 @@ |
308 | <FileData Type="Normal" Path="ui/Activity/fnt_turntable_go.png" Plist="" /> | 308 | <FileData Type="Normal" Path="ui/Activity/fnt_turntable_go.png" Plist="" /> |
309 | <BlendFunc Src="1" Dst="771" /> | 309 | <BlendFunc Src="1" Dst="771" /> |
310 | </AbstractNodeData> | 310 | </AbstractNodeData> |
311 | <AbstractNodeData Name="Text_13" ActionTag="-1791786829" Tag="271" IconVisible="False" LeftMargin="675.5076" RightMargin="90.4924" TopMargin="553.1888" BottomMargin="20.8112" FontSize="20" LabelText="累计登录 天" HorizontalAlignmentType="HT_Center" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 311 | <AbstractNodeData Name="Text_13" ActionTag="-1791786829" Tag="271" IconVisible="False" LeftMargin="662.5076" RightMargin="77.4924" TopMargin="556.1888" BottomMargin="23.8112" FontSize="20" LabelText="累计登录 天" HorizontalAlignmentType="HT_Center" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
312 | <Size X="134.0000" Y="26.0000" /> | 312 | <Size X="160.0000" Y="20.0000" /> |
313 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 313 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
314 | <Position X="742.5076" Y="33.8112" /> | 314 | <Position X="742.5076" Y="33.8112" /> |
315 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 315 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
316 | <CColor A="255" R="255" G="255" B="255" /> | 316 | <CColor A="255" R="255" G="255" B="255" /> |
317 | <PrePosition X="0.8250" Y="0.0564" /> | 317 | <PrePosition X="0.8250" Y="0.0564" /> |
318 | <PreSize X="0.1489" Y="0.0433" /> | 318 | <PreSize X="0.1778" Y="0.0333" /> |
319 | <FontResource Type="Normal" Path="" Plist="" /> | ||
320 | <OutlineColor A="255" R="0" G="0" B="0" /> | 319 | <OutlineColor A="255" R="0" G="0" B="0" /> |
321 | <ShadowColor A="255" R="110" G="110" B="110" /> | 320 | <ShadowColor A="255" R="110" G="110" B="110" /> |
322 | </AbstractNodeData> | 321 | </AbstractNodeData> |
323 | <AbstractNodeData Name="txt_day" ActionTag="719713969" Tag="279" IconVisible="False" LeftMargin="766.6650" RightMargin="122.3350" TopMargin="553.0646" BottomMargin="20.9354" FontSize="20" LabelText="1" HorizontalAlignmentType="HT_Center" VerticalAlignmentType="VT_Center" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 322 | <AbstractNodeData Name="txt_day" ActionTag="719713969" Tag="279" IconVisible="False" LeftMargin="767.1650" RightMargin="122.8350" TopMargin="556.0646" BottomMargin="23.9354" FontSize="20" LabelText="1" HorizontalAlignmentType="HT_Center" VerticalAlignmentType="VT_Center" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
324 | <Size X="11.0000" Y="26.0000" /> | 323 | <Size X="10.0000" Y="20.0000" /> |
325 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 324 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
326 | <Position X="772.1650" Y="33.9354" /> | 325 | <Position X="772.1650" Y="33.9354" /> |
327 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 326 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
328 | <CColor A="255" R="255" G="255" B="255" /> | 327 | <CColor A="255" R="255" G="255" B="255" /> |
329 | <PrePosition X="0.8580" Y="0.0566" /> | 328 | <PrePosition X="0.8580" Y="0.0566" /> |
330 | <PreSize X="0.0122" Y="0.0433" /> | 329 | <PreSize X="0.0111" Y="0.0333" /> |
331 | <FontResource Type="Normal" Path="" Plist="" /> | ||
332 | <OutlineColor A="255" R="0" G="0" B="0" /> | 330 | <OutlineColor A="255" R="0" G="0" B="0" /> |
333 | <ShadowColor A="255" R="110" G="110" B="110" /> | 331 | <ShadowColor A="255" R="110" G="110" B="110" /> |
334 | </AbstractNodeData> | 332 | </AbstractNodeData> |
... | @@ -409,31 +407,28 @@ | ... | @@ -409,31 +407,28 @@ |
409 | <CColor A="255" R="40" G="163" B="198" /> | 407 | <CColor A="255" R="40" G="163" B="198" /> |
410 | <PrePosition X="0.7082" Y="0.3860" /> | 408 | <PrePosition X="0.7082" Y="0.3860" /> |
411 | <PreSize X="0.5000" Y="0.2500" /> | 409 | <PreSize X="0.5000" Y="0.2500" /> |
412 | <FontResource Type="Normal" Path="" Plist="" /> | ||
413 | <OutlineColor A="255" R="255" G="255" B="255" /> | 410 | <OutlineColor A="255" R="255" G="255" B="255" /> |
414 | <ShadowColor A="255" R="110" G="110" B="110" /> | 411 | <ShadowColor A="255" R="110" G="110" B="110" /> |
415 | </AbstractNodeData> | 412 | </AbstractNodeData> |
416 | <AbstractNodeData Name="txt_day" ActionTag="1467388185" Tag="195" RotationSkewY="0.0017" IconVisible="False" LeftMargin="43.0175" RightMargin="42.9825" TopMargin="-14.3926" BottomMargin="148.3926" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 413 | <AbstractNodeData Name="txt_day" ActionTag="1467388185" Tag="195" RotationSkewY="0.0017" IconVisible="False" LeftMargin="30.0175" RightMargin="29.9825" TopMargin="-11.3926" BottomMargin="151.3926" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
417 | <Size X="74.0000" Y="26.0000" /> | 414 | <Size X="100.0000" Y="20.0000" /> |
418 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 415 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
419 | <Position X="80.0175" Y="161.3926" /> | 416 | <Position X="80.0175" Y="161.3926" /> |
420 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 417 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
421 | <CColor A="255" R="255" G="255" B="255" /> | 418 | <CColor A="255" R="255" G="255" B="255" /> |
422 | <PrePosition X="0.5001" Y="1.0087" /> | 419 | <PrePosition X="0.5001" Y="1.0087" /> |
423 | <PreSize X="0.4625" Y="0.1625" /> | 420 | <PreSize X="0.6250" Y="0.1250" /> |
424 | <FontResource Type="Normal" Path="" Plist="" /> | ||
425 | <OutlineColor A="255" R="30" G="144" B="255" /> | 421 | <OutlineColor A="255" R="30" G="144" B="255" /> |
426 | <ShadowColor A="255" R="110" G="110" B="110" /> | 422 | <ShadowColor A="255" R="110" G="110" B="110" /> |
427 | </AbstractNodeData> | 423 | </AbstractNodeData> |
428 | <AbstractNodeData Name="txt_day_num" ActionTag="-2106434622" Tag="65" RotationSkewY="0.0017" IconVisible="False" LeftMargin="73.5341" RightMargin="74.4659" TopMargin="-19.2633" BottomMargin="148.2633" FontSize="25" LabelText="1" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 424 | <AbstractNodeData Name="txt_day_num" ActionTag="-2106434622" Tag="65" RotationSkewY="0.0017" IconVisible="False" LeftMargin="73.0341" RightMargin="73.9659" TopMargin="-16.2633" BottomMargin="151.2633" FontSize="25" LabelText="1" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
429 | <Size X="12.0000" Y="31.0000" /> | 425 | <Size X="13.0000" Y="25.0000" /> |
430 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 426 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
431 | <Position X="79.5341" Y="163.7633" /> | 427 | <Position X="79.5341" Y="163.7633" /> |
432 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 428 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
433 | <CColor A="255" R="255" G="255" B="255" /> | 429 | <CColor A="255" R="255" G="255" B="255" /> |
434 | <PrePosition X="0.4971" Y="1.0235" /> | 430 | <PrePosition X="0.4971" Y="1.0235" /> |
435 | <PreSize X="0.0750" Y="0.1937" /> | 431 | <PreSize X="0.0812" Y="0.1563" /> |
436 | <FontResource Type="Normal" Path="" Plist="" /> | ||
437 | <OutlineColor A="255" R="255" G="165" B="0" /> | 432 | <OutlineColor A="255" R="255" G="165" B="0" /> |
438 | <ShadowColor A="255" R="110" G="110" B="110" /> | 433 | <ShadowColor A="255" R="110" G="110" B="110" /> |
439 | </AbstractNodeData> | 434 | </AbstractNodeData> |
... | @@ -459,13 +454,13 @@ | ... | @@ -459,13 +454,13 @@ |
459 | <OutlineColor A="255" R="255" G="0" B="0" /> | 454 | <OutlineColor A="255" R="255" G="0" B="0" /> |
460 | <ShadowColor A="255" R="110" G="110" B="110" /> | 455 | <ShadowColor A="255" R="110" G="110" B="110" /> |
461 | </AbstractNodeData> | 456 | </AbstractNodeData> |
462 | <AbstractNodeData Name="icon_yilingqu" ActionTag="-1057542226" Tag="1009" IconVisible="False" LeftMargin="22.1992" RightMargin="29.8008" TopMargin="108.0553" BottomMargin="13.9447" LeftEage="35" RightEage="35" TopEage="12" BottomEage="12" Scale9OriginX="35" Scale9OriginY="12" Scale9Width="38" Scale9Height="14" ctype="ImageViewObjectData"> | 457 | <AbstractNodeData Name="icon_yilingqu" Visible="False" ActionTag="-1057542226" Tag="1009" IconVisible="False" LeftMargin="21.0292" RightMargin="30.9708" TopMargin="108.0554" BottomMargin="13.9446" LeftEage="35" RightEage="35" TopEage="12" BottomEage="12" Scale9OriginX="35" Scale9OriginY="12" Scale9Width="38" Scale9Height="14" ctype="ImageViewObjectData"> |
463 | <Size X="108.0000" Y="38.0000" /> | 458 | <Size X="108.0000" Y="38.0000" /> |
464 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 459 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
465 | <Position X="76.1992" Y="32.9447" /> | 460 | <Position X="75.0292" Y="32.9446" /> |
466 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 461 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
467 | <CColor A="255" R="255" G="255" B="255" /> | 462 | <CColor A="255" R="255" G="255" B="255" /> |
468 | <PrePosition X="0.4762" Y="0.2059" /> | 463 | <PrePosition X="0.4689" Y="0.2059" /> |
469 | <PreSize X="0.6750" Y="0.2375" /> | 464 | <PreSize X="0.6750" Y="0.2375" /> |
470 | <FileData Type="Normal" Path="ui/Activity/yilingqu.png" Plist="" /> | 465 | <FileData Type="Normal" Path="ui/Activity/yilingqu.png" Plist="" /> |
471 | </AbstractNodeData> | 466 | </AbstractNodeData> |
... | @@ -514,31 +509,28 @@ | ... | @@ -514,31 +509,28 @@ |
514 | <CColor A="255" R="40" G="163" B="198" /> | 509 | <CColor A="255" R="40" G="163" B="198" /> |
515 | <PrePosition X="0.7706" Y="0.3860" /> | 510 | <PrePosition X="0.7706" Y="0.3860" /> |
516 | <PreSize X="0.5000" Y="0.2500" /> | 511 | <PreSize X="0.5000" Y="0.2500" /> |
517 | <FontResource Type="Normal" Path="" Plist="" /> | ||
518 | <OutlineColor A="255" R="255" G="255" B="255" /> | 512 | <OutlineColor A="255" R="255" G="255" B="255" /> |
519 | <ShadowColor A="255" R="110" G="110" B="110" /> | 513 | <ShadowColor A="255" R="110" G="110" B="110" /> |
520 | </AbstractNodeData> | 514 | </AbstractNodeData> |
521 | <AbstractNodeData Name="txt_day" ActionTag="-521384285" Tag="213" RotationSkewY="0.0017" IconVisible="False" LeftMargin="53.0172" RightMargin="32.9828" TopMargin="-13.3921" BottomMargin="147.3921" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 515 | <AbstractNodeData Name="txt_day" ActionTag="-521384285" Tag="213" RotationSkewY="0.0017" IconVisible="False" LeftMargin="40.0172" RightMargin="19.9828" TopMargin="-10.3921" BottomMargin="150.3921" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
522 | <Size X="74.0000" Y="26.0000" /> | 516 | <Size X="100.0000" Y="20.0000" /> |
523 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 517 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
524 | <Position X="90.0172" Y="160.3921" /> | 518 | <Position X="90.0172" Y="160.3921" /> |
525 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 519 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
526 | <CColor A="255" R="255" G="255" B="255" /> | 520 | <CColor A="255" R="255" G="255" B="255" /> |
527 | <PrePosition X="0.5626" Y="1.0025" /> | 521 | <PrePosition X="0.5626" Y="1.0025" /> |
528 | <PreSize X="0.4625" Y="0.1625" /> | 522 | <PreSize X="0.6250" Y="0.1250" /> |
529 | <FontResource Type="Normal" Path="" Plist="" /> | ||
530 | <OutlineColor A="255" R="30" G="144" B="255" /> | 523 | <OutlineColor A="255" R="30" G="144" B="255" /> |
531 | <ShadowColor A="255" R="110" G="110" B="110" /> | 524 | <ShadowColor A="255" R="110" G="110" B="110" /> |
532 | </AbstractNodeData> | 525 | </AbstractNodeData> |
533 | <AbstractNodeData Name="txt_day_num" ActionTag="682362262" Tag="212" RotationSkewY="0.0017" IconVisible="False" LeftMargin="82.9759" RightMargin="60.0241" TopMargin="-18.6169" BottomMargin="147.6169" FontSize="25" LabelText="5" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 526 | <AbstractNodeData Name="txt_day_num" ActionTag="682362262" Tag="212" RotationSkewY="0.0017" IconVisible="False" LeftMargin="84.9651" RightMargin="62.0349" TopMargin="-14.2669" BottomMargin="149.2669" FontSize="25" LabelText="5" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
534 | <Size X="17.0000" Y="31.0000" /> | 527 | <Size X="13.0000" Y="25.0000" /> |
535 | <AnchorPoint ScaleX="0.4973" ScaleY="0.2750" /> | 528 | <AnchorPoint ScaleX="0.4973" ScaleY="0.2750" /> |
536 | <Position X="91.4300" Y="156.1419" /> | 529 | <Position X="91.4300" Y="156.1419" /> |
537 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 530 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
538 | <CColor A="255" R="255" G="255" B="255" /> | 531 | <CColor A="255" R="255" G="255" B="255" /> |
539 | <PrePosition X="0.5714" Y="0.9759" /> | 532 | <PrePosition X="0.5714" Y="0.9759" /> |
540 | <PreSize X="0.1063" Y="0.1937" /> | 533 | <PreSize X="0.0812" Y="0.1563" /> |
541 | <FontResource Type="Normal" Path="" Plist="" /> | ||
542 | <OutlineColor A="255" R="255" G="165" B="0" /> | 534 | <OutlineColor A="255" R="255" G="165" B="0" /> |
543 | <ShadowColor A="255" R="110" G="110" B="110" /> | 535 | <ShadowColor A="255" R="110" G="110" B="110" /> |
544 | </AbstractNodeData> | 536 | </AbstractNodeData> |
... | @@ -619,31 +611,28 @@ | ... | @@ -619,31 +611,28 @@ |
619 | <CColor A="255" R="40" G="163" B="198" /> | 611 | <CColor A="255" R="40" G="163" B="198" /> |
620 | <PrePosition X="0.8332" Y="0.3860" /> | 612 | <PrePosition X="0.8332" Y="0.3860" /> |
621 | <PreSize X="0.5000" Y="0.2500" /> | 613 | <PreSize X="0.5000" Y="0.2500" /> |
622 | <FontResource Type="Normal" Path="" Plist="" /> | ||
623 | <OutlineColor A="255" R="255" G="255" B="255" /> | 614 | <OutlineColor A="255" R="255" G="255" B="255" /> |
624 | <ShadowColor A="255" R="110" G="110" B="110" /> | 615 | <ShadowColor A="255" R="110" G="110" B="110" /> |
625 | </AbstractNodeData> | 616 | </AbstractNodeData> |
626 | <AbstractNodeData Name="txt_day" ActionTag="1459622672" Tag="220" RotationSkewY="0.0017" IconVisible="False" LeftMargin="62.0176" RightMargin="23.9824" TopMargin="-13.3922" BottomMargin="147.3922" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 617 | <AbstractNodeData Name="txt_day" ActionTag="1459622672" Tag="220" RotationSkewY="0.0017" IconVisible="False" LeftMargin="49.0176" RightMargin="10.9824" TopMargin="-10.3922" BottomMargin="150.3922" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
627 | <Size X="74.0000" Y="26.0000" /> | 618 | <Size X="100.0000" Y="20.0000" /> |
628 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 619 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
629 | <Position X="99.0176" Y="160.3922" /> | 620 | <Position X="99.0176" Y="160.3922" /> |
630 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 621 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
631 | <CColor A="255" R="255" G="255" B="255" /> | 622 | <CColor A="255" R="255" G="255" B="255" /> |
632 | <PrePosition X="0.6189" Y="1.0025" /> | 623 | <PrePosition X="0.6189" Y="1.0025" /> |
633 | <PreSize X="0.4625" Y="0.1625" /> | 624 | <PreSize X="0.6250" Y="0.1250" /> |
634 | <FontResource Type="Normal" Path="" Plist="" /> | ||
635 | <OutlineColor A="255" R="30" G="144" B="255" /> | 625 | <OutlineColor A="255" R="30" G="144" B="255" /> |
636 | <ShadowColor A="255" R="110" G="110" B="110" /> | 626 | <ShadowColor A="255" R="110" G="110" B="110" /> |
637 | </AbstractNodeData> | 627 | </AbstractNodeData> |
638 | <AbstractNodeData Name="txt_day_num" ActionTag="1712111974" Tag="219" RotationSkewY="0.0017" IconVisible="False" LeftMargin="91.5345" RightMargin="50.4655" TopMargin="-18.2654" BottomMargin="147.2654" FontSize="25" LabelText="7" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 628 | <AbstractNodeData Name="txt_day_num" ActionTag="1712111974" Tag="219" RotationSkewY="0.0017" IconVisible="False" LeftMargin="94.0345" RightMargin="52.9655" TopMargin="-15.2654" BottomMargin="150.2654" FontSize="25" LabelText="7" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
639 | <Size X="18.0000" Y="31.0000" /> | 629 | <Size X="13.0000" Y="25.0000" /> |
640 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 630 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
641 | <Position X="100.5345" Y="162.7654" /> | 631 | <Position X="100.5345" Y="162.7654" /> |
642 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 632 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
643 | <CColor A="255" R="255" G="255" B="255" /> | 633 | <CColor A="255" R="255" G="255" B="255" /> |
644 | <PrePosition X="0.6283" Y="1.0173" /> | 634 | <PrePosition X="0.6283" Y="1.0173" /> |
645 | <PreSize X="0.1125" Y="0.1937" /> | 635 | <PreSize X="0.0812" Y="0.1563" /> |
646 | <FontResource Type="Normal" Path="" Plist="" /> | ||
647 | <OutlineColor A="255" R="255" G="165" B="0" /> | 636 | <OutlineColor A="255" R="255" G="165" B="0" /> |
648 | <ShadowColor A="255" R="110" G="110" B="110" /> | 637 | <ShadowColor A="255" R="110" G="110" B="110" /> |
649 | </AbstractNodeData> | 638 | </AbstractNodeData> |
... | @@ -724,31 +713,28 @@ | ... | @@ -724,31 +713,28 @@ |
724 | <CColor A="255" R="40" G="163" B="198" /> | 713 | <CColor A="255" R="40" G="163" B="198" /> |
725 | <PrePosition X="0.6769" Y="0.2423" /> | 714 | <PrePosition X="0.6769" Y="0.2423" /> |
726 | <PreSize X="0.5000" Y="0.2500" /> | 715 | <PreSize X="0.5000" Y="0.2500" /> |
727 | <FontResource Type="Normal" Path="" Plist="" /> | ||
728 | <OutlineColor A="255" R="255" G="255" B="255" /> | 716 | <OutlineColor A="255" R="255" G="255" B="255" /> |
729 | <ShadowColor A="255" R="110" G="110" B="110" /> | 717 | <ShadowColor A="255" R="110" G="110" B="110" /> |
730 | </AbstractNodeData> | 718 | </AbstractNodeData> |
731 | <AbstractNodeData Name="txt_day" ActionTag="400806508" Tag="227" RotationSkewY="0.0017" IconVisible="False" LeftMargin="37.0175" RightMargin="48.9825" TopMargin="2.6084" BottomMargin="131.3916" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 719 | <AbstractNodeData Name="txt_day" ActionTag="400806508" Tag="227" RotationSkewY="0.0017" IconVisible="False" LeftMargin="24.0175" RightMargin="35.9825" TopMargin="5.6084" BottomMargin="134.3916" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
732 | <Size X="74.0000" Y="26.0000" /> | 720 | <Size X="100.0000" Y="20.0000" /> |
733 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 721 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
734 | <Position X="74.0175" Y="144.3916" /> | 722 | <Position X="74.0175" Y="144.3916" /> |
735 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 723 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
736 | <CColor A="255" R="255" G="255" B="255" /> | 724 | <CColor A="255" R="255" G="255" B="255" /> |
737 | <PrePosition X="0.4626" Y="0.9024" /> | 725 | <PrePosition X="0.4626" Y="0.9024" /> |
738 | <PreSize X="0.4625" Y="0.1625" /> | 726 | <PreSize X="0.6250" Y="0.1250" /> |
739 | <FontResource Type="Normal" Path="" Plist="" /> | ||
740 | <OutlineColor A="255" R="30" G="144" B="255" /> | 727 | <OutlineColor A="255" R="30" G="144" B="255" /> |
741 | <ShadowColor A="255" R="110" G="110" B="110" /> | 728 | <ShadowColor A="255" R="110" G="110" B="110" /> |
742 | </AbstractNodeData> | 729 | </AbstractNodeData> |
743 | <AbstractNodeData Name="txt_day_num" ActionTag="-876760236" Tag="226" RotationSkewY="0.0017" IconVisible="False" LeftMargin="61.0339" RightMargin="71.9661" TopMargin="-1.2687" BottomMargin="130.2687" FontSize="25" LabelText="14" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 730 | <AbstractNodeData Name="txt_day_num" ActionTag="-876760236" Tag="226" RotationSkewY="0.0017" IconVisible="False" LeftMargin="61.5339" RightMargin="72.4661" TopMargin="1.7313" BottomMargin="133.2687" FontSize="25" LabelText="14" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
744 | <Size X="27.0000" Y="31.0000" /> | 731 | <Size X="26.0000" Y="25.0000" /> |
745 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 732 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
746 | <Position X="74.5339" Y="145.7687" /> | 733 | <Position X="74.5339" Y="145.7687" /> |
747 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 734 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
748 | <CColor A="255" R="255" G="255" B="255" /> | 735 | <CColor A="255" R="255" G="255" B="255" /> |
749 | <PrePosition X="0.4658" Y="0.9111" /> | 736 | <PrePosition X="0.4658" Y="0.9111" /> |
750 | <PreSize X="0.1688" Y="0.1937" /> | 737 | <PreSize X="0.1625" Y="0.1563" /> |
751 | <FontResource Type="Normal" Path="" Plist="" /> | ||
752 | <OutlineColor A="255" R="255" G="165" B="0" /> | 738 | <OutlineColor A="255" R="255" G="165" B="0" /> |
753 | <ShadowColor A="255" R="110" G="110" B="110" /> | 739 | <ShadowColor A="255" R="110" G="110" B="110" /> |
754 | </AbstractNodeData> | 740 | </AbstractNodeData> |
... | @@ -829,31 +815,28 @@ | ... | @@ -829,31 +815,28 @@ |
829 | <CColor A="255" R="40" G="163" B="198" /> | 815 | <CColor A="255" R="40" G="163" B="198" /> |
830 | <PrePosition X="0.8207" Y="0.2548" /> | 816 | <PrePosition X="0.8207" Y="0.2548" /> |
831 | <PreSize X="0.5000" Y="0.2500" /> | 817 | <PreSize X="0.5000" Y="0.2500" /> |
832 | <FontResource Type="Normal" Path="" Plist="" /> | ||
833 | <OutlineColor A="255" R="255" G="255" B="255" /> | 818 | <OutlineColor A="255" R="255" G="255" B="255" /> |
834 | <ShadowColor A="255" R="110" G="110" B="110" /> | 819 | <ShadowColor A="255" R="110" G="110" B="110" /> |
835 | </AbstractNodeData> | 820 | </AbstractNodeData> |
836 | <AbstractNodeData Name="txt_day" ActionTag="1664215466" Tag="234" RotationSkewY="0.0017" IconVisible="False" LeftMargin="61.0175" RightMargin="24.9825" TopMargin="2.6083" BottomMargin="131.3917" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 821 | <AbstractNodeData Name="txt_day" ActionTag="1664215466" Tag="234" RotationSkewY="0.0017" IconVisible="False" LeftMargin="48.0175" RightMargin="11.9825" TopMargin="5.6083" BottomMargin="134.3917" FontSize="20" LabelText="第 天" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
837 | <Size X="74.0000" Y="26.0000" /> | 822 | <Size X="100.0000" Y="20.0000" /> |
838 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 823 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
839 | <Position X="98.0175" Y="144.3917" /> | 824 | <Position X="98.0175" Y="144.3917" /> |
840 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 825 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
841 | <CColor A="255" R="255" G="255" B="255" /> | 826 | <CColor A="255" R="255" G="255" B="255" /> |
842 | <PrePosition X="0.6126" Y="0.9024" /> | 827 | <PrePosition X="0.6126" Y="0.9024" /> |
843 | <PreSize X="0.4625" Y="0.1625" /> | 828 | <PreSize X="0.6250" Y="0.1250" /> |
844 | <FontResource Type="Normal" Path="" Plist="" /> | ||
845 | <OutlineColor A="255" R="30" G="144" B="255" /> | 829 | <OutlineColor A="255" R="30" G="144" B="255" /> |
846 | <ShadowColor A="255" R="110" G="110" B="110" /> | 830 | <ShadowColor A="255" R="110" G="110" B="110" /> |
847 | </AbstractNodeData> | 831 | </AbstractNodeData> |
848 | <AbstractNodeData Name="txt_day_num" ActionTag="544194973" Tag="233" RotationSkewY="0.0017" IconVisible="False" LeftMargin="81.5348" RightMargin="46.4652" TopMargin="-1.2707" BottomMargin="130.2707" FontSize="25" LabelText="20" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> | 832 | <AbstractNodeData Name="txt_day_num" ActionTag="544194973" Tag="233" RotationSkewY="0.0017" IconVisible="False" LeftMargin="84.5348" RightMargin="49.4652" TopMargin="1.7293" BottomMargin="133.2707" FontSize="25" LabelText="20" OutlineEnabled="True" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="TextObjectData"> |
849 | <Size X="32.0000" Y="31.0000" /> | 833 | <Size X="26.0000" Y="25.0000" /> |
850 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 834 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
851 | <Position X="97.5348" Y="145.7707" /> | 835 | <Position X="97.5348" Y="145.7707" /> |
852 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 836 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
853 | <CColor A="255" R="255" G="255" B="255" /> | 837 | <CColor A="255" R="255" G="255" B="255" /> |
854 | <PrePosition X="0.6096" Y="0.9111" /> | 838 | <PrePosition X="0.6096" Y="0.9111" /> |
855 | <PreSize X="0.2000" Y="0.1937" /> | 839 | <PreSize X="0.1625" Y="0.1563" /> |
856 | <FontResource Type="Normal" Path="" Plist="" /> | ||
857 | <OutlineColor A="255" R="255" G="165" B="0" /> | 840 | <OutlineColor A="255" R="255" G="165" B="0" /> |
858 | <ShadowColor A="255" R="110" G="110" B="110" /> | 841 | <ShadowColor A="255" R="110" G="110" B="110" /> |
859 | </AbstractNodeData> | 842 | </AbstractNodeData> | ... | ... |
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | <FileData Type="Normal" Path="ui/achievement/bg_achievement_item.png" Plist="" /> | 17 | <FileData Type="Normal" Path="ui/achievement/bg_achievement_item.png" Plist="" /> |
18 | <BlendFunc Src="1" Dst="771" /> | 18 | <BlendFunc Src="1" Dst="771" /> |
19 | </AbstractNodeData> | 19 | </AbstractNodeData> |
20 | <AbstractNodeData Name="selected" ActionTag="-1376263739" Tag="93" IconVisible="False" HorizontalEdge="LeftEdge" VerticalEdge="TopEdge" LeftMargin="-27.5007" RightMargin="-29.4993" TopMargin="-27.9988" BottomMargin="-31.9952" StretchHeightEnable="True" LeftEage="72" RightEage="72" TopEage="85" BottomEage="85" Scale9OriginX="72" Scale9OriginY="85" Scale9Width="75" Scale9Height="88" ctype="ImageViewObjectData"> | 20 | <AbstractNodeData Name="selected" Visible="False" ActionTag="-1376263739" Tag="93" IconVisible="False" HorizontalEdge="LeftEdge" VerticalEdge="TopEdge" LeftMargin="-27.5007" RightMargin="-29.4993" TopMargin="-27.9988" BottomMargin="-31.9952" StretchHeightEnable="True" LeftEage="72" RightEage="72" TopEage="85" BottomEage="85" Scale9OriginX="72" Scale9OriginY="85" Scale9Width="75" Scale9Height="88" ctype="ImageViewObjectData"> |
21 | <Size X="219.0000" Y="257.9940" /> | 21 | <Size X="219.0000" Y="257.9940" /> |
22 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 22 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
23 | <Position X="81.9993" Y="97.0018" /> | 23 | <Position X="81.9993" Y="97.0018" /> |
... | @@ -93,7 +93,7 @@ | ... | @@ -93,7 +93,7 @@ |
93 | <OutlineColor A="255" R="255" G="0" B="0" /> | 93 | <OutlineColor A="255" R="255" G="0" B="0" /> |
94 | <ShadowColor A="255" R="110" G="110" B="110" /> | 94 | <ShadowColor A="255" R="110" G="110" B="110" /> |
95 | </AbstractNodeData> | 95 | </AbstractNodeData> |
96 | <AbstractNodeData Name="btn_get" ActionTag="1669180558" Tag="1480" IconVisible="False" LeftMargin="4.9716" RightMargin="5.0284" TopMargin="152.5471" BottomMargin="-4.5471" TouchEnable="True" FontSize="14" Scale9Enable="True" LeftEage="15" RightEage="15" TopEage="11" BottomEage="11" Scale9OriginX="15" Scale9OriginY="11" Scale9Width="122" Scale9Height="28" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="ButtonObjectData"> | 96 | <AbstractNodeData Name="btn_get" Visible="False" ActionTag="1669180558" Tag="1480" IconVisible="False" LeftMargin="4.9716" RightMargin="5.0284" TopMargin="152.5471" BottomMargin="-4.5471" TouchEnable="True" FontSize="14" Scale9Enable="True" LeftEage="15" RightEage="15" TopEage="11" BottomEage="11" Scale9OriginX="15" Scale9OriginY="11" Scale9Width="122" Scale9Height="28" ShadowOffsetX="2.0000" ShadowOffsetY="-2.0000" ctype="ButtonObjectData"> |
97 | <Size X="152.0000" Y="50.0000" /> | 97 | <Size X="152.0000" Y="50.0000" /> |
98 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 98 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
99 | <Position X="80.9716" Y="20.4529" /> | 99 | <Position X="80.9716" Y="20.4529" /> | ... | ... |
... | @@ -22,14 +22,14 @@ | ... | @@ -22,14 +22,14 @@ |
22 | <AbstractNodeData Name="panel" ActionTag="128256003" Tag="228" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" LeftEage="420" RightEage="420" TopEage="235" BottomEage="235" Scale9OriginX="-420" Scale9OriginY="-235" Scale9Width="840" Scale9Height="470" ctype="PanelObjectData"> | 22 | <AbstractNodeData Name="panel" ActionTag="128256003" Tag="228" IconVisible="False" PositionPercentXEnabled="True" PositionPercentYEnabled="True" TouchEnable="True" ClipAble="False" BackColorAlpha="102" ColorAngle="90.0000" LeftEage="420" RightEage="420" TopEage="235" BottomEage="235" Scale9OriginX="-420" Scale9OriginY="-235" Scale9Width="840" Scale9Height="470" ctype="PanelObjectData"> |
23 | <Size X="1280.0000" Y="720.0000" /> | 23 | <Size X="1280.0000" Y="720.0000" /> |
24 | <Children> | 24 | <Children> |
25 | <AbstractNodeData Name="bg" ActionTag="2102699127" Tag="144" IconVisible="False" LeftMargin="83.0000" RightMargin="83.0000" TopMargin="45.2295" BottomMargin="18.7705" ctype="SpriteObjectData"> | 25 | <AbstractNodeData Name="bg" ActionTag="2102699127" Tag="144" IconVisible="False" LeftMargin="92.0000" RightMargin="92.0000" TopMargin="56.7295" BottomMargin="30.2705" ctype="SpriteObjectData"> |
26 | <Size X="1096.0000" Y="633.0000" /> | 26 | <Size X="1096.0000" Y="633.0000" /> |
27 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 27 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
28 | <Position X="640.0000" Y="346.7705" /> | 28 | <Position X="640.0000" Y="346.7705" /> |
29 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 29 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
30 | <CColor A="255" R="255" G="255" B="255" /> | 30 | <CColor A="255" R="255" G="255" B="255" /> |
31 | <PrePosition X="0.5000" Y="0.4816" /> | 31 | <PrePosition X="0.5000" Y="0.4816" /> |
32 | <PreSize X="0.8703" Y="0.9111" /> | 32 | <PreSize X="0.8562" Y="0.8792" /> |
33 | <FileData Type="Normal" Path="common/bg_app_view.png" Plist="" /> | 33 | <FileData Type="Normal" Path="common/bg_app_view.png" Plist="" /> |
34 | <BlendFunc Src="1" Dst="771" /> | 34 | <BlendFunc Src="1" Dst="771" /> |
35 | </AbstractNodeData> | 35 | </AbstractNodeData> |
... | @@ -54,18 +54,18 @@ | ... | @@ -54,18 +54,18 @@ |
54 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 54 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
55 | <CColor A="255" R="255" G="255" B="255" /> | 55 | <CColor A="255" R="255" G="255" B="255" /> |
56 | <PrePosition X="0.5000" Y="0.8982" /> | 56 | <PrePosition X="0.5000" Y="0.8982" /> |
57 | <PreSize X="0.3328" Y="0.1111" /> | 57 | <PreSize X="0.4758" Y="0.1222" /> |
58 | <FileData Type="Normal" Path="common/bg_app_title02.png" Plist="" /> | 58 | <FileData Type="Normal" Path="common/bg_app_title02.png" Plist="" /> |
59 | <BlendFunc Src="1" Dst="771" /> | 59 | <BlendFunc Src="1" Dst="771" /> |
60 | </AbstractNodeData> | 60 | </AbstractNodeData> |
61 | <AbstractNodeData Name="title_task_fnt_3" ActionTag="-157453565" Tag="146" IconVisible="False" LeftMargin="544.3508" RightMargin="544.6492" TopMargin="40.9291" BottomMargin="630.0709" ctype="SpriteObjectData"> | 61 | <AbstractNodeData Name="title_task_fnt_3" ActionTag="-157453565" Tag="146" IconVisible="False" LeftMargin="597.8508" RightMargin="598.1492" TopMargin="43.4291" BottomMargin="632.5709" ctype="SpriteObjectData"> |
62 | <Size X="84.0000" Y="44.0000" /> | 62 | <Size X="84.0000" Y="44.0000" /> |
63 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> | 63 | <AnchorPoint ScaleX="0.5000" ScaleY="0.5000" /> |
64 | <Position X="639.8508" Y="654.5709" /> | 64 | <Position X="639.8508" Y="654.5709" /> |
65 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> | 65 | <Scale ScaleX="1.0000" ScaleY="1.0000" /> |
66 | <CColor A="255" R="255" G="255" B="255" /> | 66 | <CColor A="255" R="255" G="255" B="255" /> |
67 | <PrePosition X="0.4999" Y="0.9091" /> | 67 | <PrePosition X="0.4999" Y="0.9091" /> |
68 | <PreSize X="0.1492" Y="0.0681" /> | 68 | <PreSize X="0.0656" Y="0.0611" /> |
69 | <FileData Type="Normal" Path="ui/task/title_task_fnt.png" Plist="" /> | 69 | <FileData Type="Normal" Path="ui/task/title_task_fnt.png" Plist="" /> |
70 | <BlendFunc Src="1" Dst="771" /> | 70 | <BlendFunc Src="1" Dst="771" /> |
71 | </AbstractNodeData> | 71 | </AbstractNodeData> | ... | ... |
... | @@ -28,5 +28,17 @@ | ... | @@ -28,5 +28,17 @@ |
28 | <LastRunType Value="Windows" /> | 28 | <LastRunType Value="Windows" /> |
29 | </Value> | 29 | </Value> |
30 | </Item> | 30 | </Item> |
31 | <Item Key="TabsParamsKey"> | ||
32 | <Value ctype="TabsInfo"> | ||
33 | <OpenedDocuments> | ||
34 | <FilePathData Path="ui/achievement/AchievementLayer.csd" /> | ||
35 | <FilePathData Path="ui/PopItem.csd" /> | ||
36 | <FilePathData Path="ui/xyx/shanghai_ctcc/XyxPayLayer.csd" /> | ||
37 | <FilePathData Path="ui/achievement/AchievementDetailView.csd" /> | ||
38 | <FilePathData Path="ui/achievement/AchievementDetialItem.csd" /> | ||
39 | </OpenedDocuments> | ||
40 | <ActiveDocument Path="ui/achievement/AchievementDetialItem.csd" /> | ||
41 | </Value> | ||
42 | </Item> | ||
31 | </Properties> | 43 | </Properties> |
32 | </UserData> | 44 | </UserData> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -197,7 +197,7 @@ enum E_STATISTICS_TYPE | ... | @@ -197,7 +197,7 @@ enum E_STATISTICS_TYPE |
197 | { | 197 | { |
198 | //参数:(平台ID,UID,TIME_SEC) | 198 | //参数:(平台ID,UID,TIME_SEC) |
199 | E_STATISTICS_TYPE_1 = 1;//登录 | 199 | E_STATISTICS_TYPE_1 = 1;//登录 |
200 | E_STATISTICS_TYPE_2 = 2;//付费(RMB) | 200 | //E_STATISTICS_TYPE_2 = 2;//付费(RMB) |
201 | E_STATISTICS_TYPE_3 = 3;//输金币流水(game_id,房间分数,钱的变化量) | 201 | E_STATISTICS_TYPE_3 = 3;//输金币流水(game_id,房间分数,钱的变化量) |
202 | E_STATISTICS_TYPE_4 = 4;//赢金币流水(game_id,房间分数,钱的变化量) | 202 | E_STATISTICS_TYPE_4 = 4;//赢金币流水(game_id,房间分数,钱的变化量) |
203 | E_STATISTICS_TYPE_5 = 5;//牌局(game_id,房间分数) | 203 | E_STATISTICS_TYPE_5 = 5;//牌局(game_id,房间分数) |
... | @@ -215,9 +215,11 @@ enum E_STATISTICS_TYPE | ... | @@ -215,9 +215,11 @@ enum E_STATISTICS_TYPE |
215 | 215 | ||
216 | E_STATISTICS_TYPE_14 = 14;//所有玩家购买宠物钥匙个数(宠物钥匙ID) | 216 | E_STATISTICS_TYPE_14 = 14;//所有玩家购买宠物钥匙个数(宠物钥匙ID) |
217 | 217 | ||
218 | E_STATISTICS_TYPE_15 = 15;//上海电信付费(pay_id,order_number,serial_number) | 218 | E_STATISTICS_TYPE_15 = 15;//上海电\四川移动\陕西移动,付费(pay_id,pay_amount,order_number,serial_number) |
219 | 219 | ||
220 | E_STATISTICS_TYPE_16 = 16;//上海电\四川移动\陕西移动,登录时已付费 | ||
220 | 221 | ||
222 | E_STATISTICS_TYPE_1000 = 1000;//sys_action_msg:打开订购页面 | ||
221 | 223 | ||
222 | 224 | ||
223 | } | 225 | } | ... | ... |
... | @@ -194,6 +194,8 @@ message shanghai_dianxin_pay_msg//1,0x00353#上海电信支付成功 | ... | @@ -194,6 +194,8 @@ message shanghai_dianxin_pay_msg//1,0x00353#上海电信支付成功 |
194 | optional string serial_number = 3;//流水号 | 194 | optional string serial_number = 3;//流水号 |
195 | } | 195 | } |
196 | 196 | ||
197 | |||
198 | |||
197 | message shanghai_dianxin_pay_msg_res | 199 | message shanghai_dianxin_pay_msg_res |
198 | { | 200 | { |
199 | //支付,按天数领取 | 201 | //支付,按天数领取 |
... | @@ -913,4 +915,14 @@ message gm_change_item_msg_res | ... | @@ -913,4 +915,14 @@ message gm_change_item_msg_res |
913 | { | 915 | { |
914 | } | 916 | } |
915 | 917 | ||
918 | message sys_action_msg//1,0xf006#操作 | ||
919 | { | ||
920 | optional uint32 event_id = 3;//事件ID | ||
921 | repeated uint32 expand_param = 4;//扩展参数,数组类型 | ||
922 | } | ||
923 | |||
924 | message sys_action_msg_res | ||
925 | { | ||
926 | } | ||
927 | |||
916 | 928 | ... | ... |
... | @@ -44,6 +44,7 @@ enum E_PLATFORM | ... | @@ -44,6 +44,7 @@ enum E_PLATFORM |
44 | E_PLATFORM_XHX_DANG_BEI = 104;//当贝 | 44 | E_PLATFORM_XHX_DANG_BEI = 104;//当贝 |
45 | E_PLATFORM_XHX_DA_TANG = 105;//大唐 | 45 | E_PLATFORM_XHX_DA_TANG = 105;//大唐 |
46 | E_PLATFORM_XHX_SICHUAN_YIDONG = 107;//四川移动 | 46 | E_PLATFORM_XHX_SICHUAN_YIDONG = 107;//四川移动 |
47 | E_PLATFORM_XHX_SHANXI_YIDONG = 108;//陕西移动 | ||
47 | 48 | ||
48 | 49 | ||
49 | 50 | ... | ... |
-
Please register or sign in to post a comment