<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d13405220\x26blogName\x3dPavan+Podila\x27s+Blog\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://pavanpodila.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://pavanpodila.blogspot.com/\x26vt\x3d-3240902251102105728', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Monday, February 27, 2006

Polarium clone in WPF - compendium

A clone of the popular game Polarium is available for Windows Presentation Foundation (WPF). This currently runs on the WinFX Jan CTP May CTP of WinFX Beta 2 runtime.


It is currently in version 2.2 and includes the following features:
  1. Supports all standard interactions available in NintendoDS
    1. Single click: Move to selected tile
    2. Double click (on current tile): Flip tiles
  2. Ability to load levels in the custom NDS puzzle format. You can simply copy the puzzle code from the Polarium Puzzle Archive and right-click twice on the Polarium title. This will load that puzzle.
  3. Flipping tile colors (White <-> Black)
  4. Cool animations
There are certainly many areas that can be improved/added. If there is enough interest I would be glad to create a GotDotNet workspace.

-------------------------------------------
Download Source and Binaries.
-------------------------------------------

Here are all the blog posts detailing the development of this game:
  1. http://pavanpodila.blogspot.com/2006/02/polarium-clone-in-wpf.html
  2. http://pavanpodila.blogspot.com/2006/02/level-loader-for-polarium-clone.html
  3. http://pavanpodila.blogspot.com/2006/02/animations-ready-for-polarium-clone.html
  4. http://pavanpodila.blogspot.com/2006/02/polarium-clone-v10.html
  5. http://pavanpodila.blogspot.com/2006/02/support-for-nintendods-custom-puzzle.html
  6. http://pavanpodila.blogspot.com/2006/02/polarium-cleanups-cool-new-feature.html
  7. http://pavanpodila.blogspot.com/2006/02/flipping-tile-colors.html
[Update] The Polarium clone now works on May CTP of WinFX Beta 2. Enjoy!