-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
427 changed files
with
80,908 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[build] | ||
rustflags = "--cfg=web_sys_unstable_apis" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
name: Build | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2023-04-25 | ||
override: true | ||
components: rust-src, rustfmt, clippy | ||
- name: Install target | ||
run: rustup target add wasm32-unknown-unknown | ||
- uses: jetli/[email protected] | ||
with: | ||
version: 'v0.15.0' | ||
- name: Build Client | ||
working-directory: ./client | ||
run: trunk build --release | ||
- name: Build Server | ||
working-directory: ./server | ||
run: cargo build --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,36 @@ | ||
# kiomet | ||
Kiomet.com real-time strategy game | ||
# Kiomet.com | ||
|
||
[![Build](https://github.com/SoftbearStudios/kiomet/actions/workflows/build.yml/badge.svg)](https://github.com/SoftbearStudios/kiomet/actions/workflows/build.yml) | ||
<a href='https://discord.gg/YMheuFQWTX'> | ||
<img src='https://img.shields.io/badge/Kiomet.com-%23announcements-blue.svg' alt='Kiomet.com Discord' /> | ||
</a> | ||
|
||
![Logo](/assets/branding/512x340.jpg) | ||
|
||
[Kiomet.com](https://kiomet.com) is an online multiplayer real-time strategy game. Command your forces wisely and prepare for intense battles! | ||
|
||
## Build Instructions | ||
|
||
0. Install `rustup` ([see instructions here](https://rustup.rs/)) | ||
1. Install Rust Nightly and the WebAssembly target | ||
|
||
```console | ||
rustup install nightly-2023-04-25 | ||
rustup default nightly-2023-04-25 | ||
rustup target add wasm32-unknown-unknown | ||
``` | ||
|
||
2. Install `trunk` (`cargo install --locked trunk --version 0.15.0`, install `gcc` first if it complains about missing `cc`) | ||
3. `trunk build --release` in `/client` | ||
4. `cargo run --release` in `/server` | ||
|
||
## HTTPS | ||
|
||
If you build the server in `--release` mode, it will force HTTPS using a self-signed certificate. | ||
|
||
Optionally, specify `--certificate-path` and `--private-key-path` to use a trusted CA certificate (e.g. acquired via [Let's Encrypt](https://letsencrypt.org/)). The server will periodically check for and load renewed certificates. | ||
|
||
## Official Server(s) | ||
|
||
To avoid potential visibility-cheating, you are prohibited from using the open-source | ||
client to play on official Kiomet server(s). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Sound Credits | ||
|
||
Sounds are either licensed under CC0/public domain or via transfer of Copyright | ||
|
||
**Warning: Sounds in this directory are unprocessed and potentially very loud!** | ||
|
||
- [event](https://freesound.org/people/gerainsan/sounds/564474/) by gerainsan | ||
- [loss](https://freesound.org/people/gerainsan/sounds/564474/) by gerainsan | ||
- music by [Tim Beek](https://timbeek.com) | ||
- [pain](https://freesound.org/people/gerainsan/sounds/564474/) by gerainsan | ||
- [ping](https://freesound.org/people/gerainsan/sounds/564474/) by gerainsan | ||
- [success](https://freesound.org/people/gerainsan/sounds/564474/) by gerainsan |
Binary file added
BIN
+15.8 MB
...s/audio/freesound.org/564474__gerainsan__digital-ui-buttons-errors-switches-sounds-gs.wav
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<html> | ||
<body style="margin: 0px; overflow: hidden;"> | ||
<iframe | ||
allowfullscreen | ||
height="100%" | ||
referrerpolicy="origin" | ||
sandbox="allow-forms allow-pointer-lock allow-same-origin allow-scripts" | ||
src="https://kiomet.com/referrer/gamedistribution/" | ||
title="Kiomet" | ||
width="100%" | ||
/> | ||
</body> | ||
</html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<html> | ||
<body style="margin: 0px; overflow: hidden;"> | ||
<iframe | ||
allowfullscreen | ||
height="100%" | ||
referrerpolicy="origin" | ||
sandbox="allow-forms allow-pointer-lock allow-same-origin allow-scripts" | ||
src="https://kiomet.com" | ||
title="Kiomet" | ||
width="100%" | ||
/> | ||
</body> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resize: | ||
mkdir -p ../../client/paintings | ||
mogrify -resize 512x512 -format webp -quality 75 -path ../../client/paintings *.png | ||
rm ../../client/paintings/Runway.webp | ||
#optipng -o7 ../../client/paintings/*.png |
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Images in this directory generated by AI and edited with GIMP. | ||
|
||
## OpenAI.com (DALL-E) | ||
|
||
- Rocket | ||
|
||
## Craiyon.com | ||
|
||
Everything else |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[profile.release] | ||
lto = "fat" | ||
opt-level = 'z' | ||
codegen-units = 1 | ||
|
||
# These 2 make the br compressed wasm a bit smaller. | ||
# Using strip = "symbols" aka true breaks the client. | ||
strip = "debuginfo" | ||
panic = "abort" | ||
|
||
[unstable] | ||
# Requires the rust-src component. `rustup +nightly component add rust-src` | ||
#build-std = ["std", "panic_abort"] | ||
#build-std-features = ["panic_immediate_abort"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
target |
Oops, something went wrong.
326652c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π
mazean open-source release when
326652c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hexaheximal Mazean (as published) is deprecated and open-sourcing it would require significant effort, so it's not planned.
326652c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@finnbear π’
mazean is the best softbear game