Question regarding porting games to FreeBSD

Hi friends, I'll just preface by saying that I am fairly new to FreeBSD. Thus far i have really been enjoying it. I'm an indie games developer and I'm wanting to port my projects over to FreeBSD. Are there any well known 2D Game Libraries on FreeBSD? I know SDL2 works on Windows and Linux but how would i use something like SDL2 to port my games over to FreeBSD? Would this work natively? Or would I have to enable the linux compatibility? Thanks in advance :D
 
I would add, as long as you don't use
Code:
if(SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
    // run the game
}
else
    return ; // quit the game
But instead use
Code:
SDL_Init(),SDL_InitSubSystem()
Since haptic support(force feedback) is not yet ported (on devel/sdl20 , for the other I didn't test)
 
I would add, as long as you don't use
Code:
if(SDL_Init(SDL_INIT_EVERYTHING) != 0)
{
    // run the game
}
else
    return ; // quit the game
But instead use
Code:
SDL_Init(),SDL_InitSubSystem()
Since haptic support(force feedback) is not yet ported (on devel/sdl20 , for the other I didn't test)

Okay Thanks for the suggestion. I'll keep that in mind
 
Back
Top