Category: Dev

  • DOM DOM DOM

    DOM DOM DOM

    Playing with the DOM is all about adding interactivity to your page. The DOM (Document Object Model) is the interface between your JavaScript and your HTML+CSS. The browser takes all the elements of your page and turns it into a JavaScript object. All the elements of the DOM for your page are contained in the…

  • Load scripts last

    Load scripts last

    So you’ve got your HTML and CSS sorted and you’ve started to drop in some customs scripts to make things a bit interactive. To keep things in shape it pays to develop some good habits early on. One such habit is placing your scripts just before the closing body tag like this: We do this…

  • Equals vs equals

    Equals vs equals

    In JavaScript not all comparisons are created equal… see what I did there. Let’s say we’re comparing two values like this: The use of “==“ will compare two values regardless of their type, so in this example, it will return “The meaning of life is 42”. Used correctly this can be fine of course, but…

  • Github Learning Lab🔬

    Github Learning Lab🔬

    I’ve been using GitHub for a while now as part of my spelunking into the world of VR and Mobile development. I think it’s fair to say it’s done a great job of protecting me from the inevitable mistakes of learning something new. Having said that, it does take a while to get your head…

  • How to: Setup CocoaPods in Xcode

    How to: Setup CocoaPods in Xcode

    Hey, guess what? I’m learning iOS development and have been for months! Thought I might increase my rate of publishing to my blog if I did what I did for my VR course and posted study related stuff here. So to that end… Here’s a simple step by step guide for adding CocoaPods to your iOS…

  • Udacity VR Nano degree retrospective ⏳

    Udacity VR Nano degree retrospective ⏳

    When I started my Udacity VR Nano degree I knew I was in for a challenge. Now that I’ve successfully completed my final assignment I thought I’d share some lessons learnt. So in no particular order:

  • Done: Night at the museum ☑️

    Done: Night at the museum ☑️

    I’ve been AFK for a while (holiday) so I just wanted to post the details of the final version of “night at the museum” I finished a few weeks ago that I delivered as part of my Udacity VR course. The project went well (in that I passed) but I have to admit it was…

  • Optimising C# scripts in Unity 🏎

    Optimising C# scripts in Unity 🏎

    The more I create C# scripts in Unity the more I learn about optimising those scripts. With code there are 100s of ways to solve a problem, not all of them efficient, so learning to check your codes performance seems like a must. Things to look for So far I’ve come across a few simple…

  • Adding spatial audio in VR 🎧

    Adding spatial audio in VR 🎧

    Part of my Night at the Museum project is adding audio descriptions to the objects on display. To do this in Unity I’m making use of the spatial audio capabilities of the Google Cardboard SDK. As with most things in Unity, there’s a fairly reasoned logic to how this is done. You need three main…