All Projects → TatriX → cl-sdl2-tutorial

TatriX / cl-sdl2-tutorial

Licence: other
SDL2 examples in Common Lisp based on Lazy Foo tutorials.

Programming Languages

common lisp
692 projects

Projects that are alternatives of or similar to cl-sdl2-tutorial

Pygame
pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.
Stars: ✭ 4,164 (+7470.91%)
Mutual labels:  gamedev, sdl2
OpenHSP
Hot Soup Processor (HSP3)
Stars: ✭ 120 (+118.18%)
Mutual labels:  gamedev, sdl2
Libsdl2pp
C++11 bindings/wrapper for SDL2
Stars: ✭ 385 (+600%)
Mutual labels:  gamedev, sdl2
SDL.zig
A shallow wrapper around SDL that provides object API and error handling
Stars: ✭ 102 (+85.45%)
Mutual labels:  gamedev, sdl2
Dome
A lightweight game development environment where games can be written in Wren
Stars: ✭ 251 (+356.36%)
Mutual labels:  gamedev, sdl2
Simpleton Engine
What a stupid name for a library
Stars: ✭ 42 (-23.64%)
Mutual labels:  gamedev, sdl2
Engge
Open source remake of Thimbleweed Park's engine
Stars: ✭ 94 (+70.91%)
Mutual labels:  gamedev, sdl2
Imgui sdl
ImGuiSDL: SDL2 based renderer for Dear ImGui
Stars: ✭ 134 (+143.64%)
Mutual labels:  gamedev, sdl2
Gwork
Skinnable GUI with useful widget collection. Fork of GWEN.
Stars: ✭ 179 (+225.45%)
Mutual labels:  gamedev, sdl2
Gf
A C++14 framework for 2D games
Stars: ✭ 154 (+180%)
Mutual labels:  gamedev, sdl2
faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (+0%)
Mutual labels:  gamedev, sdl2
sdlpp
C++ wrapper for SDL2
Stars: ✭ 37 (-32.73%)
Mutual labels:  gamedev, sdl2
BonEngineSharp
A simple and fun SDL-based game engine in C#.
Stars: ✭ 16 (-70.91%)
Mutual labels:  gamedev, sdl2
susse
super ültra sweet sprite editor
Stars: ✭ 22 (-60%)
Mutual labels:  gamedev
sdl2test
🎬 Testing SDL2 with V, Rust, C/++ : Nuklear, ImGui, TTF, 2D/3D, joystick, sounds, music, ...
Stars: ✭ 17 (-69.09%)
Mutual labels:  sdl2
ggrs
GGRS is a reimagination of GGPO, enabling P2P rollback networking in Rust. Rollback to the future!
Stars: ✭ 209 (+280%)
Mutual labels:  gamedev
moon-cheeser
Moon Cheeser is an infinite runner where the player plays as a mouse gathering cheese pieces and avoiding craters and other astronomical objects, such as comets and planets, on a moon made of cheese.
Stars: ✭ 32 (-41.82%)
Mutual labels:  gamedev
gamestudio
2D game engine and editor
Stars: ✭ 207 (+276.36%)
Mutual labels:  gamedev
deffx
A collection of useful shader effects made ready to be used with the Defold game engine
Stars: ✭ 33 (-40%)
Mutual labels:  gamedev
cog
Macro powered ECS Framework written in Haxe
Stars: ✭ 29 (-47.27%)
Mutual labels:  gamedev

ci

Common Lisp SDL2 tutorials

Adapted from http://lazyfoo.net/tutorials/SDL/

Installing the SDL2 Libraries

The tutorial requires that SDL2, SDL2 Image, and SDL2 TTF are installed before running the examples.

See instructions for Linux and macOS respectively.

Installation

Using quicklisp:

git clone https://github.com/TatriX/cl-sdl2-tutorial/ ~/quicklisp/local-projects
(ql:quickload :sdl2-tutorial)

or asdf

git clone https://github.com/TatriX/cl-sdl2-tutorial/ ~/common-lisp
(asdf:load-system "sdl2-tutorial")

Running the Examples

Tutorial packages are named as sdl2-tutorial-XX-DESC where XX is a number starting from 01.

(sdl2-tutorial-01-hello-sdl:run)
;;
(sdl2-tutorial-04-key-presses:run)

Notes

As far as I can tell cl-sdl2 in most cases doesn't free created objects. This means it's up to a user to do so. I've tried to free allocated resources, but as with any manual memory management I could miss something. If you notice anything, please create an issue or even send a PR!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].