Comments (3)
Yes, use Chinese as in e-mail. Content on github issue can help more people, I think.
from hex-wargame-javascript.
那么刚才邮件上的问题:
1、这个项目的后端是用什么写的呢?又是如何连接的,因为我把你的项目下载以后,哪个varp方法出不来东西,我寻思可能没连接上服务端?
2、刚才我打包下载了你更新后的项目,其中p_1_shock和princess_battle这两个包会报错,错误代码如下:
Traceback (most recent call last):
File "C:\Users\DELL\Documents\GitHub\Hex-Wargame-JavaScript\scenario\scenario_maker.py", line 306, in
model.parse(place=True)
File "C:\Users\DELL\Documents\GitHub\Hex-Wargame-JavaScript\scenario\scenario_maker.py", line 291, in parse
self.place_rewrite()
File "C:\Users\DELL\Documents\GitHub\Hex-Wargame-JavaScript\scenario\scenario_maker.py", line 220, in place_rewrite
unit=self.id_unit_dic[unit_id]
KeyError: 34
from hex-wargame-javascript.
1.没有后端,用jsonp就是为了本地直接打开*.html就可以正常读取剧本文件。读不出来的问题可能是我之前读取脚本的顺序不对,有时会读不出来。现在应该已经可以读出来了。
比如
file:///E:/agent4/git_test/debug/Hex-Wargame-JavaScript-master/game.html?varp=scenario/Assaye.js
可以直接换掉varp的值
file:///E:/agent4/git_test/debug/Hex-Wargame-JavaScript-master/game.html?varp=scenario/output.js
来读取新剧本。
2.我又下回来重试了一下,没有问题。你的命令行命令是什么?
from hex-wargame-javascript.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hex-wargame-javascript.