Skip to content
forked from ozkriff/zemeroth

πŸ˜ βš”οΈπŸ˜ˆ A 2D turn-based tactical game in Rust

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT
Notifications You must be signed in to change notification settings

triptych/zemeroth

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

title image

mit license line count

Zemeroth is a turn-based hexagonal tactical game written in Rust.

News: @ozkriff on twitter | ozkriff.github.io | facebook | devlog on imgur

Status: travis status appveyor status dependency status

Online Version

You can play an online WebAssembly version of Zemeroth at ozkriff.itch.io/zemeroth

Precompiled Binaries

Precompiled binaries for Linux, Windows and macOS: github.com/ozkriff/zemeroth/releases

Screenshots

"big" screenshot

"campaign" screenshot

web version of a phone

Gifs

main gameplay animation

Videos

youtube.com/c/andreylesnikov/videos

Vision

The initial vision of the project is:

  • Random-based skirmish-level digital tabletop game;
  • Single player only;
  • 3-6 fighters under player’s control;
  • Small unscrollable maps;
  • Relatively short game session (under an hour);
  • Simple vector 2d graphics with just 3-5 sprites per unit;
  • Reaction attacks and action’s interruption;
  • Highly dynamic (lots of small unit moves as a side effect of other events);
  • Intentionally stupid and predictable AI;

Roadmap

  • Phase One: Linear Campaign Mode

    An extended prototype focused just on tactical battles.

    • v0.4
      • Basic gameplay with reaction attacks
      • Minimal text-based GUI
      • Basic agent abilities: jumps, bombs, dashes, etc
    • v0.5
      • Basic campaign mode
      • Armor and Break stats (#70)
      • Dynamic blood splatters (#86)
      • Web version
      • Tests
      • Hit chances
    • v0.6
      • GUI icons (#276)
      • Sound & Music (#221)
      • Reduce text overlapping (#214)
      • Agent upgrades
      • Flip agent sprites horizontally when needed (#115)
      • Move back after a successful dodge (#117)
      • Multiple sprites per agent type (#114)
    • v0.7
      • Easing (#26)
      • Path selection (#280, #219)
      • Intermediate bosses
      • Main boss
      • Neutral agents (#393)
      • Weight component (#291)
    • v0.?
      • Basic inventory system: slots for artifacts
      • Ranged units
      • More agent types
      • More passive abilities that allow agents to make actions during enemy's turn (#354)
      • More complex multieffect abilities/actions
      • Guide (#451)
      • Save/load (#28)
      • Android version
  • Phase Two: Strategy Mode

    A not-so-linear strategic layer will be added on top of tactical battles. Simple non-linear story and meta-gameplay.

    • Global map
    • Dialog system
    • Quest system
    • NPC/Agent/Masters system

Inspiration

Tactical battle mechanics are mostly inspired by these games:

Building from Source

# Clone this repo
git clone https://github.com/ozkriff/zemeroth
cd zemeroth

# Assets are stored in a separate repo.
# Zemeroth expects them to be in `assets` directory.
git clone https://github.com/ozkriff/zemeroth_assets assets

# Compile a release version (debug builds give low FPS at the moment)
cargo build --release

# Run it
cargo run --release

WebAssembly

cargo install cargo-web
./utils/wasm/build.sh
cargo web start

Then open http://localhost:8000 in your browser.

The WASM version of the game uses not-fl3/good-web-game:

Note that good-web-game is not really GGEZ's backend, but a separate web-targeted engine with a similar API that @not-fl3 uses for his prototypes.

Zemeroth uses good-web-game for its web version as a quick-n-dirty immediate solution until a proper WASM support arrives to GGEZ (there're no plans of making good-web-game some kind of official GGEZ backend).

The currently implemented subset of GGEZ API is quite limited and while it may be used for something else that Zemeroth, it will probably require a lot of work to do (contributions are welcome ;) ).

Dependencies

The key external dependency of Zemeroth is ggez game engine.

This repo contains a bunch of helper crates:

  • zcomponents is a simple component storage
  • ggwp-zgui is a simple and opinionated ggez-based GUI library
  • ggwp-zscene is a simple scene and declarative animation manager

Contribute

If you want to help take a look at issues with help-wanted label attached:

github.com/ozkriff/zemeroth/labels/help-wanted

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

License

Zemeroth is distributed under the terms of both the MIT license and the Apache License (Version 2.0). See LICENSE-APACHE and LICENSE-MIT for details.

Zemeroth's text logo is based on the "Old London" font by Dieter Steffmann.

About

πŸ˜ βš”οΈπŸ˜ˆ A 2D turn-based tactical game in Rust

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
Unknown
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.7%
  • Other 0.3%