Some alternatives to SDL?

I tried to roll my own alternative, but it’s a way bigger undertaking than I initially thought.

I have a quite decent audio system for Windows/Linux (MacOSX missing due to lack of hardware), so I can just skip that, if it relies on “variable size” buffers or its only audio capability being “function that plays WAV/MP3 directly”. DLL/SO preferred. I don’t need duplicates of things that are already in any standard library.

ZILtoid1991,

Well, it seems I might have to resort to “plagiarism” instead…

APIs handling these stuff are barely documented due to “you can just use xy middleware to do that easier” (only for xy middleware still using DirectInput 8 among many other problems), or the OG documentation being completely barren and obvious issues often not being documented anywhere.

ZILtoid1991,

Poked around in my code, it seems the issue was on my own end, as I accidentally used the wrong variable for the handles.🤦‍♂️

Now it’s time to look up docs on Xorg Xinput (different from Microsoft’s own thing, which I only use as a fallback).

adjjjj,
ZILtoid1991,

Tried it, looked promising, then I took a look at the input handling…

It would be fine for smaller projects, but not ideal for mine.

athairmor,

Do you need to write your own engine?

If not, check out Godot Engine.

ZILtoid1991,

I’m writing my own engine, I want to cut time on porting stuff to different systems.

athairmor,

Well, you could use something like Godot for the same reason. Depends on how much work you want to do or if you need something it doesn’t provide.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • gamedev@lemmy.world
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines