The makings of a 2D game in TouchDesigner @RobDuarte
The makings of a 2D game in TouchDesigner  @RobDuarte
Uploaded October 2025 | Updated September 2026, 3 weeks ago
In this video, I show a way that you might start making a 2D game in TouchDesigner. Using a Replicator COMP, driven by a table, I show how to make copies of rectangles and their corresponding collision-detection. This is the beginning of a game that has enemies/treasures/whatever scattered across the screen. The end result is an avatar that can "eat" the objects, get killed by them, or whatever you want.

An interesting note: The only reason it required that longer python expression in the TOPs parameter of the Composite TOP is because the Base COMPs have multiple outputs. If you are trying to composite a number of Base COMPs that have a single TOP output, it's as simple as writing the expression: ops('base*')

The collision detection bit is inspired by the method used in this video: youtube.com/watch?v=n81NAf0Orus
The makings of a 2D game in TouchDesignerUse Notion to Make a Dead-Simple BlogSimple 2D Collision Detection in TouchDesigner2017 Fall Digital Fabrication HingeScratch: Selecting sprites using the keyboard instead of the mouseProcessing (2 of 21): Animation (2 of 3) Interactivity using the Mouse and KeyboardProcessing (15 of 21): Live Video InputFusion 360 RenderingQuartz Composer Tutorial 4: Text, Images, Video, AudioTouchDesigner CHOPs Exercise: Create a being on screenTouchDesigner: Converting a number to a new range in a non-linear wayPost to a blog/website from TouchDesigner
Rob Duarte |

The makings of a 2D game in TouchDesigner

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER