Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new-kickball
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
wildfirecode13
new-kickball
Commits
0044ce7d
Commit
0044ce7d
authored
May 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c9ca18e9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
3 deletions
+37
-3
.gitignore
.gitignore
+1
-0
index.html
index.html
+4
-0
manifest.json
manifest.json
+9
-2
readme.md
readme.md
+23
-1
No files found.
.gitignore
0 → 100644
View file @
0044ce7d
debug
\ No newline at end of file
index.html
View file @
0044ce7d
...
...
@@ -30,5 +30,9 @@
window
[
'new-kickball'
].
startup
(
document
.
getElementById
(
'gameContainer'
),
options
);
},
100
);
</script>
<script>
document
.
write
(
'<script src="http://'
+
(
location
.
host
||
'localhost'
).
split
(
':'
)[
0
]
+
':35729/livereload.js?snipver=1"></'
+
'script>'
)
</script>
</body>
</html>
manifest.json
View file @
0044ce7d
...
...
@@ -4,7 +4,7 @@
"fps"
:
60
,
"designWidth"
:
750
,
"designHeight"
:
1334
,
"scaleMode"
:
"
showAll
"
,
"scaleMode"
:
"
fixedWidth
"
,
"modifyCanvasSize"
:
false
,
"resPath"
:
""
},
...
...
@@ -15,6 +15,13 @@
},
"entryScene"
:
"main"
},
"webServiceUrl-"
:
"http://10.10.93.204:7555 http://localhost:3010"
,
"webServiceUrl"
:
"http://localhost:4001"
},
"dataCenterConfig"
:
{
"dataCenterRoot"
:
[
"API"
,
"CFG"
]
}
}
\ No newline at end of file
readme.md
View file @
0044ce7d
1.
使用v0.0.30的create模板hello-scilla
\ No newline at end of file
# 环境
-
scilla editor v0.0.30
# 步骤
-
使用v0.0.30的create模板hello-scilla
-
使用scilla editor 打开
-
preview上的虫子按钮编译
-
运行成功
# livereload
-
index.html 增加
```
js
<
script
>
document
.
write
(
'<script src="http://'
+
(
location
.
host
||
'localhost'
).
split
(
':'
)[
0
]
+
':35729/livereload.js?snipver=1"></'
+
'script>'
)
<
/script>
```
-
sudo npm install -g livereload
-
livereload ./debug
# mock
-
npm run mock
# 配置
-
"scaleMode": "fixedWidth",
-
"webServiceUrl": "http://localhost:4001"
-
dataCenterConfig
\ No newline at end of file
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