Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
zeroing-libs
Commits
bf6a5999
Commit
bf6a5999
authored
Jul 09, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
d0b28e59
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
39 deletions
+10
-39
pintu.json
dist/customs/pintu.json
+1
-1
main.js
src/custom/pintu/debug/main.js
+6
-0
main.js.map
src/custom/pintu/debug/main.js.map
+1
-1
GameView.ts
src/custom/pintu/src/game/GameView.ts
+1
-0
meta.json
src/custom/xiaoxiaole/meta.json
+1
-37
No files found.
dist/customs/pintu.json
View file @
bf6a5999
This diff is collapsed.
Click to expand it.
src/custom/pintu/debug/main.js
View file @
bf6a5999
...
...
@@ -12,6 +12,7 @@
function
injectProps
(
p
)
{
engine
.
injectProp
(
props
,
p
);
}
//# sourceMappingURL=props.js.map
function
getTexture
(
uuid
)
{
return
engine
.
Texture
.
from
(
getAssetByUUID
(
uuid
).
uuid
);
...
...
@@ -35,6 +36,7 @@
});
});
}
//# sourceMappingURL=utils.js.map
var
qietu
=
(
function
(
url
,
type1
,
rows
,
cols
,
parent
)
{
return
tslib
.
__awaiter
(
void
0
,
void
0
,
void
0
,
function
()
{
var
t
,
setimgwid
,
mwid1
,
mhei1
,
mwid
,
mhei
,
picarr
,
picnames
,
chax
,
chay
,
startlix
,
addlix
,
startliy
,
addliy
,
r
,
startx
,
endx
,
c
,
starty
,
endy
,
uvs
,
isprite
,
ispritename
,
e_1
;
...
...
@@ -149,6 +151,7 @@
}
});
});
});
//# sourceMappingURL=qietu.js.map
var
GameView
=
(
function
(
_super
)
{
tslib
.
__extends
(
GameView
,
_super
);
...
...
@@ -180,6 +183,7 @@
this
.
linecont
.
addChild
(
this
.
lineShape
);
console
.
log
(
"拼图初始化完毕--------------"
);
engine
.
globalEvent
.
dispatchEvent
(
"pictures-time-initcomp"
,
{});
this
.
removeEventListener
(
engine
.
Event
.
ADDED_TO_STAGE
,
this
.
initScene
,
this
);
};
GameView
.
prototype
.
initgame
=
function
()
{
return
tslib
.
__awaiter
(
this
,
void
0
,
void
0
,
function
()
{
...
...
@@ -572,6 +576,7 @@
};
return
GameWrapper
;
}(
engine
.
Container
));
//# sourceMappingURL=GameWrapper.js.map
function
index
(
props
)
{
prepareProps
();
...
...
@@ -579,6 +584,7 @@
var
instance
=
new
GameWrapper
();
return
instance
;
}
//# sourceMappingURL=index.js.map
return
index
;
...
...
src/custom/pintu/debug/main.js.map
View file @
bf6a5999
This diff is collapsed.
Click to expand it.
src/custom/pintu/src/game/GameView.ts
View file @
bf6a5999
...
...
@@ -69,6 +69,7 @@ export default class GameView extends engine.Container {
console
.
log
(
"拼图初始化完毕--------------"
);
engine
.
globalEvent
.
dispatchEvent
(
"pictures-time-initcomp"
,{});
this
.
removeEventListener
(
engine
.
Event
.
ADDED_TO_STAGE
,
this
.
initScene
,
this
);
}
async
initgame
(){
console
.
log
(
"initgame---------"
);
...
...
src/custom/xiaoxiaole/meta.json
View file @
bf6a5999
...
...
@@ -10,42 +10,6 @@
"url"
:
"//yun.duiba.com.cn/aurora/assets/50a7212a113175fa18c866b005d98f07c558dc77.png"
,
"uuid"
:
"66f23d13-82a5-4cec-9496-301ec240d087"
,
"ext"
:
".png"
},
{
"name"
:
"雨滴"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/8564c8c9be3aead71b05a0bab8d7d07ac3f778a1.png"
,
"uuid"
:
"264a6192-d7bf-45e8-8f15-6ba2c439a532"
,
"ext"
:
".png"
},
{
"name"
:
"炸弹"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/171e92283cd13c013ee1b76d28d252ff08815d47.png"
,
"uuid"
:
"eb88b42d-e151-4c1b-94b9-7c16f7bfac29"
,
"ext"
:
".png"
},
{
"name"
:
"石块"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/99b0af0c59fe79a415a3f032149cfacc27e3ac2c.png"
,
"uuid"
:
"ab1bdabc-21ba-46bf-9299-6c638f766c88"
,
"ext"
:
".png"
},
{
"name"
:
"水花"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/93d37b4a0e367e80e375308a6b4414d72d7666fc.svga"
,
"uuid"
:
"b521bf94-20e1-44dd-8eca-d24996cbaeae"
,
"ext"
:
".svga"
},
{
"name"
:
"炸弹svga"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/4dd18f0689c663bbcf710a7afc4d929084d97d36.svga"
,
"uuid"
:
"322edf39-805b-4e84-9d07-5573dfeebc0e"
,
"ext"
:
".svga"
},
{
"name"
:
"玩家"
,
"url"
:
"//yun.duiba.com.cn/aurora/assets/b66300c5d4f27134b0aac3dc90a3220e8ae572eb.svga"
,
"uuid"
:
"71d8dcbc-3931-471a-b585-b3ae01b25aa6"
,
"ext"
:
".svga"
}
],
"events"
:
{
...
...
@@ -77,7 +41,7 @@
"alias"
:
"游戏结束"
,
"data"
:
{
"score"
:
"分数"
,
"reason"
:
"结束原因(1:时间到了,2:
玩家死亡
)"
"reason"
:
"结束原因(1:时间到了,2:
过关
)"
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment