Thrive

The main repository for the development of the evolution game Thrive.

Github星跟踪图

Thrive

This is the code repository for Thrive. For more information, visit
Revolutionary Games' Website.

Overview

Repository structure:

  • assets: This folder contains all the assets such as models and other binaries. The big files in this folder use Git LFS in order to keep this repository from bloating. You need to have Git LFS installed to get the files.
  • doc: Documentation files. Contains style guide, engine overview and other useful documentation.
  • scripts: AngelScript scripts that contain part of the codebase. Scripts are used for easier development and code here can then later be transferred to the C++ base for performance.
  • src: The C++ code base containing the common helper classes and gameplay code moved to C++.
  • test: Contains tests that will ensure that core parts work correctly. These are currently really lacking.

Getting Involved

Depending on what you want to contribute, you need to take different steps
to get your development environment set up.

Read the contribution guidelines first. If you need
help please ask on our
forums
.

There are also other useful documents in the doc folder not mentioned here.

Script Authors

If you only want to modify the AngelScript scripts, you can obtain a
working copy of the game from official releases here,
alternatively you can request a newer version from developers or compile the project yourself.

Be sure to have a look at the styleguide,
both for guidelines on code formatting and git usage.
And AngelScript primer for scripting help.

C++ Programmers

To compile Thrive yourself, you will need to follow the setup instructions.

Be sure to have a look at the styleguide,
both for guidelines on code formatting and git usage.

Modellers, texture and GUI artists, and Sound Engineers

To work on the art assets you will want a working copy of the game.
You can find official releases here,
alternatively you can request a newer version from developers, or compile the project yourself.

After you have obtained a working version of the game, you can place any new assets in the corresponding subdirectories:
bin/Data/Sound, bin/Data/Models, or bin/Data/Textures. The game will automatically detect your new files,
which you can then use in scripts.
An example of modifying a script to use your model would be to open scripts/microbe_stage/organelle_table.as with a text editor and
find 'nucleusParameters.mesh = "nucleus.fbx";' that sets the model used by the nucleus and change that to your new model file.
Similarly you can find sections of the scripts that use other assets and replace the assets they use.
If you are replacing an imported asset file (file extension .asset) you need to use the import tool to convert
it before the game can use the file. Also if you are adding a new asset that needs to be in converted form (models, textures,
shaders, etc.) you need to convert the file before using.

If you are truly uncomfortable with editing scripts you can simply try stealing the names of existing assets. For example
going into the sound subdirectory and stealing the name "microbe-theme-1.ogg" by renaming your new sound-file to that and the
game will then play that sound instead.

To contribute assets you can contact a developer and provide that person with your assets and the developer can add the assets to
the official repository. It will at a later time be possible to commit to
Git LFS server yourself, currently it is limited to only Thrive developers. Note that you must have Git LFS installed.

Extra note for modellers:
You should export your model in FBX format from blender or other
modelling software you use, and then use the import
tool
to convert the model to an usable form. If you
are importing a model with a skeleton or morph animations you'll need
a special import configuration file.

主要指标

概览
名称与所有者Revolutionary-Games/Thrive
主编程语言C#
编程语言Ruby (语言数: 12)
平台
许可证Other
所有者活动
创建于2012-08-30 15:31:36
推送于2025-04-22 13:18:44
最后一次提交2025-04-22 15:18:42
发布数48
最新版本名称v0.8.1.1 (发布于 )
第一版名称v0.2.3 (发布于 )
用户参与
星数3.1k
关注者数85
派生数530
提交数8.6k
已启用问题?
问题数2903
打开的问题数687
拉请求数2847
打开的拉请求数8
关闭的拉请求数320
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?