Mk48.io is an exciting online multiplayer naval combat game where players take command of ships to engage in intense maritime battles. Developed by Softbear Studios, the game offers a blend of strategy and action as players navigate their ships and avoid deadly torpedoes to secure victory.
Mk48.io Logo
In Mk48.io, players enter a dynamic naval combat environment where strategic movement and timely actions are key to dominating the seas. The game supports multiplayer mode, allowing players to compete against each other in real-time. The immersive gameplay is complemented by a robust engine and detailed entity management, ensuring a rich and engaging experience.
To build Mk48.io, follow these steps:
rustup override set nightly-2022-08-14
rustup target add wasm32-unknown-unknown
cargo install --locked trunk
(ensure gcc
is installed if there are complaints about missing cc
)make
command/client
directory.make
or trunk build --release
to build the client./server
directory.make
to build and start a test server.localhost:8081
(or the port specified in the console).For those interested in modifying or contributing to the game, understanding the entity data and textures is crucial.
Entities such as ships, weapons, and obstacles are defined in common/src/entity/_type.rs
. This file is central to managing the various components within the game.
Each entity type must have a corresponding texture in the spritesheet provided with the repository. For changes to entity textures, refer to the instructions in the sprite_sheet_packer
directory.
Mk48.io's client and server both utilize a custom game engine located in the engine
directory. This engine is integral to the game's performance and features.
An optional admin interface can be built with the following steps:
/engine/js
directory.make
.localhost:8081/admin/
and authenticate using the contents of engine/game_server/src/auth.txt
.Mk48.io employs several macros to streamline development:
EntityData
for all entity types.Audio
enum for the client with a variant for each sound.