Sha256: 3f8bdadffa34de2130f88a3b96112a8bc9ac3c784f7e0910e385b98ab39a1bb3

Contents?: true

Size: 1.81 KB

Versions: 4

Compression:

Stored size: 1.81 KB

Contents

# dxruby_sdl

[![Build Status](https://travis-ci.org/takaokouji/dxruby_sdl.png?branch=master)](https://travis-ci.org/takaokouji/dxruby_sdl)
[![Coverage Status](https://coveralls.io/repos/takaokouji/dxruby_sdl/badge.png?branch=master)](https://coveralls.io/r/takaokouji/dxruby_sdl?branch=master)
[![Dependency Status](https://gemnasium.com/takaokouji/dxruby_sdl.png)](https://gemnasium.com/takaokouji/dxruby_sdl)
[![Code Climate](https://codeclimate.com/github/takaokouji/dxruby_sdl.png)](https://codeclimate.com/github/takaokouji/dxruby_sdl)

`dxruby_sdl` is a ruby library for 2D graphics and game. It has same
DXRuby API. It use SDL/Ruby.

## Installation

### SDL & SGE

#### Mac OS X with MacPorts

SDL

    sudo port install libsdl libsdl_image libsdl_mixer libsdl_sound libsdl_ttf

SGE

    curl -O http://www.digitalfanatics.org/cal/sge/files/sge030809.tar.gz
    tar xvzf sge030809.tar.gz
    cd sge030809
    curl https://gist.github.com/steved555/963525/raw/7b638e4100f9dd1a9d00560b98ea2ddd4375b2b0/sge_030809_freetype.patch | patch
    curl https://gist.github.com/steved555/963524/raw/c03396e1fb8bb87e9f4ba92597d087f730c6c48b/sge_030809_cmap.patch | patch
    curl https://gist.github.com/steved555/963522/raw/5b277a0a6b08a1c077fbe2c96eead4ef1d761856/sge-030809-build.patch | patch
    sed -i -e 's/-soname/-install_name/g' Makefile
    make
    sudo make install

### dxruby_sdl

Add this line to your application's Gemfile:

    gem 'dxruby_sdl'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install dxruby_sdl

## Usage

see http://dxruby.sourceforge.jp/ (in Japanese).

## Contributing

1. Fork it
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 new Pull Request

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dxruby_sdl-0.0.4 README.md
dxruby_sdl-0.0.3 README.md
dxruby_sdl-0.0.2 README.md
dxruby_sdl-0.0.1 README.md