News 2005 Jul-Dec

From SDL.NET

Table of contents

New Release: SDL.NET 4.0.1-1 - 16 Dec 2005

Release Summary

SDL.NET is a set of object-oriented CLS-compliant .NET bindings for the SDL multimedia library that provides high-level access to audio, keyboard, mouse, joystick, TrueType fonts, various image formats, sound mixing, MPEG-1 movies, 2D video framebuffer and 3D hardware via OpenGL.

This release fixes numerous bugs in the library, particularly in the Events class. The Events loop now supports OpenGL applications better. OpenGL attributes can now be accessed using properties. User-defined events work much better. Creating Resizable and OpenGL windows is easier. All of the OpenGL Red Book examples have been ported to SDL.NET and a Wiki-version of OpenGL Red Book was added to the SDL.NET website.

Documentation and downloads are available at http://cs-sdl.sourceforge.net.

A full changelog can be found at http://cs-sdl.sourceforge.net/index.php/Changelog

SDL.NET is licensed under the LGPL.

4.0.1

David Hudson 16 Dec 2005

Many thanks to dogwatch for submitting numerous bug reports.

  • Fixed Surface.TransparentColor not being retained after rotating Surface.
  • Fixed Alpha not being retained after rotating Surface.
  • Fixed problem with GetPixel getting wrong pixel.
  • Removed Surface() default constructor. It required that Video.SetVideoMode be called first which led to confusion since the other constructors do not require the call.
  • Added a User Event mask to EventMask enum.
  • Added PumpEvents() before PeepEvents() in the Events.Remove() method.
  • Added a Events.Retrieve() set of methods.
  • Events Ticker is no longer multithreaded. This fixed a problem where OpenGL contexts would not work with the Event ticker.
  • Tick Event handlers are now removed when the Events.QuitApplication() method is called. This help the NeHe demos close a lesson's SDL window then start a new one.
  • Video.SetVideoMode can use the Resizable parameter much more easily.
  • All OpenGL demos (NeHe and Gears) now use the Events ticker. The NeHe lesson dialog can close and start lessons more cleanly.
  • UserEvents work. Users can now define new UserEvents and put them into the Event queue.
  • Sound.Fadeout works.
  • Font check for empty string has been fixed.
  • Rectangles and Gears demos are now resizable.
  • Cleaned up Gears code.
  • All of the EventArgs classes have been revised. No API changes but the code is much cleaner.
  • All OpenGL attributes can now be accessed using properties.
  • Removed IsInitialized() from subsystems due to problem with the method.
  • Removed Dispose() from Video, Timer, CDRom, Mixer and Joysticks since they do not actually implement IDisposable and are singletons. Also, the methods did not work correctly. The Close() method for each singleton class will shut down the SDL subsystems.
  • Very minor AnimatedSprite fix.
  • Added OpenGL Programming Guide Red Book to the Wiki.
  • All OpenGL Redbook examples have been added.
  • TransparentColor and Alpha properties now exist in Sprite and SurfaceCollection to make life easier.
  • Added some overloads for Video.SetVideoModeOpenGL and Video.SetVideoModeWindowOpenGL.
  • Calling Events.QuitApplication twice will no longer throw an exception.

OpenGL Programming Guide Red Book Added to Wiki - 07 Dec 2005

I have added the OpenGL Programming Guide aka "The Red Book" to the SDL.NET Wiki. It still needs some work: uploading the images and some reformatting, but it is a start.

ODE.NET Project Launched - 30 Nov 2005

