2014-09-24 01:12:16 +03:00
2014-09-20 03:02:25 +03:00
doc
2014-09-20 19:05:30 +03:00
2014-09-24 01:12:16 +03:00
2014-09-19 18:34:54 +03:00
2014-09-19 18:12:57 +03:00
2014-09-24 01:12:16 +03:00
2014-09-17 03:12:24 +03:00

Buildat - A minecraftlike with vast extendability.

Buildat doesn't actually even implement a minecraftlike by default. It just provides a lot of useful machinery for doing just that, with immense modding capabilities.

It wraps a safe subset of Urho3D's Lua API in a whitelisting Lua sandbox on the client side and runs runtime-compiled C++ modules on the server side.

Go ahead and write some modules and extensions, maybe the minecraftlike will exist in the near future!

Further reading: design.txt, conventions.txt

Buildat Linux How-To

Install dependencies

TODO

Get and build Urho3D

TODO

Build Buildat

$ export URHO3D_HOME=/path/to/urho3d
$ cd $wherever_buildat_is
$ mkdir Build  # Capital B is a good idea so it stays out of the way in tabcomplete
$ cd Build
$ cmake .. -DCMAKE_BUILD_TYPE=Debug
$ make -j4

You can use -DBUILD_SERVER=false or -DBUILD_CLIENT=false if you don't need the server or the client, respectively.

Run Buildat

Terminal 1:

$ $wherever_buildat_is/Build
$ bin/buildat_server -m ../test/testmodules

Terminal 2:

$ $wherever_buildat_is/Build
$ bin/buildat_client -s localhost

Modify something and see stuff happen

Edit something and then restart the client (CTRL+C in terminal 2):

$ cd $wherever_buildat_is
$ vim test/testmodules/minigame/client_lua/init.lua
$ vim test/testmodules/minigame/minigame.cppp
$ vim builtin/network/network.cpp

Buildat Windows How-To

Umm... well, you need to first port some stuff. Try building it and see what happens. Then fix it and make a pull request.

You probably want to use MinGW or Clang in order to bundle the compiler with the end result.

Description
No description provided
Readme 2.9 MiB
Languages
C++ 73.2%
Lua 21.4%
Python 2.3%
C 1.4%
CMake 1.3%
Other 0.4%