sdl.net

SDL.NET (VB/C#): What should the startup object and application type be?

I eventually couldn't get any further with my program due to the various shortcomings of VB.NET (bad audio support, no reading events in the middle of execution, very weak keyboard input, etc). So I tried SDL.NET 6.1. Despite its terrible documentation, I was able to fix my code to use it and I love it! But there's a problem. I don't...

moving SDL video surface

Does anyone know how to move my SDL.net video surface around the screen programtically? Surface videoContext = Video.SetVideoMode(1024, 768, 32, false, false, false, true, true); var a = System.Windows.Forms.Control.FromHandle(Video.WindowHandle); var b = System.Windows.Forms.NativeWindow.FromHandle(Video.WindowHandle); I can't find ...

SDL.NET runtime without installation?

With plain old sdl in C i would copy the dlls i need into the exe directory and was able to run without install. Now i am using sdl.net. I tried doing that but had no luck. Not even a clue to what dlls are missing as i did in the old C way. How can i have users run my sdl app without installation? ...

Why does vshost32-clr2 crash in sdl.net?

When programming in sdl.net on close my app will crash with a vshost32-clr2 error. It stops happening (sometimes) when i close visual studio and reopen the project. Does anyone have any idea why this happens? -edit- More info. I can run the project, close it, run and hit escape right away (to close it) without problems. Repeat to get ...

SDL.Net application not working without SDL.NET SDK

I have a game that I have made in C# and it installs and runs as expected under Windows XP. However when I install it on a Windows 7 machine, then it either simply doesn't work (without any error message) or it gives a generic error message. Is there anything special that I have to do in order to be able to use SDL.Net with a Windows 7...

c#: How to destroy a sprite instance in Sdl.NET?

In particular, I'm trying to Kill a Sprite using SDL.NET. The sprite is, for example, a shoot which move from X=10 to the end of the screen (X=1024) for example. After 1024 I would like to kill it ! According to the documentation of Sdl.NET, into my class definition, on event Update, I write public void Update(...) { ... this.X++; // ...