{"repo":"oprypin/crsfml","free":true,"listed":false,"github":"https://github.com/oprypin/crsfml","clone":"git clone https://github.com/oprypin/crsfml.git","description":"Crystal bindings to SFML multimedia/game library","language":"Crystal","stars":356,"topics":["crystal","sfml","game-framework","bindings"],"license":"Zlib","category":"game-templates","readme_excerpt":"[Crystal][] bindings to [Simple and Fast Multimedia Library][sfml]. Documentation ------------- - Installation - [Tutorials][] - [API Documentation][] - Examples / [Demos][] Introduction ------------ CrSFML is a library that allows SFML to be used with the Crystal programming language. [SFML][] is a library written in C++, so CrSFML also needs to ship thin C bindings to SFML. To quote the official site of SFML, SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. Indeed, SFML is most often used to make video games. It provides features such as hardware-accelerated 2D graphics, handling keyboard, mouse and gamepad input, vector and matrix manipulation, managing windows (can also be used as a base for OpenGL drawing), working with multiple image formats, audio playback and recording, basic networking... Check out some [demos] of CrSFML to see what it can do. CrSFML consists almost entirely of automatically generated code, based on SFML's header files. Read more about generated code and API differences between SFML and CrSFML. Installation ------------ First, install SFML. Then create a shard.yml file in your project's folder (or add to it) with the following contents: Resolve dependencies with [Shards][]: During installation this will invoke make to build the C++ wrappers as object files. If that fails, see Custom SFML location. Try running an example: Now you're ready for the [tutorials] ! Windows ","default_branch":null,"files":null,"tree":[],"storefront":"/r/oprypin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oprypin/crsfml/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}