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
fb639686
Commit
fb639686
authored
Dec 11, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eafd3468
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
2 deletions
+17
-2
pictures.json
dist/customs/pictures.json
+1
-1
main.js
src/custom/pictures/debug/main.js
+8
-0
main.js.map
src/custom/pictures/debug/main.js.map
+1
-1
GameView.ts
src/custom/pictures/src/game/GameView.ts
+7
-0
No files found.
dist/customs/pictures.json
View file @
fb639686
This diff is collapsed.
Click to expand it.
src/custom/pictures/debug/main.js
View file @
fb639686
...
@@ -207,6 +207,14 @@
...
@@ -207,6 +207,14 @@
w
=
W
/
MAX_COL
;
w
=
W
/
MAX_COL
;
h
=
H
/
MAX_ROW
;
h
=
H
/
MAX_ROW
;
console
.
log
(
'onSteup'
,
props
);
console
.
log
(
'onSteup'
,
props
);
if
(
this
.
picturesWrapper
)
{
try
{
this
.
removeChild
(
this
.
picturesWrapper
);
}
catch
(
err
)
{
console
.
error
(
err
);
}
}
var
parent
=
new
engine
.
Sprite
();
var
parent
=
new
engine
.
Sprite
();
this
.
picturesWrapper
=
parent
;
this
.
picturesWrapper
=
parent
;
this
.
addChild
(
parent
);
this
.
addChild
(
parent
);
...
...
src/custom/pictures/debug/main.js.map
View file @
fb639686
This diff is collapsed.
Click to expand it.
src/custom/pictures/src/game/GameView.ts
View file @
fb639686
...
@@ -216,6 +216,13 @@ export default class GameView extends engine.Container {
...
@@ -216,6 +216,13 @@ export default class GameView extends engine.Container {
console
.
log
(
'onSteup'
,
props
);
console
.
log
(
'onSteup'
,
props
);
if
(
this
.
picturesWrapper
)
{
try
{
this
.
removeChild
(
this
.
picturesWrapper
)
}
catch
(
err
){
console
.
error
(
err
)
}
}
const
parent
=
new
engine
.
Sprite
();
const
parent
=
new
engine
.
Sprite
();
this
.
picturesWrapper
=
parent
;
this
.
picturesWrapper
=
parent
;
this
.
addChild
(
parent
);
this
.
addChild
(
parent
);
...
...
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