PixelFaucet Game
An SDL2 based game engine
Installation
- Install sdl2
homebrew: brew install sdl2
- Add the dependency to your
shard.yml
:
dependencies:
pixelfaucet:
github: sleepinginsomniac/pixelfaucet
- Run
shards install
Usage
require "pixelfaucet/game"
class Example < PF::Game
def update(dt)
end
def draw
end
end
e = Example.new(100, 60)
e.run!
Contributing
- Fork it (https://github.com/your-github-user/pixel_faucet/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Alex Clink - creator and maintainer