Page 3 of 3

Re: SDL Tutorials

Posted: Sat May 30, 2009 11:04 pm
by kilgariff
Daxtorax wrote:I've tried to follow lazyfoo's tutorials, but I come up with one of two errors depending on how I change the include heading.
When the include is, #include "SDL.h" I get the following error:
fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
I get this error even after I add the SDL.dll to my project folder. I then saw on there that you can instead change the include to #include "SDL.h", I try this, but then I get the error:
fatal error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h
I looked in the include folder in SDL and found the SDL_config.h but don't understand how to add the default to the SDL_config.h?
I'm sorry if I'm asking a newbish question, I just don't know how to solve it, I've tried searching google, any help is greatly appreciated.
In case you didn't get this figured out, I think you may need to include "SDL/SDL.h", if your include directory has an SDL subdirectory.

Re: SDL Tutorials

Posted: Tue Feb 16, 2010 2:47 pm
by Bakkon
I wrote an article for SDLTutorials.com on pixel perfect collision detection. Some of you would probably enjoy it.

http://www.sdltutorials.com/sdl-per-pixel-collision/

Re: SDL Tutorials

Posted: Tue Mar 16, 2010 5:30 pm
by MrDeathNote
Bakkon wrote:I wrote an article for SDLTutorials.com on pixel perfect collision detection. Some of you would probably enjoy it.

http://www.sdltutorials.com/sdl-per-pixel-collision/
Nice article, i've bookmarked it in case i need to steal it in the future lol, thanks for the post

Re: MGWB: Making Games With Ben

Posted: Wed Apr 26, 2017 2:23 pm
by Nohbdy
https://www.youtube.com/watch?v=FxCC9Ce ... PghnSMiOAW

NOTE: Type everything alongside the videos. Though IDE troubles might be the most problematic(it was for me, then again I stuck with Code::Blocks.)
Uses SDL2, OpenGL, GLEW, and just about everything is from scratch other than a copy-paste of picoPNG. Later on is Box2D and CEGUI(haven't reached).
  • #1-3 are installs.
  • By #6 you've got your first Triangle. #9 You begin GLSL shaders.
  • #20 You separate engine from game and got yourself your own library.
  • #30-33 is a top-down zombie shooter(I got stuck here due to a bug, but will easily start over from scratch).
So, I'm probably going to recommend this one out the wazoo each time it fits a request... but AYE!
I skipped the first tutorial playlist and jumped to "Advanced C++/Graphics Programming". I truly do believe this is one of the best I've found.
He got a job working on something for Guild Wars 2, so they stop at video 58, but pshh... just getting to the 30th was mind-blowingly educational beyond all I've seen to date, and at that point you have created a library and are working on a top-down zombie shooter.

Look into his own game "Seeds of Andromeda" for some confirmation of skills. Confidence in understanding gained from his explanations during the tutorials especially.