https://github.com/arcq/kf-1
game in pixijs
https://github.com/arcq/kf-1
cpp emscripten game javascript pixijs reactjs wasm
Last synced: 2 months ago
JSON representation
game in pixijs
- Host: GitHub
- URL: https://github.com/arcq/kf-1
- Owner: ArcQ
- Created: 2017-11-02T02:52:22.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2023-01-12T11:59:42.000Z (over 3 years ago)
- Last Synced: 2025-10-29T03:02:21.205Z (9 months ago)
- Topics: cpp, emscripten, game, javascript, pixijs, reactjs, wasm
- Language: C++
- Size: 18.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#kf-1
This is for a game.
This project utilizes reactjs as the ui layer, renders using a custom game-engine built around rxjs and pixjs rendering engine, and cpp-wasm for the game logic used in a manner that can be taken out and tested very easily.
This project utilizes cljs as the ui layer, and pixijs + js around the game engine, and rust-wasm for the game logic used in a manner that can be taken out and tested on very easily.
#Development
Everything compiles down into public/js, wasm modules are directly imported inside public/index.html.
Rust-wasm modules use wasm-bindgen --no-modules, use start-dev script inside of rust `/game-wasm` to start a watching compiling script.
Currently, engine is using 'legacy' code using pixijs, js, + rxjs.
To start up development, you need to run two processes, the ui layer and the wasm layer.
```
cd js
yarn
yarn start
```
```
cd cpp
make dev-wasm
```
This will open a development version in web.
Development version that auto pulls the webview and packages it into a mobile version coming soon.