scar
Version, currently 0.3.01 version
- 0.3.0latestMay 15, 2020
github.com/vypxl/scar
A game engine with entity component system written in Crystal, built on top of CrSFML
30 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
scar:
github: vypxl/scar
version: ~> 0.3.0Then run:
shards installshard.yml
- Crystal
0.34.0- License
- MIT
- Author
- vypxl <thomas@vypxl.io>
Dependencies
Runtime Dependencies
- crsfml*github: oprypin/crsfml, branch: master
README
# Scar - A Crystal Game Library/Engine with Batteries included
[](https://github.com/vypxl/scar/releases)
[](https://travis-ci.org/vypxl/scar)
A 2D game engine written in Crystal using crsfml
[](https://vypxl.gitbook.io/scar/)
[](https://vypxl.github.io/scar/)
Examples can be found [here](https://github.com/vypxl/scar_examples)
**Until version 1.0, everything is subject to change!**
## Motivation
This library aims to offer a simple interface for game programming with less
boilerplate code. I mainly create it for my own games, for my own education
and of course for the fun.
## Features
- Event system
- Configurable input handling
- Universal 2D Vector class
- Entity-Component-System
- Configuration manager
- Tween
- Asset manager
- Some Builtin Components and Systems, will be expanded in the future
## Not yet implemented features
- Sound Manager
- Video playback
- More features I cannot think of right now but will in my dev process ^^ + your proposals/contributions
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
scar:
github: vypxl/scar
branch: master
```
If you run into build/linking problems, please check if you have SFML installed properly, as described in the
[CrSFML Guide](https://github.com/oprypin/crsfml/blob/master/README.md#Installation). You **do not** need to add
CrSFML as a dependency!
## Feature Requests
Feature requests are welcome, just open an issue!
## Contributing
1. Create an [Feature Request] Issue
2. Fork it ( https://github.com/vypxl/scar/fork )
Then create the git hook checks via `$ scripts/create-git-hooks`.
You have to ensure that `crystal spec` and `crystal tool format [./src / ./spec]`
return 0.
3. Create your feature branch (git checkout -b my-new-feature)
4. Commit your changes (git commit -am 'Add some feature')
5. Push to the branch (git push origin my-new-feature)
6. Create a new Pull Request and mention your issue
## Contributors
- [vypxl](https://github.com/vypxl) vypxl - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.3.0- Tagged
- May 15, 2020
- Commit
47fdbe3d46a3- Crystal
0.34.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/vypxl/scar
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1