摘要: 暂不考虑开发场地等复杂的东西,我们先从人物角色下手, 角色很简单,就俩个,恐怖份子、警察,他们除了角色不同,其它基本都 一样,每个人都有生命值、武器等。 咱们先用非OOP的方式写出游戏的基本角色 引子 你现在是一家游戏公司的开发人员,现在需要你开发一款叫做<人狗大战>的游戏,你就思考呀,人狗作战,那 阅读全文
posted @ 2016-11-20 21:52 wangmo 阅读(1054) 评论(0) 推荐(0)
摘要: The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return codes. This module intends 阅读全文
posted @ 2016-11-20 21:26 wangmo 阅读(1758) 评论(0) 推荐(0)