Having just finished a basic particle engine I thought I would quickly use this as a basis to make a smoke / fog effect.5 Comments
jonny's blog Posts
What do you do when you find yourself struggling to write even the most basic of code having been using Resharper with VS2010 and you really don’t want to spend any money on a license?
Luckily there is free stuff out there to help (some of which is also available for 2010):Leave a Comment
Just a small update with a random effect I created based on my particle engine. A fiddle of the effect is here.Leave a Comment
Features I plan to do as enhancements for by basic particle engine. Please add comments / vote on what you would like to see in…2 Comments
You may well find yourself wanting to attach to an event which has already been handled inside a control with no way to override and prevent the event from being handled. As seen in my prior post to this, you can make use of the AddHandler method. I am going to use the Backspace key down in a TextBox as an example, the event is only raised and not handled when the TextBox is empty. (This can be seen in the sample application in the output coming from the behavior)Leave a Comment
After recently searching for a way to do this and finding nothing I thought I would share a solution. It involves using the ever useful AddHandler method on the UIElement you wish to detect the mouse down on and simply setting a flag. Job done.
It is worth noting that popups and child windows may appear on top of the UIElement which the handler is attached to.2 Comments
Recently I have been thinking about applications with data input and the problems of being in a browser. One of the perils of being in a browser is that a user may have some unsaved data input tasks. The data can be easily lost by accidently navigating to a different webpage, closing the browser or closing the tab.
This is a port of a shader I wrote a long time ago at University to Silverlight. It was originally written it Direct X and C++. I am not going to go into too much detail about the implementation but will mention key points I came across.Leave a Comment
Often when creating an application you will want a secondary mechanism for executing a command, the primary mechanism will often be a button click (e.g.…3 Comments
This behavior is used to set the source of a silverlight image control when an image is dropped from the file system onto a UIElement…One Comment