Skip to content

SoftbearStudios/mk48

Repository files navigation

Mk48.io Game

Build Mk48.io Discord

Logo

Mk48.io is an online multiplayer naval combat game, in which you take command of a ship and sail your way to victory. Watch out for torpedoes!

Build Instructions

  1. Install rustup (see instructions here)
  2. Install gmake and gcc if they are not already installed.
  3. Install trunk (cargo install --locked trunk --version 0.17.5)
  4. Run download_makefiles.sh
  5. Install Rust Nightly and the WebAssembly target
make rustup
  1. Build client
cd client
make release
  1. Build and run server
cd server
make run_release
  1. Navigate to https://localhost:8443/ and play!

Developing

If you follow the Building steps, you have a fully functioning game (could be used to host a private server). If your goal is to modify the game, you may want to read more :)

Entity data

Entities (ships, weapons, aircraft, collectibles, obstacles, decoys, etc.) are defined at the bottom of common/src/entity/_type.rs.

Entity textures

Each entity type must be accompanied by a texture of the same name in the spritesheet, which comes with the repository. If entity textures need to be changed, see instructions in the sprite_sheet_packer directory.

Contributing

See Contributing Wiki page.

Trademark

Mk48.io is a trademark of Softbear, Inc.