SheerSt / pokewilds

PokeWilds - A Gen 2 Game/Engine using libGDX
2.66k stars 202 forks source link

[Feature Request]: Support sdl2gdx #469

Open JeodC opened 1 month ago

JeodC commented 1 month ago

What would you like to request?

Hello,

In order for this to run on devices that lack a display manager, one option is to defer to a sdl2 backend. This might be accomplished through sdl2gdx. The only thing sdl2 would need to do is create a window and gl context, maybe handle controllers.

Related to #82 and #443

I appreciate your consideration.

fourlastor commented 1 month ago

Hi!

Correct me if I'm wrong, but sdl2gdx doesn't seem to have wrapped the libgdx graphical api, only the controller api, so I'm not sure if we can use it to get around the issue without rewriting the whole backend

JeodC commented 1 month ago

Hi!

Correct me if I'm wrong, but sdl2gdx doesn't seem to have wrapped the libgdx graphical api, only the controller api, so I'm not sure if we can use it to get around the issue without rewriting the whole backend

I haven't looked into it much, was only an example. The primary problem is lack of support for devices with no display manager--in these cases the solution would be to defer to some other backend for rendering.