Tuesday, 28 August 2012

Developing DICE ROLLER - Part2

Since the last post I've dug deeply into LoopingSelector implementation and found out why the hell it didn't work after navigating from the page and back. It appeared that problem was that control believed that he had been already drawn and it didn't try to re-apply template to the items which led to crappy drawn control.

Fixing the issue could be found in that commit.

Also I've added a couple of screen shots from the last build. You can find them here.

All comments about how all this stuff going on are greatly appreciated. What do you think I should added first, your thoughts about working with such application in your vision.

I have plan to release first version of this application in first days of September.



Tuesday, 21 August 2012

Developing DICE ROLLER - Part1

My girlfriend is on a vacation which means I have plenty of free time at home to spent it on programming.
I've put all my strength into "DICE ROLLER".
During last weekend I made a breakthrough in the work:
1. Added Dice Images
2. Used Funq - which easy to setup and use.
3. Added a Settings page.

And actually the last moment brought me to an issue which I still cannot resolve.

My app is designed around LoopingSelector control from Silverlight Tooklit. I'm using tiny changed version of it called HorizontalLoopingSelector. The problem I've discovered is that after navigating from Page which has HLS to some other page, after navigating back HLS is crapped. I've spent whole evening yesterday trying figure out what the hell, but still unsuccessful.  

Monday, 28 February 2011

A couple words about DirectInput

Some day an innocent .Net developer could encountered a need to implement a Joystick device support using Managed DirectX. I look through the web and found out this notes which could be useful for anybody with the same task:
- First of all its a joystick itself. Because I don'r have any hardware device I searched for any keyboard joystick emulator. I found this one which seemed to be free of pay: VJoy.
- Second - a really useful article about Joystick and how to work with it:
Interfacing with a Joystick using C#

If anybody will find this post and would ask to some additional code examples I will upload my dummy example somewhere, just leave a comment.