Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-engine
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-engine
Commits
be9ea4f9
Commit
be9ea4f9
authored
May 26, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
551e93a9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
engine.js
debug/engine.js
+8
-3
engine.js.map
debug/engine.js.map
+1
-1
Loader.ts
src/2d/loader/Loader.ts
+0
-2
Image.ts
src/zeroing/game-warpper/nodes/Image.ts
+0
-1
No files found.
debug/engine.js
View file @
be9ea4f9
...
...
@@ -14692,10 +14692,8 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
Loader
.
prototype
.
cache
=
function
(
name
,
data
)
{
if
(
this
.
caches
[
name
])
;
this
.
caches
[
name
]
=
data
;
console
.
log
(
this
.
caches
);
};
Loader
.
prototype
.
get
=
function
(
name
)
{
console
.
log
(
this
.
caches
);
return
this
.
caches
[
name
];
};
return
Loader
;
...
...
@@ -15309,6 +15307,14 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
return
w
;
}
};
TextField
.
prototype
.
_calculateBounds
=
function
()
{
var
_a
=
this
.
_localBoundsSelf
,
width
=
_a
.
width
,
height
=
_a
.
height
;
var
matrix
=
this
.
transform
.
worldMatrix
;
this
.
_bounds
.
x
=
matrix
.
tx
;
this
.
_bounds
.
y
=
matrix
.
ty
;
this
.
_bounds
.
width
=
width
;
this
.
_bounds
.
height
=
height
;
};
TextField
.
prototype
.
updateTexture
=
function
()
{
var
canvas
=
this
.
canvas
;
var
texture
=
this
.
_texture
;
...
...
@@ -18972,7 +18978,6 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
if
(
url
.
indexOf
(
assetScheme
)
===
0
)
{
url
=
url
.
replace
(
assetScheme
,
''
);
if
(
exports
.
editorMode
)
{
console
.
log
(
"assetResolver(url)"
,
exports
.
assetResolver
(
url
));
url
=
exports
.
assetResolver
(
url
);
}
}
...
...
debug/engine.js.map
View file @
be9ea4f9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/2d/loader/Loader.ts
View file @
be9ea4f9
...
...
@@ -117,11 +117,9 @@ export class Loader extends EventDispatcher {
//console.log("覆盖原先数据:" + name);
}
this
.
caches
[
name
]
=
data
;
console
.
log
(
this
.
caches
)
}
get
(
name
:
string
)
{
console
.
log
(
this
.
caches
)
return
this
.
caches
[
name
];
}
}
...
...
src/zeroing/game-warpper/nodes/Image.ts
View file @
be9ea4f9
...
...
@@ -48,7 +48,6 @@ export class Image extends Sprite implements IUIComponent {
}*/
if
(
editorMode
)
{
console
.
log
(
"assetResolver(url)"
,
assetResolver
(
url
))
url
=
assetResolver
(
url
);
}
}
...
...
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