Bzz is to bzzzzz. Teach your bee to bzzzzz safely.
BZZ depends on:
- Raylib - raylib is a simple and easy-to-use library to enjoy videogames programming.
Download version 4.0.0 -> source code.
tar -xf raylib-4.0.0.tar.gzcd raylib-4.0.0cmake -Wno-dev .cmake --build .Finally:
Copy libraylib.a, raudio.h, raylib.h, raymath.h, rlgl.h to ./lib/ folder in this repo root.
Follow instruction from Emscripten web page.
If you are using OSX just brew the Emscripten brew install emscripten.
Build raylib using emscripten compiler.
emcc -c rcore.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rshapes.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rtextures.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rtext.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c rmodels.c -Os -Wall -DPLATFORM_WEB -DGRAPHICS_API_OPENGL_ES2
emcc -c utils.c -Os -Wall -DPLATFORM_WEB
emcc -c raudio.c -Os -Wall -DPLATFORM_WEB
emar rcs libraylib.a rcore.o rshapes.o rtextures.o rtext.o rmodels.o utils.o raudio.oCopy libraylib.a, raudio.h. raylib.h, raymath.h, rlgl.h to ./wasm_lib/ folder in this repo root.
You are ready to go.
This software is still in the beginning of development stage. Keep your expectations low.
- When creating new files, add this
*.cfiles intoTFILESinmakefile. - Create tests in
*_test.cfile, and add this file intoTFILESinmakefile. - Run command:
make test, to run all the tests. - Run command:
make memcheck, tu run memcheck tests.
- Add new
*.cfiles with new functionalities toCFILESinmakefile. - For development run command:
make run.
- To build for your current machine OS and architecture run command:
make build. - Now only MAC OS is supported, this will change.
- To build for Wab Assembly run command:
make wasm. - To check build
cdin toweb_builddirectory and runpython -m http.server 8080go in your browser to http://localhost:8080
- Thanks to rexim for Tsoding/nn.h ->
https://github.com/tsoding/nn.h/blob/master/nn.han amazing Neural Network library and great streaming on how to code and hack things inC. I was truly inspired. I will blend this library in to my code simply because of the project requirements. - Lingon Studios for high level description of graphical design.
