Quantcast
Channel: Programming Archives - Alan Zucconi
Browsing all 39 articles
Browse latest View live

A Bestiary of Alternative Game Controllers

Many game developers are suspicious about alternative controllers, believing that since they can’t be easily mass produced, they are useless. Well, this is the story of how an Arduino got me to San...

View Article



Recreational Maths in Python

This post is for all the developers and mathematicians out there that are curious to explore and visualize the bizarre properties of numbers. Although Maths plays an important role in today’s...

View Article

Interactive Graphs in the Browser

Having worked both as a teacher and an artist, I know how important data visualisation is. This tutorial will teach you to create interactive network graphs with Python and JavaScript. You can have a...

View Article

GameBarcode: A Study of Colours in Games

This tutorial shows how to download videos from YouTube and to process their frames with Python. I have used this technique to create game barcodes, images created by sorting the colours in each frame...

View Article

How to Write Native Plugins for Unity

Unity has the ability to import pieces of code written (and compiled) in other languages; they are called Native Plugins, and this tutorial will teach you how to build them. Step 1: Creating a C++...

View Article


Impossible Geometry: Non-Euclidean Cubes

This tutorial will teach you how to create non-euclidean cubes in Unity, giving the illusion that each face is a door onto another dimension. This post is part of a series of tutorials on impossible...

View Article

Make Your Own Emoji Portrait

This form allows to  create emoji portraits and moisacs from any picture. Use the sliders to customise the size and angle of the emojis. When you're happy, right click on the image to save it. The rest...

View Article

The Top 5 Hidden Features of Python

Python aims to be an elegant and expressive language; this post includes its top 5 hidden features: List slicing For…else syntax Yield statement Multiple assignments Argument unpacking The term hidden...

View Article


Arrays & shaders: heatmaps in Unity

This tutorial explains how to pass arrays to shaders in Unity. This feature has been present for a long time, but is mostly undocumented. Unity 5.4.0 Beta 1 will introduce a proper API to pass arrays...

View Article


GPU Sorting

You can read the full series here: Part 1. GPU Sorting Part 2. GPU Sorting You can find a link to download the Unity source code at the end of this tutorial. Introduction In the previous part of this...

View Article

Inverse Kinematics in 2D – Part 2

You can read the rest of this online course here: Part 1. Inverse Kinematics in 2D: The Mathematics Part 2. Inverse Kinematics in 2D: The Code Introduction In the previous part of this series, we have...

View Article

Vertex and fragment shaders in Unity3D

Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] The previous three posts of this tutorial have introduced surface shaders and how they can be used to specify physical properties...

View Article

Screen shaders and image effects in Unity3D

Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] If you are using Unity3D you may be familiar with image effects. They are scripts which, once attached to a camera, alter its...

View Article


How to Snap to Grid in Unity3D

Despite Unity3D being such an advanced framework, I am sometimes puzzled by its lack of basic features. Especially when working with 2D games, the lack of a proper snap to grid option is simply crazy....

View Article

Enum, Flags and bitwise operators

If you’re a game developer chances are you’re familiar with the need to describe different variations of an attribute. Whether it’s the type of an attack (melee, ice,  fire, poison, …) or the state of...

View Article


Extension methods in C#

Following the heritage of C++, C# comes with a number of powerful features which can either be used to massively improve your code …or to make it completely unreadable. In this post we’ll discuss a...

View Article

How to hack any IR remote controller

If you haven’t heard of Air Swimmers before, you probably had a miserable life. Air Swimmers are inflatable foil balloons made in the shape of fish. But what makes them really awesome is the fact that...

View Article


A practical tutorial to hack (and protect) Unity games

If there’s a term which is often misunderstood, that’s for sure hacking. When it refers to softwares, it usually gets a negative connotation which smells of piracy and copyright infringements. This...

View Article

Interactive Graphs in the Browser

Having worked both as a teacher and an artist, I know how important data visualisation is. This tutorial will teach you to create interactive network graphs with Python and JavaScript. You can have a...

View Article

The Top 5 Hidden Features of Python

Python aims to be an elegant and expressive language; this post includes its top 5 hidden features: List slicing For…else syntax Yield statement Multiple assignments Argument unpacking The term hidden...

View Article
Browsing all 39 articles
Browse latest View live




Latest Images