From 78bb461ec8a843c82991ffd37c3476e1b3eacf38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E7=91=97=E6=9D=B0?= <3695888@qq.com> Date: Sat, 5 Dec 2020 14:57:43 +0800 Subject: [PATCH] updates --- README.md | 4 +++- SR-PY.py | 1 + configs/window.json | 9 ++++++++- docs/README-cn.md | 4 +++- docs/{ => configes sample}/key_config.json | 0 docs/configes sample/window.json | 10 ++++++++++ 6 files changed, 25 insertions(+), 3 deletions(-) rename docs/{ => configes sample}/key_config.json (100%) create mode 100644 docs/configes sample/window.json diff --git a/README.md b/README.md index 142ef30..4b4ddb4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # SR +### Vision 0.1 + [中文](https://github.com/shenjackyuanjie/SR/blob/main/docs/README-cn.md) > It's a Simple Rocket liked game build with Python @@ -12,7 +14,7 @@ Nope. Not even one # Environment -- `Python 3.8.5` `Windows10 x64` +- `Python 3.8.5` `Windows10 x64` `Pyglet 1.5.7` ## Required python modules diff --git a/SR-PY.py b/SR-PY.py index f60b426..7011558 100644 --- a/SR-PY.py +++ b/SR-PY.py @@ -5,6 +5,7 @@ mail: 3695888@qq.com import pyglet import libs +import json def main(): pass diff --git a/configs/window.json b/configs/window.json index 544b7b4..4623d8a 100644 --- a/configs/window.json +++ b/configs/window.json @@ -1,3 +1,10 @@ { - + "size" : { + "x" : "1024", + "y" : "768", + "fullscreen" : "False" + }, + "caption" : "Simple Rocket 0.1", + "visible" : "True", + "style" : "None" } \ No newline at end of file diff --git a/docs/README-cn.md b/docs/README-cn.md index 4ae31af..f1b0200 100644 --- a/docs/README-cn.md +++ b/docs/README-cn.md @@ -1,5 +1,7 @@ # SR +### 版本 0.1 + [English](https://github.com/shenjackyuanjie/SR) > 这是一个用Python制作的类Simple Rocket游戏 @@ -12,7 +14,7 @@ # 环境需求 -- `Python 3.8.5` `Windows10 x64` +- `Python 3.8.5` `Windows10 x64` `Pyglet 1.5.7` ## 需要的Python模块 diff --git a/docs/key_config.json b/docs/configes sample/key_config.json similarity index 100% rename from docs/key_config.json rename to docs/configes sample/key_config.json diff --git a/docs/configes sample/window.json b/docs/configes sample/window.json new file mode 100644 index 0000000..ce1e4e8 --- /dev/null +++ b/docs/configes sample/window.json @@ -0,0 +1,10 @@ +{ + "size" : { + "x" : "int", + "y" : "int", + "fullscreen" : "bool" + }, + "caption" : "xxx", + "visible" : "bool", + "style" : "xxx(in list)" +} \ No newline at end of file