Category Archives: Software

Using Microsoft Visual Studio Code as the external code editor in Unity

Yesterday during the Build 2015 developer conference, Microsoft announced and released their new editor called Visual Studio Code (or just “Code” for short).  Code is free, runs on Windows, Linux and Mac OSX.  I immediately wondered if it would be a good alternative to MonoDevelop as a code editor for use in Unity.  After a bit of fiddling, I managed to get it all working quite nicely, with proper code completion etc.  There are some caveats though, it does not work perfectly, but the caveats are easily worked around.

Here are the steps I followed on my Mac:

Continue reading

My Android development learnings so far

So I’ve been doing a lot of online courses on Javascript (and JS frameworks like Bootstrap and AngularJS), as well as a bunch of courses on Android Development.  Both from and  I received a 1 year access to via New Relic in return for adding their management agent to my hosting server, and there are several freely available Android courses at Udemy, and I bought a couple when they were $10 each during the new year sale on Udemy.  The nice thing about both Udemy and Learnable, is that you receive a completion certificate once you complete a course.  I’m gathering all my certificates on my Learnings page.

I must say that Android development does seem rather straight forward, or, at least, what I’ve seen so far.  I’ve done many beginner courses, and busy going through a couple of the more intermediate and advanced courses, including a Lollipop dev course, and the way of coding is nice and concise, not a lot of guesswork involved.  I’m even using Android Studio instead of the Eclipse ADT, but still getting used to the differences.

My next step is to code up a few native applications and get them onto the Google Play Store.  Strangely enough, my biggest stumbling block so far has been to figure out under what name I want to release the apps.  Hehe.  Choosing a name is an important step!

And no, all of this learning I’m doing has nothing to do with my work-life, there is no reason I need to know these technologies for work, this is purely for self-enrichment.  I love coding, and there is not a lot of opportunity where I am at the moment, to learn or implement new things like this, so I have to keep up with it in my own time.

Adventures in Unity: How to change the default New Unity Project path in Windows

UPDATE: This was for Unity 4.x, and no longer applies to Unity 5.x

I just re-installed my computer, and installed Unity again, aaah, a clean slate. Upon starting Unity up, I realised that it had the rather daft default New Unity Project path set to something silly like C:\Users\aubrey\Documents\New Unity Project\ – but I gather all my Unity projects in my C:\Development\ folder, so I wanted to change that default path.

A quick Google search found only questions, and no answers, on the Unity forums, as well as StackExchange etc. So I went a digging.

Luckily, it did not take me long to find exactly what I was looking for, which was a single registry entry that needed to be changed.

So here it is:

In there, you will see a String with a name starting with kProjectBasePath.

At least, that’s what it is on my computer. I merely searched for “kProjectBasePath” in the registry, and the above came up. It’s a simple registry string, so once you find it, double click it and you can edit it to whatever you want.

If you store your Unity Projects in a folder under your Documents folder like I used to, then the following value will do perfectly:

Just make sure you’ve created this folder first.

Happy Unity’ing.

I do this for the fun of it, and ask nothing in return. If you care to donate to see more, please visit my TipJar page.

Mac OSX tips for Windows users

I was recently asked “Now what?” when a primarily Windows user was faced with a sealed Macbook Pro box. So I ended up typing the following few tips off the top of my head to help said Windows user to find their way around OSX:

  • Your system tray is top right, not bottom right.
  • Your menu bar at the top left, is there *all* the time, and changes depending on which application has the focus
  • Applications do not have their own menu bar attached to the window, their menu bar *is* the menu bar at the top left of the screen.
  • Ctrl is now Cmd (Cmd-c to copy, Cmd-v to paste, etc).
  • Alt *really* means what it’s meant to mean – alternative. want a ™ sign? alt-2. £? alt-3. ¥? Alt-y, etc. (shift-alt-letter is another alternative).
  • Want a kappie on your e? Alt-i_let-go-of-Alt_e (Umlaut is Alt-u, Accent is Alt-e). Kappie on the u? Alt-i-u -> û
  • Where is your Control panel? Click the apple icon on the menu bar, click System Preferences.
  • Where’s your right-click on your laptop trackpad? Ctrl-left-click. Want to have a right click? Enable “click-with-two-fingers-for-right-click” in System Preferences->Mouse.
  • The dock at the bottom is both a taskbar *and* a launchbar, just like in Windows 7. Little dot under the icon means the app is running.
  • Want to close an app? Click the red x icon top left of the window. But the little dot is still under the icon on the dock! Yes, you closed the app, you didn’t Quit the app. Want to quit it? Cmd-q or click on the app’s name in the menubar – then click Quit.
  • Quick way to kill an application? Alt-Cmd-Escape.
  • Want to use the built-in media player? Cmd-Escape. (no mouse in there, use the keyboard. escape to go back/escape out)
  • Try the tap-to-click option in System Preferences->Mouse – no more *clicking* of the mouse touchpad, just tap it to click.
  • Scrolling up and down in a webpage/document? Drag up/down with three fingers on the touchpad.
  • Where’s your Start menu? Click “Applications” on the right-hand-side of the dock at the bottom.
  • Can’t find your file explorer? it’s now called “Finder” (usually far-left of the dock)
  • Default browser? Safari.
  • Default mail application? Mail (or also written as
  • .app is the “application” extension, you won’t see the extension, but it’s implied. It behaves like an exe in Windows.
  • .dmg is “Disk image” aka a zip-ish file that contains an application – double-click the .dmg file to open the disk image – it opens a Finder window.
  • Want to “install” that application onto the laptop? Drag the application from the disk image window onto your Applications icon on your dock.
  • Want to delete a file? drag it to the Trash icon. Or select it by clicking on it once, then press Cmd-Backspace.
  • Want to clear your trash? Shift-Cmd-Backspace, or right-click on the Trash icon, then click on Empty Trash
  • What about your desktop? That’s there still as well, and works similar to in Windows.
  • Attached a USB disk to your Mac? It appears inside Finder on the right-hand side as well as on your desktop
  • Want to detach that USB disk safely? Right-click on the icon and click unmount -OR- drag the icon onto the Trash folder. WAIT A MINUTE! That Trash folder icon changed to an Eject icon! Now that’s clever.
  • Want to connect to your Exchange server for mail? supports Exchange, otherwise, you can install MS Office for Mac – it has Outlook.

I hope this helps Windows users that have never seen Mac OSX.
Did I miss some rather obvious things? Let me know and I’ll add it to the list.