Home > Releases > Simple2D 1.05 now available – now with full source code and examples

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

January 16, 2013 Leave a comment Go to comments

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.

Advertisements
  1. No comments yet.
  1. February 18, 2013 at 22:06

Share your thoughts! Note: to post source code, enclose it in [code lang=...] [/code] tags. Valid values for 'lang' are cpp, csharp, xml, javascript, php etc. To post compiler errors or other text that is best read monospaced, use 'text' as the value for lang.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: