C++ games and interactive media framework that makes creating cross-platform applications easier and faster https://shampoo.ooo
Go to file
Frank DeMarco ca44bc4b3a new parameters for Mix_OpenAudio 2021-04-11 00:30:15 -04:00
demo precise collision detection used Pixel object; fixed out of scope bug in collision detection 2020-09-12 21:57:27 -04:00
lib reverse wipe; more precision converting floats in box to sdl_rect 2020-08-31 16:36:56 -04:00
src new parameters for Mix_OpenAudio 2021-04-11 00:30:15 -04:00
.gitignore folder structure 2019-04-29 19:27:13 -04:00
BPmono.ttf - framerate indicator sprite added to Game class 2020-07-19 15:43:47 -04:00
README - replaced location with box, added get/set functions for size and 2020-06-27 17:47:14 -04:00

README

SFW (SDL Framework)
===================

SFW is a C++ library that facilitates the creation of SDL projects and adds
useful game graphics oriented classes and functions. It is modeled after PGFW, a
Pygame framework, which simplifies the set up of Pygame projects and enhances
and adds some features to Pygame.

It is currently in an early untested stage. It comes with a simple program that
demonstrates how the framework can help set up a project in both SDL and OpenGL
contexts.

Requirements
------------

The SFW source includes some external libraries in the lib/ folder, but there
are also other libraries that must be present in order to compile a project
which uses the framework

* libSDL2 (developed against v2.0.12)
* libSDL2-image
* libSDL2-ttf
* libSDL2-mixer
* OpenGL
* compiler that supports C++17

Demo
----

The demo/ folder contains a simple cube demo.  The main purpose of the demo is
to demonstrate switching between 3D and 2D contexts.  In order to compile the
demo, you will have to edit the paths in the Makefile to point to the locations
of the necessary libraries on your system.

License
-------

This software is dedicated to the public domain.  See
http://creativecommons.org/publicdomain/zero/1.0/ for details.

Author
------

420 at shampoo dot ooo