[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

SFML - SDL - Allegro

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 26
Thread images: 3

File: allegro.png (141KB, 870x629px) Image search: [Google]
allegro.png
141KB, 870x629px
Wich is better for you?
>>
SDL2
>>
what's with that shitty crocodile logo?
>>
Neither, GLFW
>>
SFML is pOOP
allegro is half-baked
sdl just werks
>>
>>52356114
>werks
why sfml is poop ?
>>
SDL
>>
how do you write libraries like this?
>>
>>52356172
The same way you write any other library.
>>
GLFW + raw OpenGL
>>
>>52356203
how? in python?
>>
>>52356282
No, javascript
>>
>>52356130
He means "pOOP", as in, he doesn't know how to program in OOP.

But one of the problems with SFML is that development is strictly in 2D graphics. 3D integration with other libraries is quite difficult (just to load a simple 3D background image). The developers also seem to be strongly against making this process easier.
>>
>>52356401
hello pajeet
>>
>>52356172
download SDL2 source code and see by yourself
>>
>>52355993
SFML is pretty simple and has clean code but doesn't have much to do. SDL is hard to learn and has a lot of calls but it great for optimization and different projects. I've never used Allegro so idek about that one
>>
>>52356111
>>52356222

Explain why it's better than SDL/SFML/Allegro?
>>
>>52355993
If I am doing a 2D multimedia program for desktop I'd rather use SFML as I find it more comfortable to use (I used it for a gnomonic pictures viewer for example). Same would go for a 2D game that doesn't rely too much on the GPU. Don't use it for mobile/exotic platforms though.

>>52357334
Better /g/ cred. It's like when you tell people you installed Gentoo. They know you're the real deal.
>>
I only learned SDL
>>
>>52355993
None.
I roll my own because I only care about GNU/Linux and Windows x86/arm which in total is about 1000 lines of code for setting up a window with gl or a software framebuffer, handling input, timing and sound (just a pcm callback).
It's all in a single header stb-style, so you just dump it into any project and get going, no fuss with build systems or dependencies.
>>
>>52357606
>I roll my own...

I've only heard one person use this exact phrase when referring to graphics libraries for game programming, and it was on a forum for an indie game ages ago.
>>
File: 1451667451497.jpg (48KB, 320x320px) Image search: [Google]
1451667451497.jpg
48KB, 320x320px
>>52357606
>I roll my own
Neat, would you mind posting the code? I'm interested in taking a look at it.
>>
>>52355993
SDL2
>>
File: 1410101449611.jpg (369KB, 1080x1080px) Image search: [Google]
1410101449611.jpg
369KB, 1080x1080px
>>52357606
>>52358079

>Imageboards
>>
>>52356222
do people not use raw OpenGL regularly
>>
>>52355993
>Better /g/ cred.
The worst argument I ever heard in favor of anything.

>>52355993
Just so you know SDL2 lacks a function that waits for interrupts. So it's dead for applications.
Thread posts: 26
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.