An open source third person action RPG with multiplayer support.
Go to file
2021-08-30 17:45:40 +02:00
.github After a lot of thinking I created/added a parteon and ko-fi link in case someone want to support me doing all of this insanity. 2021-08-12 16:49:27 +02:00
game Remove the nameplate if the entity gets controlled by the player and it wasn't before. 2021-08-30 17:45:40 +02:00
patches Added a patch for voxelman to make the spatial editor plugin work again, if the skeleton editor plugin patch is applied, as it changes forward_spatitial_gui_input. It gets applied automatically after the skeleton editor plugin patch. 2021-02-23 10:25:11 +01:00
pictures New screenshots. Also fixed .jpg.jpg. 2021-08-08 21:20:21 +02:00
tools Fix emsdk_env's location, and also comment that line out as it doesn't work properly anymore. (Still useful to have it there that's why I'm keeping it.) 2021-08-08 20:39:21 +02:00
.gitignore Added scripts to help with creating releases. 2020-09-03 14:49:11 +02:00
build_ios_release.sh Removed the 2d build option from the scripts. Also removed the old setup scripts. 2020-01-02 23:11:26 +01:00
build_ios.sh Removed the 2d build option from the scripts. Also removed the old setup scripts. 2020-01-02 23:11:26 +01:00
build_osx.sh Removed the 2d build option from the scripts. Also removed the old setup scripts. 2020-01-02 23:11:26 +01:00
build_pi.sh Added build_pi.sh. 2021-04-24 09:13:02 +02:00
build_uwp.bat Removed the 2d build option from the scripts. Also removed the old setup scripts. 2020-01-02 23:11:26 +01:00
build.config.example Remove deprecated stuff from the build.config.example. 2021-08-08 18:23:40 +02:00
editor.bat Changed the license to MIT. 2019-12-22 19:20:38 +01:00
editor.sh Add 2 more helper scripts. 2020-08-16 18:20:56 +02:00
export_all.sh Added the pi4 export to the esport all script. Also now it will add the export templates into a separate folder, for ease. 2021-04-24 09:15:19 +02:00
ged.sh Remove -v flag from the game editor script. 2021-04-27 18:04:42 +02:00
HEADS Updated ESS to get a small property hint fix for EntityCreateInfo. 2021-08-30 00:35:10 +02:00
LICENSE Update copyright headers. 2021-04-15 11:52:32 +02:00
make_release.sh Added the pi4 editor, pi4 export, and the export templates to the make_release.sh. 2021-04-24 09:25:37 +02:00
Makefile Moved the vscode files under a new tools folder. Added a compilation db patch (it's one of godot's pull requests), the setup script can apply it via running scons p. Added a test makefile to call scons. 2020-02-12 01:23:12 +01:00
play.sh Add 2 more helper scripts. 2020-08-16 18:20:56 +02:00
podman_build_all.sh Fix the javascript build commands in podman_build_all.sh. 2021-08-28 12:57:57 +02:00
README.md New screenshots. Also fixed .jpg.jpg. 2021-08-08 21:20:21 +02:00
SConstruct Added the run command to the build config so for example emsdk_env can be sourced automatically before a build when needed, as now godot's build script works differently. 2021-08-08 18:11:46 +02:00

Broken Seals

A 3D third person RPG. With both multiplayer, and singleplayer capabilities.

The main gameplay-loop goal is to create an experience with enough complexity and depth, that can rival the more old-school MMO- and action rpgs, because nowadays I feel like that is something that got lost.

I want the game to run on every platform, but the game design is PC first. From the testing I've done this is not going to be an issue.

On Desktop

Broken Seals desktop

On Touchscreens

Broken Seals on touchscreen

Editing the game

In order for you to open the game in the editor you will need a custom built version, with a few engine modules built in.

You can check the releases tab to grab one, but since the project still changes a lot on the c++ side, if you get it there, also get the relevant game project.

At the moment I don't have nightlies, I do plan on setting up something that could create them (github actions maybe?) eventually.

If you want to use master, you will need to build the project yourself for now, but don't worry, Godot is surpisingly easy and hassle free to compile! See here.

After you have the engine with the required modules, you can go ahead, and just open the project inside the game folder.

Usually after the initial import it will need a restart, however everything should work after that.

The required engine modules

