I recommend SDL 2.0.

https://www.libsdl.org/download-2.0.php

I have a complete pascal source code declaration of  it here:

http://github.com/sysrpl/Bare.Game/blob/master/source/bare.interop.sdl2.pas

I also have an object orient wrapper if you want to get straight into
OpenGL:

immediate mode cube
http://www.getlazarus.org/videos/barecube/

sprites and sounds using wrappers for OpenGL code
http://www.getlazarus.org/videos/baresprites/

an older overview video (it no longer installs Lazarus, instead you use
install an lpk)
*http://cache.getlazarus.org/videos/bare-game.mp4
<http://cache.getlazarus.org/videos/bare-game.mp4>*

The new version uses OpenGL ES2.0, and has support for an OpenVG context if
users prefer a much easier to work with 2D API.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to