ODE.NET (http://odedotnet.sourceforge.net) has been launched by Rob Loach. It is a high-level wrapper around the Tao.Ode physics library. The demos use SDL.NET. Please check it out!

New Release: SDL.NET 4.0.0-1 - 22 Nov 2005

4.0.0

David Hudson 22 Nov 2005

Many thanks go out to Rob Loach who worked on many of the new features present in this release.

  • Minor SdlDotNet.Particles additions and fixes.
  • NeHe Examples.
  • Video disposes correctly.
  • MouseMotionEventArgs.ButtonPressed bug fix (thanks dogwatch).
  • TextSprite Blit bug fix (thanks dogwatch).
  • Sprites now have Left, Top, Right and Bottom properties. Width and Height are now virtual.
  • Sprite IntersectsWith now has tolerance values for more flexible collision detection.
  • Sprite(string filename) constructor for fast creation of sprites.
  • Added many tutorials to the website.
  • AnimationCollection renamed to Animation.
  • Animation now extends from SurfaceCollection.
  • Cleaned up some very old SurfaceCollection documentation.
  • Fixed a positioning bug in the Surface.CreateCompatibleSurfaceFromClipRectangle. (thanks dogwatch)
  • Video.WindowIcon does not freeze on OS X anymore.

4.0.0beta1

David Hudson 27 Oct 2005

  • Fixed GAC installation and uninstall issues.
  • Fixed Surface.Blit(Sprite). It now blits the sprite to the right location. Thanks to Ekim_Gram for the bug report.
  • SDL.NET now builds on Linux and OSX using NAnt. The build generates Web docs, but not chm help files.
  • Updated the Mono Config file. An Ubuntu 5.10 config file was added as well.
  • Added MacOS X config file.
  • Merged TiledSurfaceCollection into SurfaceCollection. Added a new constructor to SurfaceCollection that loads one row of a graphic. (Rob Loach)
  • Added SoundDictionary class.
  • Simplified and removed some of the examples.
  • Fixed several bugs in TextSprite
  • Added Audio Example. (Rob Loach)
  • Added MusicDictionary class.
  • Improved Sprite collision detection. (Rob Loach and Jendave)
  • Re-worked the Event class. It now provides a processing loop.
  • Added KeyboardState Class. (Rob Loach)
  • Fixed several bugs in the TextSprite class
  • Updated Mouse class to use more properties. Made Mouse class a singleton.
  • Updated ColorKey and Alpha in Surface class to use properties.
  • Audio system was re-worked by Rob Loach to make the API more intuitive.
  • New website using MediaWiki.
  • Upgraded website to use MySql 4.1
  • Removed SpriteSingleCollection class.
  • Re-worked AnimationSprite and added Animation and AnimationCollection classes.
  • New SdlDotNet.Particles assembly contains the SdlDotNet Particle system.
  • Added ParticleExample
  • New SdlDotNet.Windows assembly contains a SurfaceControl class that displays a Surface on a Winform.
  • CDPlayer includes and SurfaceControl example.
  • Fixed bug with MouseMotion events when the button is pressed.
  • Surface can now be converted to a Bitmap.
  • New Logo (Rob Loach)
  • Examples now use the new logo.
  • Ran all assemblies and examples through FXCop
  • Fixed missing button property with MouseMotionEventArgs.
  • All primitives implement IPrimtives interface and include a Center property.
  • Dispose has works better for many classes.
  • Removed FontSystem. The Font class now initializes the SDL_ttf subsystem properly.
  • Many improvements to the NAnt build process

Known Issues in 4.0.0

  • CDPlayer and NeHe examples do not run properly on Linux and OS X due to Winforms issues.
  • The BounceSprite demo causes Mono (Linux and OS X) to crash if you drag a ball outside the screen.

Tao 1.2.0 Released - 02 Nov 2005

The Tao 1.2.0 (http://www.mono-project.com/Tao) library was released today. Several bug fixes to Tao.Sdl, a new SDL_net (the networking library for SDL) class, many improvements to Tao.DevIl (courtesy of Rob Loach) and Tao.ODE.

Example Screenshots Added - 02 Nov 2005

Screenshots for all of the examples were added to Examples including shots of all of the NeHe Lessons completed so far.

SDL.NET 4.0.0beta1 Released - 27 Oct 2005

  • You can download it here (http://sourceforge.net/project/showfiles.php?group_id=52340).
  • Please view the Changelog.

Wiki Editing Problem Fixed - 25 Oct 2005

The Wiki is now editable again by logged in users. I have fixed the issue that caused logged in users to be bounced back to a "preview" page.

SDL.NET Website Upgraded to MySQL 4 - 18 Oct 2005

Sourceforge recently upgraded their MySQL version from 3.x to 4.x. All websites have to migrate their data before November 1. I have completed the migration of both the Wiki and forums. If their are any issues please post them to the forum. Thanks

NeHe 1 Tutorial by Paul Aspinall - 09 Sep 2005

Paul Aspinall has submitted a great NeHe_1_OpenGL_Tutorial.

Website Makeover - 01 Sep 2005

I have dropped the phpnuke version of the site and started using MediaWiki. I transferred the old forums to a standalone version of phpbb. The performance appears to be much better. Thanks for your patience!

French Tutorial for SDL.NET and Visual Studio 2005 - 19 Aug 2005

Here (http://www.games-creators.org/wiki/C_Sharp_Création_d'un_projet_SDL.NET_avec_Visual_Studio_2005) is a tutorial on a French gaming site for SDL.NET and Visual Studio 2005. The url may not work for everyone since it contains French characters.

SDL.NET Tutorial - 19 Aug 2005

Andrew White has written a tutorial (http://edoll.info/articles/sdl_dot_net.html) for SDL.NET and Mono. It uses an older version of SDL.NET but it is still interesting.

New Developers: Rob Loach and cgranade - 16 Aug 2005

I'd like to welcome two new developers to SDL.NET. Rob Loach  (http://www.robloach.net) and cgranade. Rob has been working on the Audio and Gaming portions of SDL.NET. cgranade has starting working on a SDL.NET window manager.

New Screenshot - Dark Sun RPG - 09 Aug 2005

I posted a screenshot of the Dark Sun Online RPG courtesy of didius. It is an online RPG that uses SDL.NET. Check out its website (http://www.darksunworld.com).

Forums are fixed - mostly - 05 Aug 2005

Well, all the posts are showing up in the forums. I am listed as the topic submitter for everything. Also, the formatting of many of the posts is wrong. I will probably leave them as is for now considering how much effort it took to get to this point.

Website is back up, Forums are down - 05 Aug 2005

The good news is that the website is back up and running. However the forums are a mess. I am trying to reconstruct them but it will take probably week or so. Please do not post for awhile. Thanks.

New Release: SDL.NET 3.1.2-1 released - 18 Jul 2005

  • Added a more sophisticated SpriteCollection.Draw() method. It now mirrors the RenderUpdate() method in PyGame. You can clear and update just the rects that changed.
  • Fixed major bug with the SpriteCollection/Sprite Add() and Remove() methods. They were causing Dispose() problems.
  • Fixed problems with LostSprites in SpriteCollections. This allows the old Rects to be cleared properly.
  • Removed WeaponFire and Bounce examples. WeaponFire has been integrated into BombRun (press the space bar to fire).
  • The BounceSprites example will remove a ball if you right click on it. This uses the Sprite.Kill()/Remove() methods.
  • Updated to Sdl_mixer 1.2.6.
  • Created Windows installer.

SDL.NET for CEGUI checked into Realmforge SVN tree - 05 Jul 2005

I have checked in the SDL.NET renderer for CEGUI/C# into the Realmforge svn tree. CEGUI has recently moved from Axiom to RealmForge. I will also be taking over CEGUI/C# development. There is still a lot of work to be done of course. Any feedback and/or help will be greatly appreciated. Thanks

Main Page