TerraCraft is a small SandBox game engine written in Python 3 + Pyglet.
The objectives of this project are as follows:
The intention is to create a small complete game focused exclusively on creative mode.
The project must remain simple, well documented (code and wiki) and easy to modify / improve for students and hobbyists. Keeping the code ordered is very important.
I would like to see this project turn into an educational tool. Kids love Minecraft and Python is a great first language.
This is a good opportunity to entertain children on programming.
We are writing a new wiki to help users collaborate on the project in an easy and productive way. If you have questions, suggestions or want to help us, please write to [email protected] or open a discussion here on Github in the "Issues" section.
The code should be well commented and more easily configurable. It should be easy to make some simple changes and see the results quickly.
Thank you all.
sudo pip3 install pyglet
git clone https://github.com/XenonLab-Studio/TerraCraft.git
cd TerraCraft
python3 main.py
On Mac OS X, you may have an issue with running Pyglet in 64-bit mode. Try running Python in 32-bit mode first:
arch -i386 python3 main.py
If that doesn't work, set Python to run in 32-bit mode by default:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
This assumes you are using the OS X default Python. Works on Lion 10.7 with the default Python 3.5+, and may work on other versions too. Please raise an issue if not.
See the wiki for this project to install Python, and other tips.
Warning! By pressing F12, the previous screenshot is automatically overwritten.
Copyright (C) 2013 Michael Fogleman Copyright (C) 2018-2019 Stefano Peris
eMail: [email protected] Github repository: https://github.com/XenonLab-Studio/TerraCraft
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.