Find a file
2022-01-06 00:37:27 -05:00
assets Cleanup 2021-12-20 22:45:08 -05:00
examples Update examples to use Vector instead of Point 2022-01-06 00:37:27 -05:00
spec Add more vector and matrix methods + specs 2022-01-06 00:35:47 -05:00
src Change Point to Vector, remove Point 2022-01-06 00:36:48 -05:00
.editorconfig Initial commit 🎮 2021-11-25 20:57:57 -05:00
.gitignore Initial commit 🎮 2021-11-25 20:57:57 -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 Fix old references 2022-01-03 22:31:49 -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