This project is no longer actively developed or maintained.
Welcome to the Game Builder open-source repository. This is the source code to build Game Builder, an application that allows users to create games with little or no coding experience. We are excited to share the source code with the community and are looking forward to seeing what you will create!
This is not an officially supported Google product.
Unity 2018.4.12f1
It will probably work with later 2018.4.* versions, but this is the one we tested with. Unity 2019 is known to not work. If in doubt, use this exact version.
Python 2 to run code_gen scripts.
If you are using a Windows machine, you also need Git Bash (part of Git for Windows) to run shell scripts. If you are using a Mac, you don't need it: the built-in Terminal app is enough.
Assets/splash.unity
.To build a standalone, you must use the menu item Game Builder | Build
. Going through the normal Unity Build Settings window will not work. Once done, your build will be located under the build_output
folder.
We have included a reference build (builds/gamebuilder-OSS.7z
). This is the build that you should get if you simply build a Windows standalone as-is, without enabling any extra plugins.
For documentation about how the in-game scripting works, open the docs.html
file in a browser (after downloading/cloning this repository).
Game Builder was originally built using several Unity Asset Store plugins. We cannot include them in the repo, so by default the features that require them are disabled. However, we've set things up so it's easy to re-enable some features once you've purchased and imported some plugins (many are free!). Instructions for individual features are below.
Running shell scripts: Whenever these instructions mention that you must run a given shell script, it's implied that you must run it (e.g 'bash shellscript.sh') in Git Bash (or OSX terminal) at the root of the repository.
Define a C# directive: When these instructions tell you to "define a C# directive" this means adding a C# #define symbol. To do this:
File | Build Settings
Player Settings | Other Settings | Configuration
Scripting Define Symbols
text field (with a semi-colon before it)Photon Unity Networking - Enables multiplayer and collaborative-editing
NOTE: Because PUN integration is complex, we recommend you start with a fresh checkout of the codebase before following these steps. This reduces the likelihood of prefabs losing important property values after being edited without PUN.
First run the project as-is, freshly checked out, just to make sure it's working.
Don't forget to confirm TMPro's import dialog (import TMP Essentials).
Import the plugin from the Asset Store link above.
Define the directive USE_PUN
Close Unity before the next step
Run the shell script setup-photon.sh
Sign up for a PUN account (https://www.photonengine.com/)
In the PUN website, create a new application (type: Photon PUN)
Copy your new application's AppId.
Open the Unity project again and wait for importing to finish
Enter your AppId if prompted, but if not, go to the next step (the dialog might freeze while Unity imports assets, but don't worry, just wait until it finishes).
Finally, inspect the "PhotonServerSettings" asset and change the following:
Making sure it's all working:
Game Builder | Build
).New Project | Empty | Private MP
).Multiplayer | Use Join Code
).Crosstales File Browser - Enables the system file browser UI for local disk import/export features
USE_FILEBROWSER
.Poly Toolkit for Unity
To enable importing 3D models from Poly, you must enter an API Key for the Poly API.
You do NOT need to import the Poly SDK (Poly Toolkit). It's already included. All you need to do is enter your API key.
To do so, click the PtSettings.asset file in Unity (you will find it in Assets/third_party/PolyToolkit/Resources). The Inspector window will show several options for it. Click the RUNTIME tab, open the Auth Config section and enter your API Key, replacing the placeholder text "INSERT YOUR API KEY HERE".
For instructions on how to get an API key, see the Google Cloud Console. When you create your Google Cloud Console project, don't forget to enable the Poly API on it before (not after) generating your API Key.
Google Image Search
To enable Google Image Search in you Creation Library, you must setup a Custom Search Engine on Google Cloud Platform.
(Instructions assume basic familiarity with Google Cloud)
APIkey
variable at the top of GisSearchManager.csIf you want game-generated 2D graphics (that is, you want to allow games to show HUD text, draw shapes on the screen, etc).
Steam Workshop - If you are releasing on Steam and want to enable functionality like project sharing.
TriLib - To import FBX files with animation from Poly.
This plugin allows rendering of an HTML page inside of Game Builder, which enables you to use the Monaco-based code editor IDE.
USE_ZFBROWSER
setup-browser-assets.sh
In the builds
directory, you will also find the last build that we published to Steam (the gamebuilder-ARCHIVE.7z.*
files). This differs from the open-source build because it has several optional plugins enabled such as 2D UI, rich JS editor, etc.
See the LICENSE file for more details.
This repository does not currently accept pull requests, but you are welcome to fork it to make your own version of it, if you want to.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3