Introducing CodePlus!
Published by on 27.02.2013 at 13:56

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/codeplus_wp.png

CodePlus is an application that I wrote because I wanted a better coding experience on the Windows 8 RT devices since I could not run Visual Studio. Here is a description of CodePlus:

CodePlus – is an editor to allow developers to program in C, C++, C#, CoffeeScript, CSS, HTML, Java, JavaScript, Ruby, Perl, PowerShell, Python, VB.NET, and many more. It supports undo/redo and syntax highlighting. As a developer, you can point to a folder and work on any files in that file.

 

Read Matt's entire article here.





Introducing DoodlePad!
Published by on 26.02.2013 at 13:18

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/doodlepad_wp.png

Another simple but fun application that I wrote for my boys. DoodlePad is yet another paint-like clone that is touch enabled. I wanted to provide a simple means for my boys to play around and make me some cool drawings.

Like my games, this application relies heavily on HTML5 canvas to get its job done. I also want to provide a link to a pure JavaScript color picker I used in the app in case any of you are looking for one.

Read Matt's entire article here.





Introducing Tank Commander!
Published by on 26.02.2013 at 05:12

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/tank_commander_wp.png

In this post, I wanted to describe Tank Commander and talk about some of the logic that went into building it.

Here is the description of the game:

Tank Commander is a game that teaches you programming logic. You get one chance to write your program and destroy the base. You can play any level but your real skill comes when you can write all the programs without a single error!

Read Matt's entire article here.





Developing Windows 8 – Hex Math
Published by on 20.02.2013 at 23:41

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/matt_duffield_wp.png

I recently was working on an application where I wanted to use a simple color picker and then make the button that I used to launch the color picker display the color chosen. The library that I ended up using can be found here. I selected it because I didn’t want any dependencies on jQuery or other libraries and just use a lightweight JavaScript approach.

screenshot_02202013_183302

As you can see, I am using the built-in AppBar/NavBar features of Windows 8 to help keep the UI clean.

One problem I ran into while testing my code was that when I picked either a background or brush color that was white, I could no longer see the icon and text on my command bar.

 

Read Matt's entire article here.





Developing Windows 8 – Saving your canvas
Published by on 20.02.2013 at 21:05

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/matt_duffield_wp.png

Developing applications for Windows 8 has been so much fun now that we can use HTML5, CSS3, and JavaScript.  I have been inspired to write some simple applications for the Windows 8 App Store.  This has been a very fun experience and I find that the more that I try and push myself, the more I end up learning.

I recently just released a new application for drawing called, “DoodlePad“.  This simple application allows you to draw on the canvas and change your brush color, size, and background of your canvas.  It also allows you to save your drawing, create a new one, or open an existing image.  One of the tricky parts that I ran into when developing this application was trying to provide a good user experience by allowing them to have a background color.

This wasn’t as easy as I had first imagined since the Canvas is transparent by default.  At first I thought I could simply create a fill style and then fill the Canvas rectangle with whatever color a user chose.  However this didn’t work out very well when I was testing because as soon as I would start drawing and then want to change the background, all of my art work up till then would be covered with the new background.

Here is what I came up with, I decided to use a wrapping DIV that I would set the “background-color” property using JavaScript whenever the user selected a different color.  This turned out to work perfectly well due to the Canvas being transparent out of the box.

Now comes the problem, when I want to dump all the beautiful work that the user has done create a masterpiece, the canvas no longer has any information concerning the background.

 

Read Matt's entire article here.





Setting view states in HTML windows store apps using Blend
Published by on 17.02.2013 at 22:06

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/timmy_kokke_wp.png

From developing XAML applications I got used to working with the visual state manager to set various states of my applications and controls. In Windows Store apps that are build using XAML use the visual state manager to change various properties when the view state of the app changes. The app can be ran in fullscreen, filled or snapped state.

When building Windows Store apps using HTML and JavaScript I wanted to show some UI different when the view state changes. One way to accomplish this is to change the CSS class of the elements from JavaScript. Just handle the change in view states and call some methods to set the classes.

Another way comes very close to the visual state manager from the XAML world. And can be done from within Blend.

Read Timmy's entire article here.





50 design templates for Windows Store apps
Published by on 15.02.2013 at 22:21

http://www.expressionblend.com/articles/wp-content/uploads/2013/02/timmy_kokke_wp.png

I recently tweeted about some upcoming new design templates. At that time these templates were not released yet. Today I stumbled on them again. And it turns out that they are available for free on codeplex. You can see them all here.

It’s not recommended to uses these templates as is. They’re provided as Visual Studio solutions in C# and JS and you should change the design to match your brand, of course.

Windows 8 App Design Reference Template: Block Style Color Windows 8 App Design Reference Template: Block Style Picture

Read Timmy's entire article here.





Developing Windows 8 – Using AppBarCommand Icons outside the AppBar
Published by on 23.11.2012 at 04:52

One of the things I really like about developing Windows 8 applications is the ability to use the built in icons provided by the Segoe UI Symbol font.  It is through this font that I can do thing like this in my AppBar:
<button data-win-control="WinJS.UI.AppBarCommand"
data-win-options="{id:'find', label:'Find', icon:'find',
section:'selection', tooltip:'Find (Ctrl+F)'}"></button>
I am able to use the name of the icon directly, “find”, because of some helpers provided by WinJS but I can still access the icons directly due to the font family being exposed. Another nice feature is that if you create a brand new JavaScript Windows Store application, you will automatically be exposed this font.  That means that I don’t have to provide a font family directly.  You can simply write the following HTML code:
<div class="pad"><span class="marginRight10">&#xe188 ;
</span>Folder</div>


 Read the full post





Win8 Game – Introducing Milo the Mosquito
Published by on 22.11.2012 at 18:47

In this post, I am going to describe the game Milo the Mosquito that I created and show some of the screens. Here is the description of the game:
Milo is an annoying mosquito that just needs to be caught. Play through the levels and try to catch Milo as fast as you can. Once you have Milo trapped, tap on him to squish him for good.
The Home screen is as follows:     Read the full post





Developing Windows 8 – Adding a ListView to your settings charm and overcoming dual vertical scrollbars
Published by on 22.11.2012 at 18:07

Here is another tip that I ran into recently when trying to get a ListView setup properly in a setting page. When I was coding for the ListView I came across the following screenshot:     Read the full post

< older posts