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
8927f1fd
Commit
8927f1fd
authored
Jun 16, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
ef6bacb4
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
food-fell2.json
dist/customs/food-fell2.json
+1
-1
main.js
src/custom/food-fell2/debug/main.js
+3
-4
main.js.map
src/custom/food-fell2/debug/main.js.map
+1
-1
utils.ts
src/custom/food-fell2/src/game/utils.ts
+1
-1
No files found.
dist/customs/food-fell2.json
View file @
8927f1fd
This diff is collapsed.
Click to expand it.
src/custom/food-fell2/debug/main.js
View file @
8927f1fd
...
@@ -14,17 +14,15 @@
...
@@ -14,17 +14,15 @@
}
}
//# sourceMappingURL=props.js.map
//# sourceMappingURL=props.js.map
function
getTexture
(
uuid
)
{
return
engine
.
Texture
.
from
(
getAssetByUUID
(
uuid
).
uuid
);
}
function
getTextureByName
(
name
)
{
function
getTextureByName
(
name
)
{
return
getTexture
(
getAssetByName
(
name
).
uuid
);
return
engine
.
Texture
.
from
(
getAssetByName
(
name
).
uuid
);
}
}
function
createSvga
(
name
,
anchorName
)
{
function
createSvga
(
name
,
anchorName
)
{
var
inst
=
new
svga
.
Svga
();
var
inst
=
new
svga
.
Svga
();
inst
.
source
=
'asset://'
+
getAssetByName
(
name
).
uuid
;
inst
.
source
=
'asset://'
+
getAssetByName
(
name
).
uuid
;
return
inst
;
return
inst
;
}
}
//# sourceMappingURL=utils.js.map
var
Goods
=
(
function
(
_super
)
{
var
Goods
=
(
function
(
_super
)
{
tslib
.
__extends
(
Goods
,
_super
);
tslib
.
__extends
(
Goods
,
_super
);
...
@@ -351,6 +349,7 @@
...
@@ -351,6 +349,7 @@
};
};
return
GameView
;
return
GameView
;
}(
engine
.
Container
));
}(
engine
.
Container
));
//# sourceMappingURL=GameView.js.map
var
GameWrapper
=
(
function
(
_super
)
{
var
GameWrapper
=
(
function
(
_super
)
{
tslib
.
__extends
(
GameWrapper
,
_super
);
tslib
.
__extends
(
GameWrapper
,
_super
);
...
...
src/custom/food-fell2/debug/main.js.map
View file @
8927f1fd
This diff is collapsed.
Click to expand it.
src/custom/food-fell2/src/game/utils.ts
View file @
8927f1fd
...
@@ -7,7 +7,7 @@ export function getTexture(uuid) {
...
@@ -7,7 +7,7 @@ export function getTexture(uuid) {
}
}
export
function
getTextureByName
(
name
)
{
export
function
getTextureByName
(
name
)
{
return
getTexture
(
getAssetByName
(
name
).
uuid
);
return
engine
.
Texture
.
from
(
getAssetByName
(
name
).
uuid
);
}
}
export
function
playSound
(
name
)
{
export
function
playSound
(
name
)
{
...
...
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