|
From: | Kristian Lein-Mathisen |
Subject: | Re: [Chicken-users] New SDL2 eggs; help wanted |
Date: | Sun, 8 Nov 2015 17:58:58 +0100 |
On 11/4/15 3:41 PM, Kooda wrote:
On Wed, Nov 04, 2015 at 01:35:13PM -0800, Dan Leslie wrote: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:
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.It seems to already be the case. There is a sdl-internals module used by
-Dan
the public sdl2 module.
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users
[Prev in Thread] | Current Thread | [Next in Thread] |