Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP15
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
OP15
Commits
5de85225
Commit
5de85225
authored
Nov 25, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: init
parent
4e17a6b5
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
413 additions
and
188 deletions
+413
-188
form.component.html
form/src/app/form/form.component.html
+21
-1
form.component.ts
form/src/app/form/form.component.ts
+5
-4
play.component.ts
form/src/app/play/play.component.ts
+1
-1
OP15.fire
play/assets/OP15/scene/OP15.fire
+62
-69
scene.js
play/assets/OP15/scene/scene.js
+318
-107
bg.png.meta
play/assets/OP15/textures/bg.png.meta
+2
-2
m1.png.meta
play/assets/OP15/textures/m1.png.meta
+2
-2
m2.png.meta
play/assets/OP15/textures/m2.png.meta
+2
-2
No files found.
form/src/app/form/form.component.html
View file @
5de85225
<div
class=
"model-content"
>
<div
style=
"padding: 10px;"
>
<div
style=
"margin-top: 5px"
>
<span>
开头音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
begin_audio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
begin_audio
')"
></app-audio-recorder>
</div>
<div
style=
"margin-top: 5px"
>
<span>
背景循环音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
playing_audio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
playing_audio
')"
></app-audio-recorder>
</div>
<div
style=
"margin-top: 5px"
>
<span>
结尾音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
end_audio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
end_audio
')"
></app-audio-recorder>
</div>
<h2>
热区配置:
</h2>
<app-custom-hot-zone
[
bgItem
]="
item
.
bgItem
"
...
...
form/src/app/form/form.component.ts
View file @
5de85225
...
...
@@ -10,21 +10,22 @@ import { JsonPipe } from '@angular/common';
export
class
FormComponent
implements
OnInit
,
OnChanges
,
OnDestroy
{
// 储存数据用
saveKey
=
"
test_001
"
;
saveKey
=
'
test_op15
'
;
// 储存对象
item
;
customTypeGroupArr
=
[
{
name
:
'
轮播图片
'
,
name
:
'
动画
'
,
anima
:
true
,
//
audio: true,
audio
:
true
,
// pic: true,
rect
:
true
,
// text: true,
// isShowPos: true,
// isCopy: true,
// label: '比对
',
label
:
'
开始提示时间点
'
,
},
];
saveHotZone
(
group
,
e
)
{
...
...
form/src/app/play/play.component.ts
View file @
5de85225
...
...
@@ -57,7 +57,7 @@ export class PlayComponent implements OnInit, OnDestroy {
canvasLeft
;
canvasTop
;
saveKey
=
'
test_
0011
'
;
saveKey
=
'
test_
op15
'
;
btnLeft
;
...
...
play/assets/OP15/scene/OP15.fire
View file @
5de85225
This diff is collapsed.
Click to expand it.
play/assets/OP15/scene/scene.js
View file @
5de85225
This diff is collapsed.
Click to expand it.
play/assets/OP15/textures/bg.png.meta
View file @
5de85225
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
256
0,
"height":
192
0,
"width":
128
0,
"height":
96
0,
"platformSettings": {},
"subMetas": {
"bg": {
...
...
play/assets/OP15/textures/m1.png.meta
View file @
5de85225
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
937
,
"height":
730
,
"width":
469
,
"height":
365
,
"platformSettings": {},
"subMetas": {
"m1": {
...
...
play/assets/OP15/textures/m2.png.meta
View file @
5de85225
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
474
,
"height":
610
,
"width":
237
,
"height":
305
,
"platformSettings": {},
"subMetas": {
"m2": {
...
...
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