On 11/4/15 3:41 PM, Kooda wrote:
On Wed, Nov 04, 2015 at 01:35:13PM -0800, Dan Leslie wrote:
As a potential user and implementor of similar eggs (Allegro, SOIL, .. nanovg),
I would provide fairly lean bindings first, then do any simplification or
hand-holding as an additional module. It will save you time in the near term
and provide flexibility to the users.
-Dan
It seems to already be the case. There is a sdl-internals module used by
the public sdl2 module.
Yes, the sdl2 egg is implemented as two modules, sdl2 and
sdl2-internals. The sdl2-internals module is not considered part of the
public API, and does not have the same stability guarantees. But, some
parts of it are safe to use, which I have today written a guide to document:
https://gitlab.com/chicken-sdl2/chicken-sdl2/blob/master/docs/using-sdl2-internals.md
So, if anyone really needs to drop down to a lower level, the low-level
bindings *do* exist. But I hope most people will not need (or want) to
do that. If there are low-level operations that people need to perform,
please submit a feature request so I can consider providing support for
it to the sdl2 module. That said, the purpose of this egg is only to
provide convenient access to SDL2's features. It is not a high-level
game framework or engine. (But it would be a good foundation for someone
to build a high-level game framework or engine on top of.)
- John Croisant
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users