Releases: bananu7/Hate
Stackage release
Hopefully I'll be able to get this version into Stackage
Hackage build fixes
Updated base upper version for Hackage
This is just a small fix that adds upper bound to the base
library. Thanks to that, Hate is now on Hackage!
Added spritePart function
This small function is essential for supporting bitmap font rendering. In fact, a prototype of such can already be seen here.
Added solid colors
Added "colored" combinator and fixed solid color pipeline
OpenGL 3.3 support with swappable backends
Rejoice! Hate now has not one, but two separate backends (sharing some code) that either use the full power of modern 4.4+ OpenGL, or strive to provide a compatibility layer on 3.3. This means older Mac OS PCs should now be able to run it.
Added error reporting for window creation
Failure in window creation or GLFW initialization will now output to console.
Added support for other image types
Thanks to JuicyPixels-util
, JPG images should now work. Every loaded image will be converted to RGBA
from now on.
This release also introduces an upper cap for GLFW-b, because 1.4.7 appears broken on Windows, as pointed out by @kBoK.
Window projection recalculation
Hate now reacts properly to window sizing event. Note that (0,0)
coordinates are now in top-left corner.
Fix: added Origin Reference parameter to spritesheet rendering
spriteSheet
changed from
spriteSheet :: Int -> SpriteSheet -> DrawRequest
to
spriteSheet :: OriginReference -> Int -> SpriteSheet -> DrawRequest