Peter Kirkcaldy's Avatar

Peter Kirkcaldy

@peterkcodes.bsky.social

indie game dev sometimes known as Black Mesa Employee. currently working on Build Fight Game (peterkirkcaldy.co.uk)

9 Followers  |  14 Following  |  27 Posts  |  Joined: 09.11.2023  |  1.5704

Latest posts by peterkcodes.bsky.social on Bluesky

are you peepee or terter

10.03.2025 14:32 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

i take my work very seriously

26.02.2025 15:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

block data array is accessed. all-in-all, this has reduced per-chunk memory use to ~2/3 by eliminating redundant data duplication.

also, i planned out my implementation of the voxel lighting compute shader. to be implemented tomorrow. a successful day :D

20.11.2024 21:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

now i’ve adjusted the system to be able to read straight from the voxel data and apply that to the 3D texture. previously conflicts were created from the jobs system when trying to read block data that may have been modified. i tweaked my jobs setup to ensure that all jobs are complete before the

20.11.2024 21:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

today in build fight game development:
massively reduced memory footprint of chunk objects! previously, each chunk stored an array of all the voxel data *and* a second array of just the block IDs of each voxel (to be passed to a 3D texture on the gpu for lighting processing)

20.11.2024 21:05 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

should probably post more on here. oops

16.11.2024 19:10 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

my steam page will be up soon!!

11.01.2024 12:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

new gun design for my game. if you think it looks weird, it's supposed to. 10 points to anyone who can figure out what exactly this is πŸ˜‰ #gamedev

08.01.2024 02:07 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
build fight gaming
build fight game is a currently in-dev team-based class-based shooter set in a fully destructible voxel based environment, join the discord if you want to ge... build fight gaming

I did my first proper playtest of my multiplayer FPS game: check out this little recap video I made (also working on a larger devlog πŸ˜‰)

#indiedev

youtu.be/-j4x-t7vshk?...

07.12.2023 23:16 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
accidental l33t h4x
tried to implement interp, accidentally turned myself into a spinbot. accidental l33t h4x

Today I added interp to my #madewithunity FPS game. Except I fucked it up and accidentally turned it into a spinbot? Anybody want to know what causes this, and how I fixed itπŸ€”
www.youtube.com/watch?v=4Tpx...

05.12.2023 22:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

bluesky still not supporting videos is wild

23.11.2023 21:33 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
when you turn the knockback value up a bit too high
https://peterkcodes.itch.io/build-fight-game when you turn the knockback value up a bit too high

more adventures with ragdolls!
youtu.be/l_jWKnjq4oM?...

20.11.2023 12:42 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

me when i drop my comically huge gold bar

19.11.2023 21:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

the process of creating a ragdoll system in my FPS game

#indiedev #madewithunity

19.11.2023 21:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

my game is slowly but surely becoming Real. that is exciting. I'm gonna make an effort to start releasing weekly youtube videos so I can build up an online presence and accumulate wishlists and general interest.

13.11.2023 23:12 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

making a silly little demo level as im developing my CSP library

11.11.2023 11:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

it's definitely something to look into. this video is a great starting place for computer shaders specifically
youtu.be/BrZ4pWwkpto?...

10.11.2023 18:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I suppose its probably different since im writing compute shaders rather than standard shaders, it feels closer to C# (except in some confusing ways that come to baffle me)

10.11.2023 18:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I was very tempted to take the easy route lol, but I really had to have proper lighting and make sure all the chunk gen was still fast. I have a character in the game who's primary ability is being able to dig 3x3 tunnels very very quickly, so poor chunk performance could easily mess up the balance.

10.11.2023 18:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

yea shaders are a real pain. i use shadergraph wherever I can, and where writing actual HLSL is required I find generally it's syntactic similarities with C# sorta allow me to hack something function together.

10.11.2023 18:22 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I've had a lot of growing pains to get it to actually function, but pretty limited crashing issues. most recent headache has been block lighting, since Unity's default real-time setup means that underground areas are pretty much fully lit. im using a compute shader to approximate better lighting.

10.11.2023 14:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

all custom multithreading! I'm not familiar enough with jobs to make it work, so I spin up a thread on each available CPU core responsible for generating chunk mesh data, then pass that to the main thread where its converted to an actual in-game mesh.

10.11.2023 14:15 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0
Post image

i fucked up block lighting and now it looks like there's just been intermittent oil spills across the world

#gamedev #indiedev #madewithunity

10.11.2023 08:38 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

nothing is more exciting than selecting hats. love this!!

09.11.2023 23:28 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

update: I wrote a compute shader

09.11.2023 23:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image Post image

Howdy! Thanks @chetfaliszek.bsky.social for the invite :)

I'm gonna be using this space to post on my current indie game, Build Fight Game (peterkcodes.itch.io/build-fight-game)

The project is still pretty early days, but there's some neat stuff!

#gamedev #madewithunity

09.11.2023 20:49 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

love writing comments to myself in version control

09.11.2023 20:24 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

@peterkcodes is following 12 prominent accounts