Graphics ~ LibSDL Research - uchicago-cs/chiventure GitHub Wiki
Official SDL website: https://wiki.libsdl.org/FrontPage
Research
SDL is used for low-level accessing of your keyboard, mouse, and other hardware features(graphics). For ex. If you want to make your mouse or keyboard move a character, SDL has an api that will use your mouse or keyboard input in a function. SDL will also allow you to renders things.
SDL offers many different API categories and can be accessed with this link https://wiki.libsdl.org/APIByCategory. Thankfully, this saves you time and effort.
We seem to mostly need the input events and video apis.
How to use SDL
- Install the source code and configurations to even use the SDL library https://wiki.libsdl.org/SourceCode
- Build and run the code https://wiki.libsdl.org/Installation
Tutorial : http://www.sdltutorials.com/
Things to do
- figure out which APIs you want to use and which are compatible with pre-existing code
- See if other libraries can be used with SDL to render a better UI.
**** SDL can be used with the OpenGL API or Direct3D API for 3D graphics****