update readme

isolation_bkp/dynres
Dominik Madarász 2022-09-12 07:44:36 +00:00 committed by GitHub
parent a95606d21b
commit 9f72b44cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 5 deletions

View File

@ -51,6 +51,30 @@ In the abstract sense, we call the Server the game master hosting all gameplay r
# Build the project # Build the project
We use CMake to generate project files and manage builds. We use CMake to generate project files and manage builds.
## Web
We have a set of scripts ready for web development, these steps will get you up and running with a web build:
```sh
# Setup emsdk locally and configure a web project
web/setup.sh
# Build the web project
web/build.sh
# Host the files on a web server (Python3)
web/host.sh
```
## Desktop
### Pre-requisites
#### Linux
Follow [raylib-linux](https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux) guide to install dependencies on your system.
#### macOS
Follow [raylib-macos](https://github.com/raysan5/raylib/wiki/Working-on-macOS) guide to install dependencies on your system.
#### Windows
You need to have Visual Studio 2019+ installed on your system. Make sure to run the commands below in a VS Developer Command Prompt.
### Build
You can do the following on the command line to create and build this project: You can do the following on the command line to create and build this project:
```sh ```sh
git clone https://github.com/zpl-c/eco2d.git git clone https://github.com/zpl-c/eco2d.git
@ -61,10 +85,6 @@ cmake --build build
Run the following command to see all the options: Run the following command to see all the options:
```sh ```sh
Windows:
build\Debug\eco2d.exe -?
Linux:
build\eco2d.exe -? build\eco2d.exe -?
``` ```

View File

@ -16,7 +16,7 @@
// can use it in other systems // can use it in other systems
// NOTE(zaklaus): Register a block // NOTE(zaklaus): Register a block
#include "blocks/blocks_list.c" #include "world/blocks_list.c"
// NOTE(zaklaus): Register an item // NOTE(zaklaus): Register an item
#include "items_list.c" #include "items_list.c"