No description
Find a file
Captain4LK 6a76767bb1 Added sprite sheets
* some progress in efelder
* rgb and pal sprite sheets for easier tileset management
2020-07-16 16:16:44 +02:00
examples Added sprite sheets 2020-07-16 16:16:44 +02:00
include Added sprite sheets 2020-07-16 16:16:44 +02:00
lib Added sprite sheets 2020-07-16 16:16:44 +02:00
screenshots Fix screenshots 2020-05-10 21:24:17 +02:00
src Added sprite sheets 2020-07-16 16:16:44 +02:00
LICENSE.md Improve SLK_sprite_rgb(.c) 2020-04-28 16:18:44 +02:00
README.md Add remaining keycodes 2020-05-25 17:29:01 +02:00

SoftLK Engine

A software accelerated engine that uses OpenGL to bring the graphics to the screen. It's made for low resolutions (eg. 256x240), but can be used for higher resolutions, too.

Features

  • Layers: Draw to multiple independent layers
  • RGB drawing: Draw in 32bit rgba colorspace
  • Pal drawing: Draw in palletized 8bit colorspace and change the palette on the fly, without needing to redraw
  • Image loading: Load and save from and to multiple file formats
  • OpenGL 2.1: It's old. It's antiquated. I mean, who needs shaders anyway?

License

SoftLK is free Software (as in freedom) and is released under the 3-clause BSD license, see LICENSE.md for details. Most of the examples are released under the same license, unless noted otherwise of course.

Using SoftLK

To use SoftLK you need to have the following libraries installed:

You need to link your programm to the following libraries:

Linux:

  • -lSDL2
  • -lGL
  • -ldl

Plattforms

SoftLK has been tested and is working on the following plattforms/os:

  • Void GNU/Linux, amd64 (glibc/musl-libc)
  • Raspbian 10, raspberry pi 4b

SoftLK should work on any plattform that has a C compiler, SDL2 and OpenGL 2.1, the plattforms listed here are just the ones I frequently test SoftLK on.

Library Credits

performance example

efleder example