SheerSt / pokewilds

PokeWilds - A Gen 2 Game/Engine using libGDX
2.71k stars 207 forks source link

[Feature Request]: Support sdl2gdx #469

Open JeodC opened 4 months ago

JeodC commented 4 months 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 4 months 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 4 months 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.