Comparison of Graphics Libraries for R-Type

This document compares three major graphics libraries: Raylib, SFML, and SDL, based on their usability, performance, features, and documentation. It also explains why SFML was chosen for the R-Type project.


Library Comparison

CriteriaRaylibSFMLSDL
UsabilityIntuitiveSimple and well-knownComplex but flexible
PerformanceGood for medium-sized projectsOptimized for 2DExcellent performance
Features2D/3D games, audio, input handling, basic UI2D games and applications, audio, networking, text rendering2D games, advanced platform handling
DocumentationVery well-documented with many examplesGood documentation and tutorialsGood but more technical
PlatformsWindows, macOS, Linux, Web, Android, iOSWindows, macOS, LinuxWindows, macOS, Linux, Android

Why We Chose SFML

We chose to use SFML for the following reasons:

  1. Adequate performance: SFML is optimized for 2D games like R-Type and provides performance suitable for the project’s needs.
  2. Ease of use: Its simplicity allows faster development and debugging, which is crucial for meeting project deadlines.
  3. Past experience: We have previously worked with SFML during our studies, reducing the learning curve.
  4. Quality documentation: SFML offers clear documentation along with practical tutorials, speeding up development.

References