Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP26
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
OP26
Commits
eb3457c9
Commit
eb3457c9
authored
Mar 14, 2022
by
LWD
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
dfa7aac1
Changes
9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9631 additions
and
12955 deletions
+9631
-12955
OP26.js
assets/OP26/scene/OP26.js
+1
-1
item.js
assets/OP26/script/game/item.js
+6
-6
nodEndEffect.js
assets/OP26/script/game/nodEndEffect.js
+3
-3
data_mgr.js
assets/OP26/script/manager/data_mgr.js
+3
-3
package-lock.json
form/package-lock.json
+0
-12922
package.json
form/package.json
+1
-2
form.component.html
form/src/app/form/form.component.html
+4
-3
yarn.lock
form/yarn.lock
+9562
-0
package.json
package.json
+51
-15
No files found.
assets/OP26/scene/OP26.js
View file @
eb3457c9
...
...
@@ -214,7 +214,7 @@ var game = cc.Class({
this
.
dragonCat
.
playAnimation
(
name
);
},
//播放猫动画
//播放猫动画
normal wrong right waiting
playLionDragon
(
name
)
{
this
.
dragonLion
.
armatureName
=
"
armatureName
"
;
this
.
dragonLion
.
playAnimation
(
name
);
...
...
assets/OP26/script/game/item.js
View file @
eb3457c9
...
...
@@ -40,7 +40,7 @@ cc.Class({
OP26
.
game
.
inst
.
handTween
&&
OP26
.
game
.
inst
.
handTween
.
stop
()
&&
(
OP26
.
game
.
inst
.
handTip
.
active
=
false
);
//狮子猫动画
OP26
.
game
.
inst
.
playLionDragon
(
"
openmouth
"
);
OP26
.
game
.
inst
.
playLionDragon
(
"
waiting
"
);
OP26
.
res_mgr
.
playAudioByUrl
(
this
.
itemInfo
.
audio_url
,
(
url
)
=>
{
OP26
.
snd_mgr
.
playEffect
(
url
,
null
);
...
...
@@ -143,16 +143,16 @@ cc.Class({
OP26
.
data_mgr
.
nowNum
-=
1
;
//狮子猫动画
OP26
.
game
.
inst
.
playLionDragon
(
"
chew
"
);
OP26
.
game
.
inst
.
playLionDragon
(
"
right
"
);
//先播放
错误
声音
//先播放
正确
声音
OP26
.
speaker
.
inst
.
playEffect
(
OP26
.
enum
.
E_Audio
.
Right
);
this
.
_timeoutIds
.
push
(
setTimeout
(()
=>
{
OP26
.
game
.
inst
.
playCatDragon
(
"
right
"
);
//先播放
错误
声音
OP26
.
speaker
.
inst
.
play
Error
Effect
();
//先播放
正确
声音
OP26
.
speaker
.
inst
.
play
Right
Effect
();
//当前关卡是否结束
if
(
OP26
.
data_mgr
.
nowNum
<=
0
)
{
...
...
@@ -165,7 +165,7 @@ cc.Class({
errorEffect
:
function
()
{
//狮子猫动画
OP26
.
game
.
inst
.
playCatDragon
(
"
wrong
"
);
OP26
.
game
.
inst
.
playLionDragon
(
"
no
"
);
OP26
.
game
.
inst
.
playLionDragon
(
"
wrong
"
);
//先播放错误声音
OP26
.
speaker
.
inst
.
playEffect
(
OP26
.
enum
.
E_Audio
.
Error
);
...
...
assets/OP26/script/game/nodEndEffect.js
View file @
eb3457c9
...
...
@@ -91,9 +91,9 @@ cc.Class({
setDragon
()
{
//先设置节点大小为0,
var
Info
=
{
tex_json
:
OP26
.
data_mgr
.
data
.
tex_json
,
ske_json
:
OP26
.
data_mgr
.
data
.
ske_json
,
tex_png
:
OP26
.
data_mgr
.
data
.
tex_png
,
tex_json
:
OP26
.
data_mgr
.
data
.
tex_json
1
,
ske_json
:
OP26
.
data_mgr
.
data
.
ske_json
1
,
tex_png
:
OP26
.
data_mgr
.
data
.
tex_png
1
,
}
OP26
.
res_mgr
.
loadSpine
(
this
.
dragonItem
,
Info
);
this
.
playDragon
(
"
normal
"
);
...
...
assets/OP26/script/manager/data_mgr.js
View file @
eb3457c9
...
...
@@ -44,11 +44,11 @@ OP26.data_mgr = {
"
tex_png_name
"
:
"
lion_tex.png
"
,
"
ske_json1
"
:
"
http://staging-teach.cdn.ireadabc.com/7355648029551e6848a2cf36ea8a6ba6.json
"
,
"
ske_json
_name1
"
:
"
lion_ske.json
"
,
"
ske_json
1_name
"
:
"
lion_ske.json
"
,
"
tex_json1
"
:
"
http://staging-teach.cdn.ireadabc.com/511fe163f2df10925e3da82f0f69590b.json
"
,
"
tex_json
_name1
"
:
"
lion_tex.json
"
,
"
tex_json
1_name
"
:
"
lion_tex.json
"
,
"
tex_png1
"
:
"
http://staging-teach.cdn.ireadabc.com/2fd2a53fcb36d36281a6ded9500dd54f.png
"
,
"
tex_png
_name1
"
:
"
lion_tex.png
"
,
"
tex_png
1_name
"
:
"
lion_tex.png
"
,
"
guideBegin_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/bd6e2b3a870ef3f9ee9ad9c0fda79228.mp3
"
,
"
guideEnd_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/bd6e2b3a870ef3f9ee9ad9c0fda79228.mp3
"
,
...
...
form/package-lock.json
deleted
100644 → 0
View file @
dfa7aac1
This diff is collapsed.
Click to expand it.
form/package.json
View file @
eb3457c9
...
...
@@ -29,7 +29,6 @@
"compressing"
:
"^1.5.0"
,
"ng-zorro-antd"
:
"^8.5.2"
,
"rxjs"
:
"~6.5.4"
,
"node-sass"
:
"^4.0.0"
,
"spark-md5"
:
"^3.0.0"
,
"tslib"
:
"^1.10.0"
,
"zone.js"
:
"~0.10.2"
...
...
form/src/app/form/form.component.html
View file @
eb3457c9
...
...
@@ -43,7 +43,7 @@
(
nzChange
)="
handleChange
($
event
,
item
,'
ske_json1
')"
>
<button
nz-button
><i
nz-icon
nzType=
"upload"
></i>
Upload
</button>
</nz-upload>
<span
style=
"margin-left: 10px;"
>
{{item["ske_json
_name1
"]}}
</span>
<span
style=
"margin-left: 10px;"
>
{{item["ske_json
1_name
"]}}
</span>
</div>
<div
style=
"display: flex 1;margin-bottom: 10px;margin-left: 10px;"
>
...
...
@@ -52,16 +52,17 @@
(
nzChange
)="
handleChange
($
event
,
item
,'
tex_json1
')"
>
<button
nz-button
><i
nz-icon
nzType=
"upload"
></i>
Upload
</button>
</nz-upload>
<span
style=
"margin-left: 10px;"
>
{{ item["tex_json
_name1
"] }}
</span>
<span
style=
"margin-left: 10px;"
>
{{ item["tex_json
1_name
"] }}
</span>
</div>
<div
style=
"display: flex 1;margin-bottom: 10px;margin-left: 10px;"
>
<span>
上传结束 tex_png 文件
</span><span>
:
</span>
<nz-upload
nzAccept=
".png"
[
nzAction
]="
uploadUrl
"
[
nzData
]="
uploadData
"
[
nzShowUploadList
]="
false
"
(
nzChange
)="
handleChange
($
event
,
item
,'
tex_png1
')"
>
<button
nz-button
><i
nz-icon
nzType=
"upload"
></i>
Upload
</button>
</nz-upload>
<span
style=
"margin-left: 10px;"
>
{{ item["tex_png
_name1
] }}
</span>
<span
style=
"margin-left: 10px;"
>
{{ item["tex_png
1_name"
] }}
</span>
</div>
<div
*
ngFor=
"let q of questionArr; let i = index;"
...
...
form/yarn.lock
0 → 100644
View file @
eb3457c9
This diff is collapsed.
Click to expand it.
package.json
View file @
eb3457c9
{
"name"
:
"publish"
,
"version"
:
"1.0.0"
,
"description"
:
""
,
"main"
:
"build.js"
,
"name"
:
"ng-template-generator"
,
"version"
:
"0.0.1"
,
"scripts"
:
{
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"publish"
:
"node ./bin/build.js"
,
"start"
:
"node ./bin/app.js"
"start"
:
"ng serve"
,
"build"
:
"ng build --build--optimizer --aot --base-href /JGT/v3/"
,
"publish"
:
"node ./bin/publish.js"
,
"ng"
:
"ng"
,
"test"
:
"ng test"
,
"lint"
:
"ng lint"
,
"e2e"
:
"ng e2e"
},
"author"
:
""
,
"license"
:
"
ISC
"
,
"private"
:
true
,
"dependencies"
:
{
"
base-64
"
:
"
^1.0.0
"
,
"
compressing
"
:
"
^1.5.1
"
,
"
js-base64
"
:
"
^3.7.2
"
,
"
uuid
"
:
"
^8.3.2
"
,
"
child_process
"
:
"
^1.0.2
"
,
"
express
"
:
"
^4.17.1
"
"
@angular/animations
"
:
"
~9.0.2
"
,
"
@angular/common
"
:
"
~9.0.2
"
,
"
@angular/compiler
"
:
"
~9.0.2
"
,
"
@angular/core
"
:
"
~9.0.2
"
,
"
@angular/forms
"
:
"
~9.0.2
"
,
"
@angular/platform-browser
"
:
"
~9.0.2
"
,
"
@angular/platform-browser-dynamic
"
:
"
~9.0.2
"
,
"
@angular/router
"
:
"
~9.0.2
"
,
"
@fortawesome/angular-fontawesome
"
:
"
^0.6.0
"
,
"
@fortawesome/fontawesome-svg-core
"
:
"
^1.2.27
"
,
"
@fortawesome/free-regular-svg-icons
"
:
"
^5.12.1
"
,
"
@fortawesome/free-solid-svg-icons
"
:
"
^5.12.1
"
,
"
@tweenjs/tween.js
"
:
"
~18.5.0
"
,
"
ali-oss
"
:
"
^6.5.1
"
,
"
compressing
"
:
"
^1.5.0
"
,
"
ng-zorro-antd
"
:
"
^8.5.2
"
,
"
rxjs
"
:
"
~6.5.4
"
,
"
spark-md5
"
:
"
^3.0.0
"
,
"
tslib
"
:
"
^1.10.0
"
,
"
zone.js
"
:
"
~0.10.2
"
},
"devDependencies"
:
{
"
@angular-devkit/build-angular
"
:
"
~0.900.3
"
,
"
@angular/cli
"
:
"
~9.0.3
"
,
"
@angular/compiler-cli
"
:
"
~9.0.2
"
,
"
@angular/language-service
"
:
"
~9.0.2
"
,
"
@types/jasmine
"
:
"
~3.5.0
"
,
"
@types/jasminewd2
"
:
"
~2.0.3
"
,
"
@types/node
"
:
"
^12.11.1
"
,
"
codelyzer
"
:
"
^5.1.2
"
,
"
jasmine-core
"
:
"
~3.5.0
"
,
"
jasmine-spec-reporter
"
:
"
~4.2.1
"
,
"
karma
"
:
"
~4.3.0
"
,
"
karma-chrome-launcher
"
:
"
~3.1.0
"
,
"
karma-coverage-istanbul-reporter
"
:
"
~2.1.0
"
,
"
karma-jasmine
"
:
"
~2.0.1
"
,
"
karma-jasmine-html-reporter
"
:
"
^1.4.2
"
,
"
protractor
"
:
"
~5.4.3
"
,
"
ts-node
"
:
"
~8.3.0
"
,
"
tslint
"
:
"
~5.18.0
"
,
"
typescript
"
:
"
~3.7.5
"
}
}
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