OldSchool Library (OSLib) is a lightweight and versatile C++ library designed to provide functionality and tools commonly used in classic game development and retro programming projects. It bridges the gap between modern and old-school development environments, making it easier to create and manage applications with a nostalgic touch.
- Graphics and Rendering: Basic graphics functions and rendering capabilities for 2D game development.
- Input Handling: Manage keyboard, mouse, and gamepad inputs for interactive applications.
- Sound Management: Simple sound and music playback functionalities.
- Utility Functions: A collection of utility functions for handling files, strings, and more.
- Cross-Platform Support: Compatible with multiple platforms, including Windows, macOS, and Linux.
To install OSLib:
- Copy
libosl.a
to$PSPSDK/lib/
. - Copy the
oslib
directory (containing header files) to$PSPSDK/include/
.
You can find the documentation in the Doc
directory, or consult it online here:
http://dogo.github.io/oslib/
We welcome contributions to OSLib! If you’d like to contribute, please follow these steps:
- Fork the repository.
- Create a feature branch.
- Make your changes and commit them.
- Push your branch to your fork.
- Create a pull request describing your changes.
Please follow the coding guidelines and write tests for any new features or bug fixes.
OSLib is free software, licensed under the GPLv2. See COPYING
for details.
- Brunni for the original OSLib
- Sakya for the first modification of OSLib
- BenHur for intraFont