Category: Programming
-

Summer 2018 Programming – C#ffeeFlow flow progression tool
As a 2018 summer holiday programming activity, I developed a programming flowchart tool that I’ll introduce in this blog post. Application Brief The flowchart tool, dubbed C#ffeeFlow / CoffeeFlow allows you to string together a set of methods and set a trigger for when these methods should be called consecutively.…
-

Holiday Programming April 2017
During one week of the Easter holidays, I decided to program a small C#-driven game in Unity. Sadly I can’t spend a lot of time programming and making things while still busy studying Japanology at university, but holidays are the perfect time to switch gears and get back into sharp…
-

December Work: Unity Splinetool and Chrome Jisho Extension
In December I had some free time during the holidays so I decided to create 2 small side projects. First up I made an editor extension in Unity that allows you to draw a path by using Bezier curves inside the editor. You can quickly generate a complex path and extrude a…
-
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…
-
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…
-
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…
-
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…
-
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…
-
XNA Short: Performing an action over time
When developing games, you often want to perform an action over a certain amount of times. Common examples are updating the position of something each second, or shooting a bullet each 5 seconds. This can be hard to achieve as the primary unit of time in games are frames, not…
-
WPF Short: ObservableCollection & INotifyPropertyChanged (2)
In my last post I explained the basics of databinding, but there’s still one issue which you’ll always have to fix when working with databinding, being the UI not updating properly. More precisely, there are two scenarios where you want your UI to be updated. One being when an item…