Compare commits

...

5 Commits

Author SHA1 Message Date
Elias Fleckenstein 1676dab6a3 Some structure Changes 2020-04-25 19:39:09 +02:00
Elias Fleckenstein e142121735 Upload 2020-04-25 19:16:43 +02:00
Elias Fleckenstein a74fc40c87 Upload Files 2020-04-25 19:15:14 +02:00
Elias Fleckenstein e8cd6e04d9 Upload Files 2020-04-25 19:14:17 +02:00
EliasFleckenstein03 82bbe0fbc3
Update README.md 2020-04-25 19:08:44 +02:00
8 changed files with 6 additions and 12 deletions

View File

@ -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:

Binary file not shown.

View File

@ -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

View File

@ -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")

View File

@ -4,4 +4,4 @@ dragonblocks.log("| | | | '__/ _` |/ _` |/ _ \\| '_ \\| '_ \\| |/ _ \\ / __| |/
dragonblocks.log("| |_| | | | (_| | (_| | (_) | | | | |_) | | (_) | (__| <\\__ \\ ")
dragonblocks.log("|____/|_| \\__,_|\\__, |\\___/|_| |_|_.__/|_|\\___/ \\___|_|\\_\\___/ ")
dragonblocks.log(" |___/ ")
dofile("game/nodes.lua")
dofile("mods/dragonblocks/nodes.lua")

View File

@ -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: