• Game Dev Tips and Tricks #2

  • Basic Raspberry Pi robot building

    So, I’m writing these notes while putting together a small robot powered by a Raspberry pi. Installing wiringPiwget https://project-downloads.drogon.net/wiringpi-latest.debsudo dpkg -i wiringpi-latest.debgpio -v Installing Visual Studio Code (yes, VSCode can run on a pi!)(https://code.visualstudio.com/docs/setup/raspberry-pi)sudo apt updatesudo apt install code Set up C code in a single c file (to test)compile with gcc -Wall -o piBot…

  • Git .gitignore Repo

    This is a handy one if you’re looking for a .gitignore file for your repo. It contains ignores for all sorts of software and languages. Very handy. I’ve used the Unity one on my git repo and it’s working perfectly https://github.com/github/gitignore

  • Using Gigapixel AI to Improve Photos

    This is a handy one if you have old pictures that you want to bring up to date and improve them while still keeping the OG content. Take a look at Gigapixel AI. It’s a nice tool that allows upload of an image and then upscale and adjust it using AI In the example below,…

  • What’s this all about?

    I’m going to take you through every step you need to get an app up and running on iOS and Android. I’ve been building games and utils since the 80’s and just want to pass on any info I’ve picked up along the way in case it’s helpful. I also want to document simple processes…

  • Example 5: What is a Cross Product?

    A cross product is a way to find a vector that’s at a right angle to two other vectors. In the image below, we want to get the “C” vector by using the “A” and “B” vectors. The math is pretty simple. I’ve added a piece of code to calc the C vector from the…

  • Create 3D Animations from 2D Images with LeiaPix.com

    [NO affiliate links included] LeiaPix.com is a site I found while looking for ways to generate AI animations. As an example… This isn’t so much “AI” as a way of taking 2D images and turning them into pseudo 3D animations by extracting depth information from the 2D image. The site is https://convert.leiapix.com/upload Very simple to…

  • Example 4: What is a Dot Product?

    A dot product is another piece of math that you’ll find invaluable for game dev. It allows you to get a value between 1.0f and -1.0f that tells you the angle between two vectors and their relative orientation. This example shows the scale of the spheres on the end of the lines being set to…

  • Example 3: How to Move Objects in a Circular Motion in Unity

    So, this is a simple tutorial to show how to move a couple of spheres in a circular motion. This tute shows how to use sin and cos to get an object to rotate around a central point. As always, using Unity to show the content… So, how is this working? Well, we have a…

  • Failed to set the cursor because the specified texture was not CPU accessible

    I was using a png as an icon and was getting this error message when I did a build. The solution was to change the Texture Type from “Default” to “Cursor”!