https://github.com/trikko/blobeditor
A simple webassembly project using raylib
https://github.com/trikko/blobeditor
3d c raylib raylib-c
Last synced: 4 months ago
JSON representation
A simple webassembly project using raylib
- Host: GitHub
- URL: https://github.com/trikko/blobeditor
- Owner: trikko
- License: mit
- Created: 2020-11-02T11:02:23.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-22T23:00:23.000Z (over 2 years ago)
- Last Synced: 2025-04-03T16:45:11.422Z (6 months ago)
- Topics: 3d, c, raylib, raylib-c
- Language: C
- Homepage:
- Size: 6.28 MB
- Stars: 21
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BlobEditor
A simple webasm project using raylib. [Try it online now!](https://www.andreafontana.it/BlobEditor/)## Demo
[](https://www.andreafontana.it/BlobEditor/)# Build & run
BlobEditor uses emscripten to compile C code.## Step #1: Install emscripten
Follow instructions [here](https://emscripten.org/docs/getting_started/downloads.html)## Step #2: Clone this repository and its submodules
```git clone --recurse-submodules https://github.com/trikko/BlobEditor/```## Step #3: Compile everything
Make sure you activated the emscripten tools as explained [here](https://emscripten.org/docs/getting_started/downloads.html) if required. Let's compile the project:
```
cd BlobEditor
make
```## Step #4: Serve BlobEditor
You can't run webassembly from your filesystem, so you need to serve the ```html``` folder using a (local) webserver.For the sake of simplicity I use a very simple project written in [dlang](https://dlang.org) that you can start running the command ```dub``` inside the ```server``` folder (but you can use any webserver you like)