Skip to content

Addition to Specs for tile maps

License

Apache-2.0, MIT licenses found

Licenses found

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

torkleyy/specs-static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

specs-static

Build Status Crates.io MIT/Apache Docs.rs LoC

An experimental extension for Specs. This adds component storages that are not indexed by Entity, but by custom ids that are entirely managed by the user.

This can be useful for tile maps where you want each tile to have certain components. Managing the ids manually will give you a huge performance boost here.

Usage

Please see the basic example.

Required Rust version

1.29 stable

Features

  • Storage with custom ids
  • get, get_mut and Join
  • WorldExt for registering these storages

Contribution

Contribution is highly welcome! If you'd like another feature, just create an issue. You can also help out with any issue you want to; just make sure to leave a comment that you're working on it. If you need any help, feel free to ask!

All contributions are assumed to be dual-licensed under MIT/Apache-2.

License

specs-static is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT.

About

Addition to Specs for tile maps

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages