SDL Open Source Game

Pages: 12
closed account (y8h7M4Gy)
Hello,

Does anyone here know a bit of SDL ( doesn't matter how much ) and have time to make a game? i am working on one right now, but i want a partner to speed up the development.

Ask for more details

Adios
I know that SDL is the acronym for Simple DirectMedia Layer, is that enough to be accepted? ;)

I'm guessing the answer is: nooo, hehe
closed account (y8h7M4Gy)
Congratulations! Your in! lol Start doing these tutorials..

http://lazyfoo.net/SDL_tutorials/index.php

When you get a basic understanding then I'll get you to do some stuff.
They are easy tutorials, I finished most of them in about a week

Adios
Has anyone tried SDLmm? I downloaded it and played around with it this morning. There doesn't seem to be any examples or tutorials for it but the interfaces are fairly straightforward.
closed account (y8h7M4Gy)
Isn't it pretty much the same thing as SDL except they try to make it a bit easier to use?
I like SDL.. :P SDLmm looks like a bunch of functions that are easy to make in SDL.
Last edited on
This morning, when I was about to write my first SDL program, I was immediately compelled to write wrapper classes to use RAII. So, I googled it up and found SDLmm.
closed account (y8h7M4Gy)
Hmm.. not familiar with RAII or SDLmm.. I just use SDL, although it takes a bit of code to do something, its really powerful
RAII is to do with memory management. The "mm" in SDLmm presumably stands for "memory manager" or similar.

SFML is better than SDL. It's a C++ library to do virtually the same thing, but it's better. SDL is a C library so unless you're writing C code, use SFML.

Edit: in fact, use it either way -- it has C bindings.
Last edited on
mm suffix sometimes means that the library is a C++ wrapper of a C library
http://sdlmm.sourceforge.net/
SFML is better than SDL. It's a C++ library to do virtually the same thing, but it's better.


+1

I was turned on to SFML by this forum and from a buddy of mine who is making a game with it.

I checked it out with reluctance, but was plesantly surprised.

I don't plan on ever going back to SDL.
closed account (y8h7M4Gy)
Hmmm.. does it have the same functions as SDL?
because i was just studying SDL for about a month and i am in the middle of making a game..

You'll have to change a lot of your code, but it's similar ot SDL in a lot of ways

- It has events that you poll just like SDL
- You set a video mode in a similar fashion
- Instead of loading "Surfaces" like you do in SDL, you load "Images" in SFML
- Instead of blitting rectangles like you do in SDL, you create "Sprites" in SFML. It's a similar idea, but different approach.


Input is handled similarly. Audio is handled in a much easier to use fashion.
whats sdl? is it like opengl or directx?
closed account (y8h7M4Gy)
yeah, its pretty similar, except directx is built for crapDOS ( no offense crapDOS users )
how much c++ do i need to know to code with sfml? i just learned about inheritance, polymorphism, linked lists, trees, and tables. are those enough to use sfml and make games?
closed account (y8h7M4Gy)
umm.. you just need a basic understanding, probably just all of the tutorials on this site except the advanced ones. they would help though
do you mean SDL?
wow both sdl and sfml...but i might use sfml since two people said it's more powerful...however, i've read some of the tutorials on the site u provided for sdl and it was a pretty good tutorial, whereas the tutorials for sfml are not very clear. i think i might work with sdl first and gain basic understanding of game making then work my way ip
closed account (y8h7M4Gy)
ok, good idea
do you want to join in the game im making? it doesnt matter that you dont know much
@edward, sure...however, i can't get started on it until next month cause this month is hectic with finals coming up and lots of stuff to do + work. however, im always willing to learn and will take up anything if it helps me become a better programmer, especially since i only program as a hobby and im still fairly new to the programming scene. nevertheless, i am interested in the whole game making process, so just hit me up :D
SFML's tutorials aren't clear? How could they be any clearer? The documentation on the website is excellent, albeit somewhat unstructured.
Pages: 12