Hi everyone,
I started learning SDL library (few weeks for now ) and i feel like i'm just copying source codes, i read "Focus On SDL" book and i wanted to make the Framework given in it or maybe a clone but i'm just copying it. I don't know if it's a good method to learn, but i feel like i'm learning s**t
So please, can you give me some advices on the methodology and how can i improve my SDL programming skills ?
Thank you in advance.
[Help] Advices for SDL Programming
Moderator: Coders of Rage
- heisenberg
- Chaos Rift Newbie
- Posts: 7
- Joined: Sat May 04, 2013 3:53 pm
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/C++
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: [Help] Advices for SDL Programming
Use it more. The same way you learn anything. The more experience you have in a given domain (SDL), the better you will be at solving problems in the context of that domain.
Come up with a project you think would be both fun and obtainable within a reasonably short amount of time. Then jump right in and start writing it, researching as necessary when you get stuck along the way.
Come up with a project you think would be both fun and obtainable within a reasonably short amount of time. Then jump right in and start writing it, researching as necessary when you get stuck along the way.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
-
- ES Beta Backer
- Posts: 9
- Joined: Tue Jan 22, 2013 2:20 pm
- Programming Language of Choice: C++ & Python
- Location: Western Pennsylvania
Re: [Help] Advices for SDL Programming
As said above, make things. Start working on a project, and every time you run into a problem, or don't understand how something is working, figure it out by looking around online, in books, etc.
Good luck with SDL!
Good luck with SDL!
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: [Help] Advices for SDL Programming
Sounds like you need a good dose of creativity in your development...
Focus on SDL is a tiny book that really only covers the basics. If you plan to create something requiring more than the most basic functionality of SDL, you really will have to apply the basic knowledge from the book and go out on your own. You can't really copy + paste at that point.
Don't make tech demos. Don't aspire to move sprites around the screen. Try making an actual little game that will require you to write your own code and grasp the concepts you have read about.
Focus on SDL is a tiny book that really only covers the basics. If you plan to create something requiring more than the most basic functionality of SDL, you really will have to apply the basic knowledge from the book and go out on your own. You can't really copy + paste at that point.
Don't make tech demos. Don't aspire to move sprites around the screen. Try making an actual little game that will require you to write your own code and grasp the concepts you have read about.
- heisenberg
- Chaos Rift Newbie
- Posts: 7
- Joined: Sat May 04, 2013 3:53 pm
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/C++
Re: [Help] Advices for SDL Programming
Thank you to everyone, i'm trying this days to code a little Sudoku game.
Thank you again for your answer.
maybe it's true because i don't really know how to structure things, and how to implement functions, so let's stop talking and go back to work like i said i'm working on a Sudoku game and i want to write a Framework.Falco Girgis wrote:Sounds like you need a good dose of creativity in your development...
Thank you again for your answer.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: [Help] Advices for SDL Programming
Is it bad that when I saw your username, I immediately thought of meth-dealing Walter White from Breaking Bad, not the scientist?
- heisenberg
- Chaos Rift Newbie
- Posts: 7
- Joined: Sat May 04, 2013 3:53 pm
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/C++
Re: [Help] Advices for SDL Programming
Acctualy! I thought about the scientist but when i was searching for an avatar i got as result the meth-dealer White Walter. But i took the scientist's picture, i think it's better. :p