All Projects → gosu → gosu.cr

gosu / gosu.cr

Licence: MIT license
Shard for the Gosu game library

Programming Languages

crystal
512 projects

Projects that are alternatives of or similar to gosu.cr

tdiff
CLI tool for comparing tree like structures
Stars: ✭ 20 (-28.57%)
Mutual labels:  crystal-lang
crystal-nodejs
Node.js engine for crystal-lang. JS code and npm module executes on crystal-nodejs
Stars: ✭ 42 (+50%)
Mutual labels:  crystal-lang
triki
Mysql, PostgreSQL and SQL dump obfuscator aka anonimizer
Stars: ✭ 28 (+0%)
Mutual labels:  crystal-lang
crystalizer
(De)serialize any Crystal object - out of the box. Supports JSON, YAML and Byte format.
Stars: ✭ 32 (+14.29%)
Mutual labels:  crystal-lang
rosetta
A blazing fast internationalization (i18n) library for Crystal with compile-time key lookup.
Stars: ✭ 23 (-17.86%)
Mutual labels:  crystal-lang
space-invaders
👾 Space Invaders 2d game with Ruby/Gosu
Stars: ✭ 16 (-42.86%)
Mutual labels:  gosu
aquaplot
AquaPlot is a data visualization library for crystal-lang (https://crystal-lang.org/). Currently in very early development and the API is not at all stable.
Stars: ✭ 31 (+10.71%)
Mutual labels:  crystal-lang
tallboy
Declarative API for drawing unicode/ascii character tables in crystal lang
Stars: ✭ 49 (+75%)
Mutual labels:  crystal-lang
cr-xmpp
XMPP/Jabber Library for Crystal
Stars: ✭ 16 (-42.86%)
Mutual labels:  crystal-lang
Gosu
2D game development library for Ruby and C++
Stars: ✭ 1,762 (+6192.86%)
Mutual labels:  gosu
praetorian
A minimalist Crystal authorization system inspired by https://github.com/varvet/pundit.
Stars: ✭ 54 (+92.86%)
Mutual labels:  crystal-lang
crotest
A tiny and simple test framework for crystal
Stars: ✭ 24 (-14.29%)
Mutual labels:  crystal-lang
bomberman
👾 Versão do famoso Bomberman criado com a Linguagem Ruby
Stars: ✭ 19 (-32.14%)
Mutual labels:  gosu
form builder.cr
Dead simple HTML form builder for Crystal with built-in support for many popular UI libraries such as Bootstrap
Stars: ✭ 29 (+3.57%)
Mutual labels:  crystal-lang
crystime
Advanced time, calendar, schedule, and remind library for Crystal
Stars: ✭ 23 (-17.86%)
Mutual labels:  crystal-lang
crystal-validator
💎 Data validation module for Crystal lang
Stars: ✭ 23 (-17.86%)
Mutual labels:  crystal-lang
qrencode.cr
Crystal bindings for libqrencode (qrencode), a library for QR code generation
Stars: ✭ 28 (+0%)
Mutual labels:  crystal-lang
walter.cr
Keep your crystal clean!
Stars: ✭ 14 (-50%)
Mutual labels:  crystal-lang
brotli.cr
Crystal bindings to the Google brotli compression library
Stars: ✭ 20 (-28.57%)
Mutual labels:  crystal-lang
Flaptus
A cactus themed Flappy Bird implementation with Ruby's Gosu gem.
Stars: ✭ 19 (-32.14%)
Mutual labels:  gosu

Actions Status

gosu.cr

Shard for using Gosu with Crystal

Under development: implementation is incomplete.

Status

Implemented

  • Gosu
  • Window
  • TextInput
  • Font
  • Song
  • Sample
  • Channel
  • Image
  • GLTexInfo
  • Color (in-progress)
  • Numeric helper functions e.g. 90.degrees_to_radians

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      gosu:
        github: gosu/gosu.cr
  2. Run shards install

Usage

require "gosu"

class Window < Gosu::Window
  def initialize
    super(512, 512)
  end
end

Window.new.show

Where possible gosu.cr imitates the Ruby gem.

Development

  1. Install gosu as a system library, see wiki. (Note: may need to edit gosu/cmake/build/cmake_install.cmake to change set(CMAKE_INSTALL_PREFIX "/usr/local") to set(CMAKE_INSTALL_PREFIX "/usr"))

Contributing

  1. Fork it (https://github.com/gosu/gosu.cr/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].