If you have problems with the sdl dll's just download them from their site.
For learning Sdl + Documentation:
I'll be doing a few tutorials when I got time.
Basically it's just a project template which you add to your Visual Studio.
Everything except for Sdl is created by me in this template, that means every class where you can see actual codes. The SdlDotNet.dll and Tao.Sdl.dll is the only assemblies I do not own.
Download:
How to install:
1. You have to go to wherever your templates have to be installed.
Usually:
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Visual Studio 2010Templates\ProjectTemplates
If you're unsure where it is then you can just export a test template by creating a new project and go to File -> Export Template...
2. Move the zip folder you downloaded into that directory (Do not extract it or anything.)
3. Create a new project and name it whatever you want.
4. Open the folder "MOVE_TO_DEBUG_OR_RELEASE"
5. Move all the files from there into debug or release, but NOT THE DIRECTORY ITSELF.
6. You're ready to begin creating your game.
It includes wrappers for audio (Music + Sound), Eventhandling (Keyboard[up/down], Mouse[up/down/click/hover/move], Screen), Graphics (Collision check with both sprite/point, gameobjects/tiles), Settings for video and game read from xml, ScriptEngine for both C#/VB (Needs optimization tho.), Multithreading (Threads running with interval-actions, Thread-safety collections (ConcurrentDictionary) + random, Delayed actions and at last support for fullscreen/window with Windows Form support.
Screenshots:
Anyways enjoy!
#Edit there is a little bug with full screen and events. To make it work proper go to Events.SdlEvents.cs and replace LoadEvents() with:
Code:
/// <summary>
/// Loading all the sdl events.
/// </summary>
internal static void LoadEvents()
{
Begin();
if (!Sdl.VideoCore.FullScreen)
{
Thread eventThread = new Thread(new ThreadStart(SdlDotNet.Core.Events.Run));
eventThread.IsBackground = true;
eventThread.Name = "SDL.NET";
eventThread.Priority = ThreadPriority.Normal;
eventThread.Start();
}
else
{
SdlDotNet.Core.Events.Run();
}
}
Also you can remove the while loop in Program.cs -> Main(), if you've done above.
#Edit ugh, why doesn't images work? LOL