free-game alternatives and similar packages
Based on the "Graphics" category.
Alternatively, view free-game alternatives based on common mentions on social networks and blogs.
-
implicit
A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation... -
Gifcurry
π The open-source, Haskell-built video editor for GIF makers. -
reanimate
Haskell library for building declarative animations based on SVG graphics -
threepenny-gui
GUI framework that uses the web browser as a display. -
GPipe
Core library of new GPipe, encapsulating OpenGl and providing a type safe minimal library -
diagrams
Embedded domain-specific language for declarative vector graphics (wrapper package) -
luminance
Type-safe, type-level and stateless Haskell graphics framework -
log-warper
Logging library to provide more convenient, extremely configurable but simple monadic interface with pretty output -
unm-hip
The University of New Mexico's Haskell Image Processing Library -
timeplot
Analyst's swiss army knife for visualizing data from ad-hoc log files -
processing-for-haskell
Graphics for kids and artists. Processing implemented in Haskell -
GLUtil
Utility functions for working with OpenGL BufferObjects, GLSL shaders, and textures. -
graphics-drawingcombinators
Combinators for drawing 2D shapes and images in Haskell (using OpenGL)
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of free-game or a related project?
README
free-game
free-game gives you a world so that you can create games easily.
Install
$ cabal update
$ cabal install free-game
Migration Guide
runGame param
runGame Window (BoundingBox 0 0 640 480)
orrunGame FullScreen (BoundingBox 0 0 640 480)
setTitle "Lorem ipsum"
- Unicode characters are OK:
setTitle "γγ³γΈγ£"
showCursor
orhideCursor
clearColor black
setFPS 60
loadBitmapsWith 'func "/path/to"
loadBitmapsWith [|func|] "/path/to"
keySpecial
keyPress
orkeyDown
orkeyUp
-- You don't have to keep key states anymore!
foreverTick m
foreverFrame m
-- It is faster
do { some draw-only computation }
- Just apply
draw
to make your code faster.
- Just apply
Game
is a kind of coroutine uponFrame
.
Comparison with gloss
free-game's API is similar to what gloss have.
gloss | free-game |
---|---|
Picture | Game () |
Blank | return () |
Text | text font size |
Bitmap w h d | bitmap |
Translate x y | translate (V2 x y) |
Scale x y | scale (V2 x y) |
Rotate | rotate |
Color | color |
Pictures xs | sequence_ xs |
Circle | circle |
Line | line |
Polygon | polygon |
Special Thanks
- jbracker, extended features and fixed minor bugs
Bug reports, pull requests, feature requests are welcome.
Donate
Bitcoin Address: 1EvewG7YHdcgMjmQEYEBrKiPjUwGWBckY4