Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
East_L226
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
East_L226
Commits
7a23a03a
Commit
7a23a03a
authored
Jul 13, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
d8d2dc15
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
ng-template-generator_20200713 16-42-49.zip
publish/ng-template-generator_20200713 16-42-49.zip
+0
-0
play.component.ts
src/app/play/play.component.ts
+13
-1
resources.js
src/app/play/resources.js
+1
-0
hengban_bg.png
src/assets/play/hengban_bg.png
+0
-0
No files found.
publish/ng-template-generator_2020071
0 13-08-24
.zip
→
publish/ng-template-generator_2020071
3 16-42-49
.zip
View file @
7a23a03a
No preview for this file type
src/app/play/play.component.ts
View file @
7a23a03a
...
...
@@ -259,6 +259,19 @@ export class PlayComponent implements OnInit, OnDestroy {
})
this
.
render
(
bg_Desk
.
ref
,
zIndexMap
.
mainDesk
)
let
bg_Desk_bg
=
this
.
g_cartoon
.
createCartoonElementImageFunc
(
"
main-background-desk
"
,
"
hengban_bg
"
,
(
w
,
h
)
=>
{
return
{
sx
:
this
.
g_canvasWidth
/
w
,
sy
:
(
this
.
g_canvasHeight
/
2
-
315
*
this
.
g_mapScale
)
/
h
}
},
(
w
,
h
)
=>
{
return
{
x
:
this
.
g_canvasWidth
/
2
,
y
:
this
.
g_canvasHeight
/
2
+
315
*
this
.
g_mapScale
+
(
this
.
g_canvasHeight
/
2
-
315
*
this
.
g_mapScale
)
/
2
}
})
this
.
render
(
bg_Desk_bg
.
ref
,
zIndexMap
.
mainDesk
)
let
bg_Light
=
this
.
g_cartoon
.
createCartoonElementImageFunc
(
"
main-background-light
"
,
"
dengqiu1
"
,
(
w
,
h
)
=>
{
return
{
sx
:
1032
*
this
.
g_mapScale
/
w
,
...
...
@@ -894,7 +907,6 @@ export class PlayComponent implements OnInit, OnDestroy {
}
else
{
this
.
g_enableMapDown
=
true
;
}
return
}
this
.
g_cartoon
.
stopAllAudio
();
...
...
src/app/play/resources.js
View file @
7a23a03a
...
...
@@ -38,6 +38,7 @@ const localImages = {
'
hand
'
:
'
assets/play/hand.png
'
,
'
hand2
'
:
'
assets/play/hand2.png
'
,
'
hengban
'
:
'
assets/play/hengban.png
'
,
'
hengban_bg
'
:
'
assets/play/hengban_bg.png
'
,
'
huaban
'
:
'
assets/play/huaban.png
'
,
'
lianzi0
'
:
'
assets/play/lianzi0.png
'
,
'
lianzi3
'
:
'
assets/play/lianzi3.png
'
,
...
...
src/assets/play/hengban_bg.png
0 → 100644
View file @
7a23a03a
2.09 KB
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