|
From: | John Croisant |
Subject: | Re: [Chicken-users] New SDL2 eggs; help wanted |
Date: | Thu, 5 Nov 2015 20:10:23 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 11/4/15 3:41 PM, Kooda 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: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. -DanIt seems to already be the case. There is a sdl-internals module used by the public sdl2 module.
https://gitlab.com/chicken-sdl2/chicken-sdl2/blob/master/docs/using-sdl2-internals.mdSo, 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
[Prev in Thread] | Current Thread | [Next in Thread] |