Disponible
amalgame-ui-sdl
SDL2 / SDL3 binding — fondation pour graphics custom.
Vue d'ensemble
Binding dynamic-link à SDL2 (SDL3 supporté quand stable). Fenêtres, événements, entrées clavier/souris/manette, renderer 2D accéléré. La fondation pour tout ce qui ne rentre pas dans une webview : jeux, visualisations temps-réel, outils créatifs.
Caractéristiques
- ✓SDL2 (et SDL3) via binding dynamic-link
- ✓Fenêtres, événements, surface, renderer 2D
- ✓Audio (mixer optionnel)
- ✓Entrées clavier, souris, manettes
- ✓Base pour
ui-gletui-gfx2d
Exemple
Exemple minimal d'utilisation — recopiable tel quel après l'install.
amc package add ui-sdl
let win = Sdl.CreateWindow("Demo", 800, 600)
while !win.ShouldClose() {
win.PollEvents()
win.Clear(0x202020)
win.Present()
}
En bref
- Licence : Apache-2.0
- Installation :
amc package add ui-sdl - Code source : amalgame-lang/amalgame-ui-sdl
- Index officiel : amalgame-lang/packages-index