April 23, 2019

Metal shader development on an iPad

The iPad is an amazing learning device. You can read shader books on it. Draw shader ideas on it. And ever since iOS playgrounds got a major boost you can even develop Metal shaders on it using Playgrounds. It was the only device I had with me on my easter vacation in the woods. Most of the time was spent like this: But you need to catch your breath every once in a while and what could possibly be better than coding shaders on the iPad, in the hammock? Read more

April 14, 2019

Recreating Beat Saber lazers with unicorns

I’ve been coding professionally for over 20 years and I still learn new things every single day. One of the most fun and rewarding ways I use to get better is to recreate things in games I love. And I’m in love with so many games. It never ends. An endless, lovely, gamedev tutorial! One of the games I love is Beat Saber. I wanted to recreate it as a VR learning experience on my HTC Vive. Read more

April 12, 2019

Setting up ShaderModifiers in SceneKit

I <3 the Metal shader debugger in XCode. It’s one of those things that feels like they’ve been sent from the future. I’ve been doing shaders in OpenGL for years and years. The last five years I’ve been helping a nice Swedish game company to code casual games with a lot of Candy. And Crushes. More than once I’ve realized that the demos and shaders I did for fun in my teens are the very things that’s putting food on the table for my kids over 100 years later. Read more

April 10, 2019

Teaching your teen to code a starfield in PICO-8

Kids love starfields. It’s a perfect coding session with a nice visual result and basic highschool math. We’re going to build this: When coding with kids, always keep it simple and at their level. I know most of you reading this are math wizards but kids tend not to be super impressed by your vector math and matrix calculations (believe me, I’ve tried). You’re going for quick results and simple code, on their math level. Read more

April 8, 2019

Teaching kids game development with PICO-8

Growing up I loved to play Crazy Comets on my C64. The magic starfield seemed almost impossible to code for a 14 year old and the music by Rob Hubbard totally blew me away. I decided to code a pico8 remake of it together with my 6 year old daughter in order to show her how to make games. We had a fantastic time! Pico8 has the simplicity needed in order to show how everything fits together. Read more