Commit 0044ce7d authored by wildfirecode's avatar wildfirecode

1

parent c9ca18e9
debug
\ No newline at end of file
...@@ -30,5 +30,9 @@ ...@@ -30,5 +30,9 @@
window['new-kickball'].startup(document.getElementById('gameContainer'), options); window['new-kickball'].startup(document.getElementById('gameContainer'), options);
}, 100); }, 100);
</script> </script>
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] +
':35729/livereload.js?snipver=1"></' + 'script>')
</script>
</body> </body>
</html> </html>
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"fps": 60, "fps": 60,
"designWidth": 750, "designWidth": 750,
"designHeight": 1334, "designHeight": 1334,
"scaleMode": "showAll", "scaleMode": "fixedWidth",
"modifyCanvasSize": false, "modifyCanvasSize": false,
"resPath": "" "resPath": ""
}, },
...@@ -15,6 +15,13 @@ ...@@ -15,6 +15,13 @@
}, },
"entryScene": "main" "entryScene": "main"
}, },
"webServiceUrl-": "http://10.10.93.204:7555 http://localhost:3010",
"webServiceUrl": "http://localhost:4001" "webServiceUrl": "http://localhost:4001"
},
"dataCenterConfig": {
"dataCenterRoot": [
"API",
"CFG"
]
} }
} }
\ No newline at end of file
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment