sdl2
Unity2D
Our great sponsors
sdl2 | Unity2D | |
---|---|---|
3 | 2 | |
353 | 0 | |
0.8% | - | |
5.6 | 0.0 | |
2 months ago | over 1 year ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sdl2
-
installing SDL2 bindings fails on __stack_chk_fail and __stack_chk_guard when building, any ideas?
This is a known issue. Someone in the thread reports that downgrading the associated SDL version worked for them.
-
"Unknown GLUT entry glutInit" -- Failing to get Gloss working on Windows
For example, I've been wrestling for a few hours with getting SDL2 set up and was halfway through writing another post here when I discovered that my issue appears generic to the OS, and has already been solved in this lonely little Github issue.
-
Using Switch joy cons in glossy apecs game
Hmm you'd probably need to dig into the source to figure out what's going on. The SDL2 GameController API (bindings) works with joy cons, as an alternative.
Unity2D
-
Controlling apecs-gloss game with Switch joy cons
Here are some snippets with what I did: (Full code here)
-
Using Switch joy cons in glossy apecs game
As an extra, I want to be able to control the game with the Nintendo Switch joy cons. I have successfully connected the joy cons and I'm reading the input in the stepping function (6th argument of play - called periodically) instead of the event handling function (5th argument), as the latter only recognizes keyboard and mouse input. Here is an excerpt of what I'm doing in the step function, the full details of handleSwitch can be seen here (essentially read input if the buttons are pressed when the stepping function is called, interpret the input and update the scene).
What are some alternatives?
sdl2-cairo - Haskell library providing functions to use Cairo to draw on SDL textures and containing a Processing-style convenience drawing API.
Vulkan - Haskell bindings to Vulkan (see https://www.khronos.org/vulkan)
webkit - Haskell interface to WebKitGTK+
vinyl-gl - Utilities for working with OpenGL's GLSL shading language and vinyl records.
sdl2-image - Haskell bindings to SDL2_image.
sdl2-mixer - Haskell bindings to SDL2_mixer.
assimp - Haskell FFI bindings for Assimp
barcodes-code128 - A Haskell library for generating Code 128 barcodes
plot-light - A lightweight plotting library, exporting to SVG
nanovg - NanoVG Haskell bindings
prizm - Convert colors to different color spaces, interpolate colors, and transform colors
freetype-simple - single line text rendering in opengles