Giter Club home page Giter Club logo

rust-game's Introduction

rust-game: Vulkan game development in Rust

A repository containing various Rust-crates that are useful for game development with Vulkan.

Crates

Currently, the repository contains the follow crates:

  • rust-ecs: An Entity Component System for Rust.
  • rust-vk: A RAII-wrapper in Rust for ash bindings.
  • rust-win: Provides a wrapper implementation about a winit window and related Vulkan strucst (depends on the rust-vk crate).

You can learn more about each repository by visiting their respective folder (which has the same name).

Installation

To use a crate in this repository, add it to your Cargo.toml file using the git-link of the repository as a whole:

rust-vk = { git = "https://github.com/Lut99/rust-game" }

It is a workspace, so Cargo will select the appropriate crate in this whole workspace. You can replace rust-vk with any of the other packages in this crate.

Optionally, you can select a specific version of the crate by adding a specific tag:

rust-win = { git = "https://github.com/Lut99/rust-game", tag = "<TAG>" }

where <VERSION> is the desired tag to use.

Note that this crate uses semantic versioning that is separate from the individual crates. That means that any breaking change will always be reflected in the major version number.

Usage

The documentation of this workspace and all its crates may be automatically generated by running:

cargo doc

in the source of this crate. Then, in your browser, navigate to:

file://<path-to-repo>/target/doc/<crate>/index.html

where <path-to-repo> is the path to where you cloned the repository and <crate> is the crate name you wish to inspect. Note, however, that in the latter case all dashes need to be replaced with dots (see the README files of individual crates to see examples).

You can then browse the documentation at your leisure.

Contributing

If you like to contribute to this library or have any suggestions / bugs to report, leave an issue over at the issues page. Please tag them appropriate if you want the quickest support.

rust-game's People

Contributors

lut99 avatar

Watchers

 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.