Basic knowledge of game programming in C language

In the past two months, I have been trying hard to learn the basics of game programming. So I wrote a few simple games in Java to learn the basics, such as Tetris, Checkers and Pac-Man.

Now I want to learn/improve my C skills, so I have the idea to write these games in C to learn more about memory management, no OOP, etc. I have done basic C programming before, but have never used graphics, so I don’t like it. I don’t know where to start.

Which libraries should I use to write simple 2D games in C? GTK? Cairo Library? Can you recommend any tutorials? Graphics library?

Thank you

I recommend using SDL graphics library, here are some very good The tutorials and demos… http://www.libsdl.org/ and the tutorials here… http://www.sdltutorials.com/ Hope it goes well!

In the past two months, I have been trying hard to learn the basics of game programming. So I wrote a few simple games in Java to learn the basics, such as Tetris, Checkers and Pac-Man.

Now I want to learn/improve my C skills, so I have the idea to write these games in C to learn more about memory management, no OOP, etc. I have done basic C programming before, but have never used graphics, so I don’t like it. I don’t know where to start.

Which libraries should I use to write simple 2D games in C? GTK? Cairo Library? Can you recommend any tutorials? Graphics library?

Thank you

I recommend using the SDL graphics library, here are some very good tutorials and demos… http://www.libsdl .org/ and the tutorials here… http://www.sdltutorials.com/ hope it goes well!

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1704 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.