#fantasy #emoji #gamedev #game #medieval

mythoji

A minimal Rust crate that helps identify and display fantasy appropriate emojis

1 unstable release

0.1.0 Dec 20, 2022

#1233 in Game dev

MIT license

33KB
631 lines

mythoji

A minimal Rust crate that helps identify and display fantasy appropriate emojis.

Rust Checks Coverage Status Current Crates.io Version Docs License: MIT

Why mythoji?

  • You are building a fantasy game that wants to use minimal graphics.
  • You are tired of Googling for useful emoji.
  • You don't want to use a more general purpose crate.
use mythoji::{Emoji, Gender, Person, Location, SkinTone};

let castle = Location::Castle;
assert_eq!(castle.to_string(), "🏰");

let female_elf = Emoji::Person(Person::Elf, SkinTone::Neutral, Gender::Female);
assert_eq!(female_elf.to_string(), "🧝‍♀️");

Dependencies

~245KB