Some handy Visual Studio editor shortcuts

I’ve come across a number of cool keyboard shortcuts in the Visual Studio text editor recently. I’ve CTRL-S’ed these into my brain, here’s a quick list, let me know in the comments if you’ve discovered more of them. CTRL-Enter: The inverse of pressing enter, this inserts a newline above your current line, not below. Super…

Tool Dev Exam Making Of #1

Next week I’ve got my ToolDev exam at school, so guess a documentary on the tool I’m making is a bit overdue. Let’s dive in! Our ToolDev classes thought us the basics of WPF, Databinding (yay) and MVVM and our exam assignment is to create a tool. I’m making a node-based programming tool for WPF…

Find the latency of an assembly instruction

It’s always interesting to open the assembly view in Visual Studio and see the generated assembly code. You might be surprised how short or long some things you wrote in C++ are. I’ve often wondered how to see exactly how intensive a CPU instruction is, and today I’ve found an answer to my question. Intel…

Improving the Windows Desktop in Windows Threshold Part 0

There’s a lot that can be said about the Windows desktop, I’ve been loving, hating and brainstorming about it ever since I got my own Windows XP PC a good ten years ago. With each new release cycle of Windows I was excited to see the changes coming up next, and with each new release…

Recap of a nerdy RPG student – 2014

WordPress sure has changed, that’s the first thought that goes trough my head when writing this post. I haven’t blogged in quite a while so I guess this blog post will serve as a quick recap of what happed since my last blog post. A couple of blog posts ago I was predicting my exam…

Visual Studio Tip – Create Templates

When you have to code the same thing over and over again, it’s great to make yourself a template in Visual Studio to speed up your workflow, let’s take a quick look at how you do this in Visual Studio 2012, but earlier versions should apply as well. You can take any codefile you have…

Making circular edge loops in a 3D modelling tool

One of the things you’ll commonly have to do in any 3d application is making round edge loops in a mesh. Traditionally we’ve learned to create a circle shape, put it above the mesh where you want the circle, and cut it in manually (with the snapping tool set to vertices): This is quite a…

December 2013 – What I’ve been up to

It’s been a while since I wrote anything on here and here’s a brief recap of what’s going on in my life. I’m in the second year of college, still studying a game development course, now mainly focussed on programming with advanced C++ and DirectX graphics programming classes. We still get a 3D course, which…

Finals Results Prediction and the Eternal Wait

I will get the finals’ results tomorrow. The first year of uni has been a wrap. Still can’t believe it. I’m so worried and nervous. Tomorrow might be the biggest day of all this year as it will be kind of a confirmation that I’m attending an university. I still feel I kinda live in…

Windows 8 DevShort: BindableBase (bye bye INotifyPropertyChanged)

With BUILD, Windows 8.1 and a Windows 8 API refresh right around the corner it’s time for another Win8 dev post. We’ll look at the BindableBase class which will make DataBinding a little bit easier. The class isn’t officially part of the .NET4.5 specification, at least not today but it ships with every Windows 8…

Math Programming Short: ClampAngle & Clamp Generic implementation

This post should be deadeasy to follow, but oh well. It’s something. In this quick post I’ll show you guys another handy dandy Utility method to clamp angles. On top of that I’ll also show you both the float and generic implementation of the Clamp function. Angles start again at zero when going beyond 360…