   SDL Problems
  This weekend, I got bored and decided to make a Pong game using SDL. Nothing special, just something to keep me occupied. I have a little problem now though. When I move the paddles up and down, it just makes a big white rectangle where ever it passes through. It didnt do this before and I don''t know what I deleted. If you don''t understand what I''m talking about, you can download the executable and bitmaps at  this place.  If you need the source, I''ll upload the files so you guys can download it.   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force
  Check Cone3D''s tutorial about loading bitmaps. It discusses it there, you need to draw the background over every possible area the paddle can move.PS I might also make a Pong game using SDL, but I don''t know where tutorials are. Did you just make it yourself(without previous knowledge of it)? ;  To answer you question, yes. All from scratch. And I personally don''t like the Cone3D tutorials.   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force;  You probably deleted an erase function of some sort.What this is depends on how your doing things.If you were using OpenGL, you probably deleted a glClearBuffer( GL_COLOR_BUFFER_BIT ); line.If you were using just SDL, you probably frogot to draw a black rectangle to erase the paddle, assuming the background is black.I''m guessing the border of the paddle is white colored, no?Also, you don''t have to draw background over everywhere that the paddle could be - just over where it was last frame. That''s assuming you''re using a static background and that general principle.Sam''s "Teach yourself game programming in 21 days", although assuming you know and understand hex and C (which I didn''t when I bought it) is a good book for this kind of thing . 