Game Screeps - IDE Integration

可紊 提交于 2019-12-10 08:21:10

问题


I'm playing Screeps (http://screeps.com/) Simulation Room mode. I've been testing some scripts and I don't want to only save them to my local browser, I want to use an IDE to develop the code and push it to my github account. Is it possible to do it?


回答1:


One way is to set up "sync from repository" under "GitHub Integration" in your Screeps "Account Settings".

Once this is done any IDE that pushes to that repository will be autmatically pulled into your account and executed. This will affect the world and simulation scripts.




回答2:


So far there is no official way to integrate an IDE to Screeps. But this reddit user has created a node.js script that can sync your local filesystem to your Screeps internal editor. If the IDE has git support, it's then possible to push the code to github.




回答3:


It is also possible with grunt tasks. See http://support.screeps.com/hc/en-us/articles/203022512-Commiting-local-scripts-using-Grunt



来源:https://stackoverflow.com/questions/27177456/game-screeps-ide-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!