33 lines
798 B
Markdown
33 lines
798 B
Markdown
# Shinespark
|
|
|
|
Fancy heavily advanced platform fighting game
|
|
|
|
## Debugging fixed-point values with lldb
|
|
|
|
If using CodeLLDB:
|
|
```json
|
|
"preRunCommands": [
|
|
"command script import ${workspaceFolder}/tools/lldb_fixed.py"
|
|
]
|
|
```
|
|
|
|
## Direct P2P Debugging
|
|
|
|
```text
|
|
# Process 1 owns player 0 and listens on 7000.
|
|
cargo run -- --debug-match --players 2 --local-port 7000 \
|
|
--net-player 0=local --net-player 1=127.0.0.1:7001
|
|
|
|
# Process 2 owns player 1 and listens on 7001.
|
|
cargo run -- --debug-match --players 2 --local-port 7001 \
|
|
--net-player 0=127.0.0.1:7000 --net-player 1=local
|
|
```
|
|
|
|
## Production Build
|
|
|
|
```sh
|
|
cargo run --locked \
|
|
--bin process-assets --no-default-features --features debug_features
|
|
cargo build --locked \
|
|
--profile production --no-default-features --features debug_features
|
|
``` |