原爆点
Hippocampus是一个过去的项目,我们直接在这个项目框架上开发。
全新的项目,原爆点,一款拥有数量庞大剧情的游戏。
我们的目标平台是PC,Mobile,Console,包括了鼠标,触屏和手柄多种人体学接口设备。
开发团队始终以快速迭代,容易修改为核心理念。
- 文档
如果你不能访问以下链接,请在issue中反馈。 https://www.yuque.com/nxym1s
- Gound Zero Weekly
[GoundZeroWeekly地址: ./Documents/Ground Zero Weekly](./Documents/Ground Zero Weekly)
基于开源redmine,我们进一步添加了一些功能:
- Checklist
- 集成了Git,SVN
进一步的Task分配请访问团队网站。
- Heaven Gate
这次的技术重点是全新的剧情编辑器,Heave Gate,使用json作为存储格式,拥有一个独立的,基于IMGUI框架的跨平台编辑器,和一个置于Unity的运行时。对于Heaven Gate,请在Tools/imgui中查阅更多信息。
目前对于Heave Gate的需求是:
- 剧情分支,选项
- 查看历史记录,200条
- 文字着色
- 语速功能,调整文字出现的时间和打字机音效的速度
- 立绘位置可视化调整
- 文字控制符
- 快进已读文本
如果想到了新的内容请继续加在下面。
- 近期动态
- Scenes的管理方式进行了极大修改
在Assets/Scenes中,现在有一个SceneLookupGenerator.exe,点击之后会生成SceneLookup.cs,其中存放了场景信息。
每次打开新场景的时候,都会直接更新Build Setting里的Scenes列表,因此不再需要手动调整了。
以后新建一个新场景之后,只要运行一下SceneLookupGenerator.exe,就可以了。
现在打开一个新的Scene时,都会以Scene名生成一个同名GameObject,可以把一些入口脚本放在其中。
-
imgui已经被加入了Tools/imgui
-
Heave Gate已经开始架构设计了,包含介绍文档和结构示意图。
介绍文档,在Documents/HeavenGate中。
结构示意图,建立在ProcessOn上,链接:
加入协作需要注册ProcessOn。
使用 shadowsocks 加速 Mac 自带终端或iTerm 2
- 把json库放进了项目,已经可以读取json文件了
Json library Github from nlohmann
- 添加了license Header
//
//Copyright (c) 2019 Star Platinum
//
//Created by Kong Wei Hang, 2019-11-17
//example_win32_directx11, HeavenGateEditor
//
//Add Description
//
这样的文本,license header已经加入到项目之中,需要下载一个vs插件使用
之后在需要加入license的地方右键,选择license headers/Add License header
Through the link, you can check and modify the document.
通过链接,你可以查看,并且修改文档
- TDD(Tech Design Document)技术设计文档
https://docs.qq.com/doc/DWXFJWVR2a3NWTVl3
If you are not familiar with the framework architecture, please read this document first.
如果您对于系统架构并不熟悉,请先阅读这份文档。
Unity Version: 2018.2.20f1
- At the first, you need open PorjectRoot/Tools
- Open terminal in this path, and input:
mono -s [Assets/your scenes root] -o [Assets/your scene root] -t [project root/tools path]
- Open project by unity, check [ Editor/Always Start From Scene GameRoot ], make sure its checked.
- Right click in [ Project ] window, click [ AssetBundles/BuildAssetbundles ].
- Good job! Now click play to start play demo game!
- ** clone remote repository**
git clone https://github.com/kwh3884858/Hippocampus
- Enter the warehouse
cd Hippocampus
Switch to the repository - View branch
git branch
If you are sure that you are on the master, there is no problem. - Update the repository
git pull
- Branch description,
master
is the main branch,dev
is the development branch. - Switch to development branch
git checkout dev
- **Modify bugs, ** Add new features
-
git add <filename>
filename can also use * to indicate all -git commit -m "message"
message format below -git push origin dev
push your own changes -git pull
fetches new commits from the repository (if the push fails, the update first resolves the conflict) - Daily development
git pull
and then connect 6, continue to iterative development
The master branch is merged by the administrator to prevent bugs from crashing in later projects. There is no need to roll back directly, and the master is a stable version. Every time dev updates new features and there are no bugs, the administrator merges once.
commit information inside: :
Type must have, body and footer optional.
Type:
- feat: new features
- fix: fix bug
- docs: documentation
- style: format (code function logic is unchanged)
- refactor: refactoring
- test: test file
- chore: changes to the aids
The common information is as follows:
git commit -m "fix: modify a certain bug"
`git commit -m "feat: add new features"
The footer can be omitted later, if the description is clear enough.
If you mistyped the information yourself
git commit --amend
Enter the modified commit message to save
git push <remote> <branch> -f
- 克隆远程仓库
git clone https://github.com/kwh3884858/Hippocampus
- 进入仓库
cd Hippocampus
切换到仓库里 - 查看分支
git branch
如果确定自己是在master就没问题。 - 更新仓库
git pull
- 分支说明,
master
是主分支 ,dev
是开发分支。 - 切换到开发分支
git checkout dev
- 修改bug, 增加新功能
git add <filename>
filename 也可以用*表示全部git commit -m "message"
message格式照下面git push origin dev
推送自己的改动git pull
抓取仓库的新提交 (如果推送失败先更新解决冲突)
- 日常开发
git pull
然后接6,不断迭代开发
master分支由管理员来合并,防止后期项目出现bug崩溃,不用回滚直接拉,并且master作为稳定版本,每一次dev更新新功能并且没有bug了,管理员合并一次。
commit 里面的信息 : :
type必须有,body跟footer选填。
type:
- feat:新功能
- fix:修复bug
- docs:文档
- style:格式(代码功能逻辑不变)
- refactor:重构
- test:测试文件
- chore:辅助工具的变动
常见的信息如下:
git commit -m "fix: 修改某某bug"
git commit -m "feat: 增加新功能"
后面footer可以省略,描述清楚就行了。
如果自己输错了信息
git commit --amend
输入修改后的commit message 保存
git push <remote> <branch> -f