Summary
This is an example of the various techniques and concepts that I used to build a (very simple) wargame-type hex map, using C# and WPF. Some of the concepts include DrawingVisuals? (which are a WPF lightweight graphical element) built from a Bitmap Static Resource, creating a custom UserControl? (which uses a custom Value Converter), scrolling the map with the mouse, and turning a WPF application into an XBAP, which can be run directly in a browser. Intended as an exercise in learning WPF, I thought it might be worth posting the code, as an example of pulling together a number of WPF concepts into a complete (although simple) working program.
Full Link
http://code.google.com/p/scrolling-hex-map-demo/
Comments
There aren't any comments yet for this resource. Be the first to add one!
Add a Comment
Please log in to post comments.