Compare commits
5 Commits
6b0e81c5f8
...
1676dab6a3
Author | SHA1 | Date |
---|---|---|
|
1676dab6a3 | |
|
e142121735 | |
|
a74fc40c87 | |
|
e8cd6e04d9 | |
|
82bbe0fbc3 |
|
@ -29,15 +29,16 @@ Please Report Bugs to eliasfleckenstein@web.de.
|
|||
### Platform Compability
|
||||
This Game was developed on linux, therefore following instructions are only for linux users, basically because I have no idea how to port the game to other platforms. Feel free to add building instructions for other systems over github.
|
||||
### Download
|
||||
You can download the game using git:
|
||||
You can download the game using git:
|
||||
`$ git clone https://github.com/EliasFleckenstein03/dragonblocks.git`
|
||||
### Dependencies:
|
||||
You need Freeglut, OpenGl, Cmake, Liblua and Libpng. If you are on Debian/Ubuntu You can install them over apt:
|
||||
You need Freeglut, OpenGl, Cmake, Liblua and Libpng.
|
||||
If you are on Debian/Ubuntu You can install them over apt:
|
||||
`$ sudo apt install liblua5.3-dev freeglut3-dev libgl1-mesa-dev cmake libpng-dev`
|
||||
### Building
|
||||
to Build dragonblocks run:
|
||||
`$ cmake .`
|
||||
`$ make`
|
||||
`$ make`
|
||||
### Exectute
|
||||
#### Run-In-Place
|
||||
Invoke dragonblocks by typing:
|
||||
|
|
BIN
bin/dragonblocks
BIN
bin/dragonblocks
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
local cpp_last_node = 0
|
||||
function cpp_get_next_node()
|
||||
cpp_last_node = cpp_last_node + 1
|
||||
return core.nodes[cpp_last_node]
|
||||
end
|
|
@ -4,8 +4,6 @@ dragonblocks.settings = {}
|
|||
dofile("builtin/register.lua")
|
||||
dofile("builtin/functions.lua")
|
||||
|
||||
dofile("game/init.lua")
|
||||
|
||||
local popenfile = io.popen("ls mods")
|
||||
for modname in popenfile:lines() do
|
||||
dofile("mods/" .. modname .. "/init.lua")
|
||||
|
|
|
@ -4,4 +4,4 @@ dragonblocks.log("| | | | '__/ _` |/ _` |/ _ \\| '_ \\| '_ \\| |/ _ \\ / __| |/
|
|||
dragonblocks.log("| |_| | | | (_| | (_| | (_) | | | | |_) | | (_) | (__| <\\__ \\ ")
|
||||
dragonblocks.log("|____/|_| \\__,_|\\__, |\\___/|_| |_|_.__/|_|\\___/ \\___|_|\\_\\___/ ")
|
||||
dragonblocks.log(" |___/ ")
|
||||
dofile("game/nodes.lua")
|
||||
dofile("mods/dragonblocks/nodes.lua")
|
|
@ -21,7 +21,7 @@
|
|||
#define CODE_LIGHTBLUE 6
|
||||
#define CODE_GREY 7
|
||||
|
||||
#define VERSION "3.1-dev"
|
||||
#define VERSION "3.2-dev"
|
||||
|
||||
class Game{
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue