Sign in

John Campbell

@daddygame.dev
1.6K followers 247 following 46 posts

Technical Director @triangularpixels.com #gamedev #indiedev daddygame.dev

PostsRepliesMedia
John Campbell @daddygame.dev · 16/06/2026
Two British comedians stare awkwardly at the camera. In the background, a sign reads 'multum in parvo'.
000
John Campbell @daddygame.dev · 09/06/2026
It was nice when search engines just gave you what you searched for instead of... whatever this is.
A screenshot of a google search for "how many days of the week have penis in them".

The AI response is:
"Exactly two days of the week literally contain the word 'penis': September October Wait... that doesn't make any sense. If you were thinking of 'days of the week' like Monday, Tuesday, Wednesday, etc., the answer is actually none!"
240
John Campbell @daddygame.dev · 15/07/2025
I had fun times debugging why a computer terminal unit test was failing, and occasionally going to the wrong screen. Turns out an unrelated button was yeeting itself onto the keyboard mid-test about 50% of the time. And due to unit tests running at x100 speed, it's impossible to spot as it happens.
051
John Campbell @daddygame.dev · 13/02/2025
An attempt at converting an arbitrary normal into a primary axis (for cubemap-alike operations) without branches. Pretty sure there's better ways of doing this but tricky to find online as I'm not sure what the 'proper' name for this op is.
float3 SelectPrimaryAxis(float3 worldNormal)
{
	worldNormal = abs(worldNormal);
	float largest = max(max(worldNormal.x, worldNormal.y), worldNormal.z);
	float epsilon = 0.00001;
	float3 offsetNormal = worldNormal - (largest-epsilon);
	return ceil(offsetNormal);
}
100
John Campbell @daddygame.dev · 10/01/2025
We all have an emotional support dead famous guy and who he is says a lot about you.
Portrait of Richard Feynman
010
John Campbell @daddygame.dev · 04/12/2024
Close up of the board with the missing component. Looks like just two contacts?
250
John Campbell @daddygame.dev · 04/12/2024
Can anyone identify this component on the #2DS circuit board? The tiny black cube (pink arrow) has fallen off my son's 2ds and it no longer boots, so trying to fix it. I think the RF shield dislodged and knocked this component off, and possibly left a bit of it still attached. (Image from #ifixit)
Pink arrow showing mystery dislodged/cracked component on a 2ds circuit board
32513
John Campbell @daddygame.dev · 01/12/2024
This week I've been working on a semi-realtime AO baker as an altenative to situations where build-time lightmapping isn't available. Promising results so far from the prototype, which is a coarse voxalization followed by a bunch of raycasts for each voxel to calculate a AO intensity.
060
John Campbell @daddygame.dev · 26/11/2024
It's easy (and fun!) to complain about tech, especially something you use every day. So I like to celebrate the positives too. In that spirit, Unity suprised me yesterday by having a genuinely useful 3d texture preview, with a bunch of visulisation methods. Super useful for proc gen debugging!
3d texture preview in SDF mode inside Unity3d
020
John Campbell @daddygame.dev · 25/10/2024
Even more intruiging is the build-in instruction creator, which uses the 3d model as a starting point and lets you break it down into visual steps, with florishes like arrows and sub-pieces, with a separate renderer for the lovely schematic style. 4/9
110
John Campbell @daddygame.dev · 25/10/2024
It has a built-in renderer, which produces beautiful results. Yes it's taking shortcuts with pre-made lighting setups, but that's exactly the kind of trade-off to make for this kind of application. Plus it has a tick box for adding fingerprints and scratches! 3/9
3d rendering of a lego factorio train
110