-
Notifications
You must be signed in to change notification settings - Fork 10
引擎开发者文档
何雨航 edited this page Jun 28, 2018
·
3 revisions
游戏脚本<>脚本服务器
==管道客户端<>管道<>ipcMain/webContents
==ipcRenderer<>网页渲染器
Era.js
├── engine 游戏引擎文件夹
│ ├── css 游戏引擎前端样式
│ │ └── bootstrap.min.css (默认使用Bootstrap)
│ ├── js 游戏引擎前端代码库
│ │ ├── bootstrap.min.js (默认使用Bootstrap)
│ │ ├── jquery-3.3.1.slim.min.js (默认使用Bootstrap)
│ │ └── popper.min.js (默认使用Bootstrap)
│ ├── era.js 游戏引擎前端
│ ├── game.py 游戏引擎后端(API)
│ ├── index.html 游戏前端模板
│ └── main.js 游戏引擎前端的后端/中间件
├── src 游戏脚本文件夹
│ └── lib_base.py 游戏基础功能包
├── .gitignore
├── client.bat 游戏引擎调试入口
├── Debug.bat 调试入口
├── LICENSE
├── package.json 应用包信息
├── README.md
├── script.py 游戏脚本入口(游戏开发从这里开始)
├── server.bat 游戏脚本调试入口
├── setup.py 游戏的打包与发布功能
├── 玩家文档.md
├── 引擎开发者文档.md
└── 游戏开发者文档.md
- 引擎使用的程序语言及技术
- Python(服务端)
- socket(通信)
- Javascript(客户端)
- net(通信)
- Electron(GUI)
- Python(服务端)
- 引擎使用的信息传递架构
- 服务端-管道-客户端
- 即:游戏脚本-socket-net-Electron 主进程-ipcMain/webContents-ipcRenderer-Electron 渲染进程