PDA

View Full Version : SDL for Delphi + Other Useful Libraries



drezgames
28-12-2021, 12:54 AM
https://raw.githubusercontent.com/tinyBigGAMES/SDL/main/media/SDL_logo.png (https://github.com/tinyBigGAMES/SDL)
https://img.shields.io/discord/754884471324672040.svg?logo=discord (https://discord.gg/tPWjMwK) https://img.shields.io/twitter/follow/tinyBigGAMES?style=social (https://twitter.com/tinyBigGAMES)

SDL

Simple DirectMedia Layer for Delphi

Pascal bindings that allow you to use SDL and other useful libraries with Delphi (https://www.embarcadero.com/es/products/delphi).

Included


SDL (https://github.com/libsdl-org/SDL)
SDL2_gfx (https://github.com/Semphriss/SDL2_gfx)
pl_mpeg (https://github.com/phoboslab/pl_mpeg)
Nuklear (https://github.com/Immediate-Mode-UI/Nuklear)
stb_image (https://github.com/nothings/stb)
stb_image_write (https://github.com/nothings/stb)
stb_truetype (https://github.com/nothings/stb)
miniaudio (https://github.com/mackron/miniaudio)
physfs (https://github.com/icculus/physfs)
minizip (https://github.com/madler/zlib)
enet (https://github.com/lsalzman/enet)


Minimum Requirements


Windows 10+ (64 bits)
Delphi Community Edition (https://www.embarcadero.com/products/delphi/starter) (Win64 platform only)


Usage

You simply add SDL to your uses section and everything will be linked in your executable, ready for use with no DLLs to maintain. You will have direct access to all the aforementioned libraries.

Support


Issues (https://github.com/tinyBigGAMES/SDL/issues)
Issue Tracking (https://github.com/tinyBigGAMES/SDL/projects/1)
Discussions (https://github.com/tinyBigGAMES/SDL/discussions)
Wiki (https://github.com/tinyBigGAMES/SDL/wiki)
Contact (https://tinybiggames.com/contact/)


https://raw.githubusercontent.com/tinyBigGAMES/SDL/main/media/delphi.png

Made with ❤️ in Delphi

de_jean_7777
04-01-2022, 06:49 PM
Happy new year all!
Happy new year!

Good work. Personally do not use SDL, but it's good to know when someone needs the headers. Do these work with FPC?

drezgames
04-01-2022, 08:42 PM
Happy new year!

Good work. Personally do not use SDL, but it's good to know when someone needs the headers. Do these work with FPC?
Thx! They were made for Delphi, and I've not tested with FPC. Of the top of my head, you would have to remove ReportMemoryLeaksOnShutdown, and remove the dotted unit names in the uses sections and use replacement routines for the ones I call from System.IOUtils and in theory it should work. It's win64 only.

Matthias
20-07-2022, 10:15 AM
Hi Jarrod,

I wonder what happened to the SDL2 repo, it seems to be gone. At least the links are 404'ing. :(

Best regards
Matthias

Ñuño Martínez
25-07-2022, 03:54 PM
It works for me. Maybe they had an issue.

Matthias
26-07-2022, 12:35 PM
Still not working for me: https://github.com/tinyBigGAMES/SDL :-(

SilverWarior
27-07-2022, 05:51 AM
Same here. And when I check tinyBigGAMES profile on GitHub here is only one public repository in their profile and that is topazgamelib

After searching on internet it seems that SDL component suite moved tohttp://www.lohninger.com/sdlindex.html

Matthias
30-07-2022, 02:26 PM
After searching on internet it seems that SDL component suite moved tohttp://www.lohninger.com/sdlindex.html

I wonder if this SDL component suite has anything to do with the SDL package of tinyBigGAMES which doesn't seem available anymore?

SilverWarior
30-07-2022, 08:37 PM
I wonder if this SDL component suite has anything to do with the SDL package of tinyBigGAMES which doesn't seem available anymore?

Actually I'm not sure any more. After further checking I see SDL component suite is a commercial product while I clearly remember it being free in the past if not even open source. Perhaps original authors decided to change their licencing. That might explain why this got removed from GitHub.

drezgames
23-08-2022, 10:15 PM
It's still there and free. Note it only works on win64 and not tested with FreePascal only Delphi, though I'm sure it should work, maybe a few tweaks are required.
https://github.com/tinyBigGAMES/SDL

SilverWarior
24-08-2022, 06:30 PM
It's still there and free.

Good to hear that.