Coder Social home page Coder Social logo

triptych / zemeroth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ozkriff/zemeroth

0.0 2.0 0.0 1001 KB

๐Ÿ˜ โš”๏ธ๐Ÿ˜ˆ A 2D turn-based tactical game in Rust

Home Page: https://ozkriff.itch.io/zemeroth

License: Apache License 2.0

Rust 99.64% Shell 0.03% HTML 0.32%

zemeroth's Introduction

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.

zemeroth's People

Contributors

ajmeese7 avatar anthonymikh avatar dylanhart avatar efyang avatar ozkriff avatar stanislav-tkach avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.