Skip to content

A mini game present by Hippocampus team.

Notifications You must be signed in to change notification settings

shiki-wzx/Hippocampus

 
 

Repository files navigation

Ground Zero

原爆点

Hippocampus是一个过去的项目,我们直接在这个项目框架上开发。

Introduction

全新的项目,原爆点,一款拥有数量庞大剧情的游戏。

我们的目标平台是PC,Mobile,Console,包括了鼠标,触屏和手柄多种人体学接口设备。

开发团队始终以快速迭代,容易修改为核心理念。

游戏设计

  • 文档

如果你不能访问以下链接,请在issue中反馈。 https://www.yuque.com/nxym1s

  • Gound Zero Weekly

[GoundZeroWeekly地址: ./Documents/Ground Zero Weekly](./Documents/Ground Zero Weekly)

基于Redmine的协作平台

基于开源redmine,我们进一步添加了一些功能:

  • Checklist
  • 集成了Git,SVN

进一步的Task分配请访问团队网站。

技术

  • Heaven Gate

这次的技术重点是全新的剧情编辑器,Heave Gate,使用json作为存储格式,拥有一个独立的,基于IMGUI框架的跨平台编辑器,和一个置于Unity的运行时。对于Heaven Gate,请在Tools/imgui中查阅更多信息。

目前对于Heave Gate的需求是:

  1. 剧情分支,选项
  2. 查看历史记录,200条
  3. 文字着色
  4. 语速功能,调整文字出现的时间和打字机音效的速度
  5. 立绘位置可视化调整
  6. 文字控制符
  7. 快进已读文本

如果想到了新的内容请继续加在下面。

  • 近期动态
  1. Scenes的管理方式进行了极大修改

在Assets/Scenes中,现在有一个SceneLookupGenerator.exe,点击之后会生成SceneLookup.cs,其中存放了场景信息。

每次打开新场景的时候,都会直接更新Build Setting里的Scenes列表,因此不再需要手动调整了。

以后新建一个新场景之后,只要运行一下SceneLookupGenerator.exe,就可以了。

现在打开一个新的Scene时,都会以Scene名生成一个同名GameObject,可以把一些入口脚本放在其中。

  1. imgui已经被加入了Tools/imgui

  2. Heave Gate已经开始架构设计了,包含介绍文档和结构示意图。

介绍文档,在Documents/HeavenGate中。

结构示意图,建立在ProcessOn上,链接:

ProcessOn

网站浏览地址

加入协作需要注册ProcessOn。

使用 shadowsocks 加速 Mac 自带终端或iTerm 2

  1. 把json库放进了项目,已经可以读取json文件了

Json library Github from nlohmann

  1. 添加了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 Header Manager

之后在需要加入license的地方右键,选择license headers/Add License header


Archive Files

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.

如果您对于系统架构并不熟悉,请先阅读这份文档。


Project Introduction

Unity Version: 2018.2.20f1

Introduction to play

Setting Project

  • 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!

Collaborative Instructions

  1. ** clone remote repository** git clone https://github.com/kwh3884858/Hippocampus
  2. Enter the warehouse cd Hippocampus Switch to the repository
  3. View branch git branch If you are sure that you are on the master, there is no problem.
  4. Update the repository git pull
  5. Branch description, master is the main branch, dev is the development branch.
  6. Switch to development branch git checkout dev
  7. **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)
  8. 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.

format requirement

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


项目介绍

玩法介绍

协作指令

  1. 克隆远程仓库 git clone https://github.com/kwh3884858/Hippocampus
  2. 进入仓库 cd Hippocampus 切换到仓库里
  3. 查看分支 git branch 如果确定自己是在master就没问题。
  4. 更新仓库 git pull
  5. 分支说明master主分支 ,dev开发分支
  6. 切换到开发分支 git checkout dev
  7. 修改bug, 增加新功能
    • git add <filename> filename 也可以用*表示全部
    • git commit -m "message" message格式照下面
    • git push origin dev 推送自己的改动
    • git pull 抓取仓库的新提交 (如果推送失败先更新解决冲突)
  8. 日常开发 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

About

A mini game present by Hippocampus team.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 43.9%
  • C++ 36.2%
  • C 9.6%
  • C# 9.0%
  • Objective-C++ 0.7%
  • Objective-C 0.2%
  • Other 0.4%