Archive

Posts Tagged ‘Game programming’

Simple2D 1.07 now available

February 24, 2013 1 comment

The latest version of my Direct2D-based graphics library Simple2D is now available.

This is mostly a bug fix release with a couple of minor enhancements.

Read more…

Advertisements

Simple2D 1.06 now available

February 18, 2013 13 comments

The latest version of my Direct2D-based graphics library Simple2D is now available.

The main changes are targeting of Direct2D 1.1 and Direct3D 11.1 (and support of new features provided by these), improvements to geometry and window handling, migration of the library source code to Visual Studio 2012, new demos and a new installer. Run-time support for Windows Vista and compile-time support for Visual Studio 2010 is dropped (although it still compiles with warnings). Read more…

Simple2D 1.05 now available – now with full source code and examples

January 16, 2013 1 comment

The latest version of my Direct2D-based graphics library Simple2D is now available. For the first time I have now included the full source code to the libraries and a swathe of examples (source code and compiled executables) covering:

  • Using simple math-function-based animations
  • Calculating text glyph metrics
  • Chaining animations together
  • Using bitmaps
  • Using bitmap brushes with transforms
  • Using bounding boxes
  • Using linear gradient brushes
  • Using path geometry
  • Creating text input boxes
  • Creating buttons
  • Creating sliders
  • Managing your scene using scene graphs
  • A version of MSDN’s Direct2D introduction demo re-written to use Simple2D

For full-blown more complex examples with included source code, see:

  • SimpleAsteroids – a simple asteroids clone demonstrating per-pixel geometry collisions, basic animations and text rendering
  • SimpleTetris – a full-blown Tetris clone featuring complex 2D animations and chained animations, scene graphs, a user interface, use of transformed bitmaps and geometry etc. This example also uses FMOD (link to tutorial series) for music and sound effects.

Download link (always download the latest version)

Please be aware that Simple2D is very much a work in progress, and that changes from version to version can break older code, although I try to maintain backwards compatibility as much as possible. The code is currently undergoing significant re-factoring with each new version.

I hope you find Simple2D useful!

For setup and installation instructions, follow the Simple2D Installation Tutorial.

%d bloggers like this: