Godot Engine

Godot Engine

Not enough ratings
Getting Latest Dev-Build (Windows)
By Ivan
This guide will show you how to get the latest development build of Godot Engine for Windows computers. :)
   
Award
Favorite
Favorited
Unfavorite
Required Tools
In order to get the latest development build, you will need a few tools in order to compile the source code.

The following tools are required
  1. Visual C++, Visual C++ Express, Visual Studio 2010, Visual Studio 2013 or Visual Studio Community 2015[www.visualstudio.com] (Used for compiling)
  2. Python 2.7.x[www.python.org] (Using the 32-bits installer is recommended)
  3. SCons[scons.org]
Make sure to install Python 2.7.x before SCons, as SCons installs itself inside Python and creates “scons.bat”.

Adding SCons to Path
In order to compile it, we have to make sure the path to “C:\Python27\Scripts\” is added to Path variable inside the “Environment Variables”.

  1. Start typing in “path” or “Environment” in the search bar and select “Edit environment variables for your account”.



  2. In Environment Variables; scroll down and find “Path” and double click it.



  3. Look and see if the path to “C:\Python27\Scripts\” is already added (just in case). If it is not already there, add it to the end of the line. Make sure to add a separator ; infront of it as demonstrated in the image blow.
Compiling the source code
  1. Download the source code[github.com][color=red]*[/color] , open it and place it where you want it (usually where you install other software)

  2. Open command prompt by typing in cmd in windows search and hit enter

  3. Navigate[color=red]**[/color] to the root of your source code and type in
    “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat” && scons platform=windows bit=64 -j 4
    (change to bit=32 if you use a 32 bit windows computer. -j 4 is for multithreading; 4 threads)

  4. If there are no errors, it will start compiling; Wait until it is done

If everything is done correctly, the command prompt window should starts scrolling with a lot of unreadable text. Once it is done you should get an message telling you it is finished.
For extra documentation using SCons with Godot Engine; open the command prompt (cmd), navigate to the godot-master folder and type in scons -h


[color=red]*[/color] In order to download the source code, click "Download Zip".

[color=red]**[/color] Type in cd <path> in order to navigate using command promt
Godot Engine Documentation
I would highly recommend you actively use the official Godot Engine documentation[docs.godotengine.org] that is available on their web-site[godotengine.org]. They have just recently updated it, so it is packed with useful information. :)

Questions and answers can be found in their Q&A section[godotengine.org], so it is highly recommended you register an account there if you want to become an Godot engine dev, or to simply ask questions to get help.
1 Comments
VikramVicky Sep 13, 2018 @ 1:52pm 
I'm using 2.1.5 because of opengl 2. I downloaded the nightly build (https://hugo.pro/projects/godot-builds/) but they are not working for me. Window hangs after project list.
Thanks for this guide...
I think its time to learn compiling source code...