Find a file
2022-02-25 00:38:53 -05:00
assets Remove PixelText class 2022-02-04 00:09:09 -05:00
examples Add rect / bounding_box to cubic bezier 2022-02-25 00:38:53 -05:00
scripts Only create link if it doesn't exist 2022-02-04 00:05:57 -05:00
spec Refactor audio synth 2022-02-16 00:45:54 -05:00
src Add rect / bounding_box to cubic bezier 2022-02-25 00:38:53 -05:00
.editorconfig Initial commit 🎮 2021-11-25 20:57:57 -05:00
.gitignore Add script to build all examples 2022-02-02 00:31:38 -05:00
LICENSE Initial commit 🎮 2021-11-25 20:57:57 -05:00
README.md Add drawing functions 2021-11-29 02:26:51 -05:00
shard.yml Bump version 0.0.7 2022-02-24 00:03:37 -05:00

PixelFaucet Game

GitHub release

An SDL2 based game engine

Installation

  1. Install sdl2

homebrew: brew install sdl2

  1. Add the dependency to your shard.yml:
dependencies:
  pixelfaucet:
    github: sleepinginsomniac/pixelfaucet
  1. 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

  1. Fork it (https://github.com/your-github-user/pixel_faucet/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