These are the required engine modules, they are listed here for completeness`s sake, the project's setup script will install these for you automatically! See the Compiling section.

https://github.com/Relintai/world_generator.git
https://github.com/Relintai/entity_spell_system.git
https://github.com/Relintai/ui_extensions.git
https://github.com/Relintai/voxelman.git
https://github.com/Relintai/texture_packer.git
https://github.com/Relintai/godot_fastnoise.git
https://github.com/Relintai/mesh_data_resource.git
https://github.com/Relintai/procedural_animations.git
https://github.com/Relintai/props.git
https://github.com/Relintai/mesh_utils.git
https://github.com/Relintai/broken_seals_module.git
https://github.com/Relintai/thread_pool.git

Compiling

First make sure, that you have everything installed to be able to compile the engine. See: See the official docs for compiling Godot for more info.

Now let's clone this repository:

git clone https://github.com/Relintai/broken_seals

cd into the new folder:

cd broken_seals

Now let's run the project's setup script, by calling scons without arguments.

scons

This will clone and setup the engine, and all of the required modules into a new engine folder inside the project, using http.

(If you want to use the github's ssh links append repository_type=ssh like scons repository_type=ssh)

Once it is done you can compile the engine, either by going into the engine folder and following the official docs, or by using build words without changing directories.

Once the build finishes you can find the editor executable inside the ./engine/bin/ folder, but you can also run it using the provided editor.sh, or editor.bat (These will create a copy, so you can compile while the editor is running).

Build words

The project's setup script contains support for "build words". These can be used from the root of this project.

For example to build the editor for windows with 4 threads you can use:

scons bew -j4

The first argument must start with b (build), then it needs to be followed by a few abbreviations (the order does not matters)

The rest of the arguments will be passed directly to godot's scons script.

Editor

Append e to build with tools=yes a.k.a. the editor.

scons bew -j4

if you omit e, the system will build the export template for you. For example:

scons bw -j4

This will be the release_debug windows export template.

Platform abbreviations

l: linux
w: windows
a: android
j: Javascript
i: iphone (Not yet finished, use build_ios.sh, and build_ios_release.sh)
Mac OSX: Not yet finished, use build_osx.sh

Target abbreviations

By default the system builds in release_debug.

Append d for debug, or r for release.

scons bewd -j4

build editor windows debug

scons bwr -j4

build windows release (this will build the windows release export template)

Shared modules

Note: This only works on linux!

append s to the build string.

Optionally you can also make the build system only build a target module, by appending one of these:

E: Entity Spell System
T: Texture Packer
V: Voxelman
W: World Generator
P: Procedural Animations

Example:

scons belsE -j4

build editor linux shared (Entity Spell System) with 4 threads

Note: to easily run the editor you can use the editor.sh or editor.bat in the root of the project.

Other

Append v to pass the vsproj=yes parameter to the build script. This will generate Visual Studio project files.

Postfixes

There are a few postfixes for the build words. These are more complex options. You have to append them to your build word with an underscore.

You can use as many as you want.

For example:

scons bel_slim_latomic -j4

slim

With this postfix you can build a slimmed down version of the engine. This disables quite a few unneeded modules.

scons bel_slim -j4

latomic

If you get linker errors while building the game/editor about undefined referenced with atomic related functions you can use this postfix. It will add the -latomic command line switch to the linker flags.

I ran into this issue while building on a raspberry pi 4 with the x11 platform. It might be related to the recent reworks to threading.

scons bel_latomic -j4

strip

Appends debug_symbols=no to the build command, which will strip the resulting binary from debug symbols.

scons bel_strip -j4

Patches

The build script can apply optional patches. They work similarly to build words, except this time the word has to start with p, and then it has to be followed by the desired patch characters.

Like scons ps

They will not create new commits to the engine, so they can easily be removed.

SkeletonEditor

To apply the SkeletonEditor patch append s after the p, like scons ps.

This is a patch made from the skeleton editor backport. See: https://github.com/TokageItLab/godot/commits/pose-edit-mode-fixedup and https://github.com/godotengine/godot/pull/45699

Scons cache, and sdk locations

In order to use scons cache and to tell the build system where some of the required sdks are located you usually have to use environment variables. Most of the time you might just want to add them globally, howewer this is sometimes unfeasible (e.g. you don't have administrator access, or you just want to have multiple sdk versions installed).

In order to solve this a build config file was added.

If you want to use the config simply rename the provided build.config.example to build.config, and customize the settings inside.

Pulling upstream changes

First pull the changes by calling

git pull orgin master

Then just run scons, to will update the modules.

Upgrading the modules

Note: this is how to update the HEADS file. Normally you don't need to do this.

If you want to update the modules, and the engine to the latest, you can use (action=update):

scons a=u

You can also update different targets: all, engine, modules, all_addons, addons, third_party_addons

For example to update the engine to the latest: scons a=u target=engine