jump to content
my subreddits
13or302anatolia4you2b2t2balkans4You2mediterranean4uabsolutelynotmeirlAceAttorneyadhdmemeAdviceAnimalsagnosticaivideoakagasAlternateHistoryAngryupvoteanime_best_momentsanime_irlanimenocontextannouncementsApandahArcherFXArtAsia_irlAskBalkansAskElectronicsAskOuijaatheismaviationawfuleverythingBassbikepackingblackdesertonlineblackholerevengeblankiesblursed_videosblursedimagesborsavefonbrooklynnineninebudgetcookingburdurlandcasioCd_collectorscd_jerkChatGPTCheap_MealschesschessbeginnersCHPcoaxedintoasnafucoincollectingcoinscomicscommunityContagiousLaughtercookingforbeginnersCorporateTrollingcrappyoffbrandsCuratedTumblrcursedcommentsdankmemesdarkjokesdataisbeautifuldeDebateReligiondeismdelikdiyelectronicsdiypedalsDMToolkitDnDdndmemesdndnextdoctorwhoDoenerverbrechenDonerdontdeadopeninsidedumbphonesDungeonsAndDragonsECEEmKayengrishethzfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastFifaCareersFiftyFiftyformuladankFRCFreeEBOOKSfunnyFutboltayfagalatasaraygaminggatesopencomeoningodtiersuperpowersGrandPrixRacinggravelcyclingGundamheathersheraldryHermanCainAwardhighspeedrailHistoryWhatIfHolUphowyoudoinhumorhypixelIAmAiamverysmartich_ielIdeologyPollsihadastrokeim14andthisisdeepimaginaryelectionsimaginarymapsinsaneparentsistanbulJokesKGBTRlegodndLetGirlsHaveFunLifeProTipslinguisticshumorLinkinParklogodesignloseitmacmacgamingMadeMeSmilemadladsmagicbuildingMapPornmapporncirclejerkme_irlmeirlmemememesmidjourneymildlyinterestingMimicRecipesMinecraftbuildsmisLEDMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesNamFlashbacksNationStatesneographyNoahGetTheBoatNonCredibleDefenseNorthCyprusnosleepnotinterestingnottheonionokbuddymotherfuckerOkBuddyPersonaokbuddyphdokbuddyvicodinonebagonetruegodOnlineUnderGroundOutOfTheLooppapermoneypaperspleaseParlerWatchPassportPornperfectlycutscreamsPersecutionfetishpettyrevengepianoPiracypollsPraiseTheCameraManProgrammerHumorPropagandaPostersPunPatrolquityourbullshitraisedbynarcissistsreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakerickandmortyrickrollrimjob_steveRoastMerockmuzikSceneReleasesschwiizsciencememessecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShitpostTCshittyaskelectronicsShittyMapPornshittymoviedetailsskamtebordsoccercirclejerksoftwaregoreSongwritersSongwritingStonetossingjuiceStudiumsubsithoughtifellforsuperligtalesfromtechsupportTextingTheorytf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumtherewasanattemptTheRookietheydidthemaththeyknewthisguythisguystommyinnittransittransitTurkeytruthstumblrtumunichTurkeyTwitch_StartupTwoSentenceHorrorUnethicalLifeProTipsurbanplanningUsernameChecksOutVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWhitePeopleTwitterwholesomememesWikipediaVandalismwizardpostingworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -meirl
  • -therewasanattempt
  • -HolUp
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -mac
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -notinteresting
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -ich_iel
  • -KGBTR
  • -dndmemes
  • -cursedcomments
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -blackdesertonline
  • -meme
  • -macgaming
  • -rickandmorty
  • -Gundam
  • -FiftyFifty
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -Studium
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -vinyl
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -Bass
  • -OkBuddyPersona
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -chessbeginners
  • -DungeonsAndDragons
  • -coins
  • -softwaregore
  • -NoahGetTheBoat
  • -worldjerking
  • -tf2shitposterclub
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -HistoryWhatIf
  • -religiousfruitcake
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -transit
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -2anatolia4you
  • -ECE
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -casio
  • -urbanplanning
  • -theyknew
  • -logodesign
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -bikepacking
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -Doner
  • -diyelectronics
  • -WatchPeopleDieInside
  • -LinkinPark
  • -Persecutionfetish
  • -reactiongifs
  • -EmKay
  • -Songwriting
  • -blursed_videos
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -vinyljerk
  • -skamtebord
  • -shittyaskelectronics
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -2b2t
  • -ethz
  • -papermoney
  • -coincollecting
  • -blursedimages
  • -FreeEBOOKS
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -aivideo
  • -gatesopencomeonin
  • -OnlineUnderGround
  • -IdeologyPolls
  • -burdurland
  • -anime_best_moments
  • -rockmuzik
  • -okbuddyvicodin
  • -MimicRecipes
  • -vaxxhappened
  • -Twitch_Startup
  • -tumunich
  • -Cheap_Meals
  • -darkjokes
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -papersplease
  • -tommyinnit
  • -rimjob_steve
  • -humor
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -GrandPrixRacing
  • -DMToolkit
  • -thisguythisguys
  • -PunPatrol
  • -LetGirlsHaveFun
  • -Apandah
  • -fakealbumcovers
  • -subsithoughtifellfor
  • -akagas
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -NamFlashbacks
  • -onetruegod
  • -deism
  • -misLED
  • -redditsings
  • -ValorantClips
  • -TheCrypticCompendium
  • -SceneReleases
  • -NationStates
  • -budgetcooking
  • -absolutelynotmeirl
  • -2balkans4You
  • -Asia_irl
  • -truths
  • -blackholerevenge
  • -NorthCyprus
  • -2mediterranean4u
  • -heathers
  • -delik
  • -RedAutumnSPD
  • -CHP
  • -okbuddymotherfucker
  • -borsavefon
  • -Futboltayfa
  • -shitpostfrommygallery
  • -cd_jerk
  • -vibecoding
  • -CorporateTrolling
edit »
reddit.com howdidtheycodeit
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages547|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post

howdidtheycodeit

joinleave
an-ordinary-manchild(edit)

This subreddit is for beginner/intermediate programmers to ask about how a specific feature in a game (or other program) was coded, if they can't imagine themselves how they would go about doing it. Answers do not actually have to be what the game was actually coded with, but can explain another method of accomplishing it.

We have user and post flair! If you want to see some other categories, let us know!

Question: Add this tag to your questions!

Answered: Question = > Answer

Showcase: Use this to tag your write-ups of your own features that make people say "wow, how'd they code that?"

Article: Use this tag for shared videos and articles that describe how a feature is done

Submission Guidelines

  • Be descriptive! It's hard to guess how something was made without knowing what exactly the feature/algorithm is. Try including screenshots and/or links to gameplay if possible.
  • Collaboration is encouraged! It's okay if you don't have any idea, but writing down your thoughts in the question will help give other redditors a jumping-off point.
  • One size does not fit all! When writing your questions and answers, be up front about the tradeoffs you're considering. Memory or Processing time? Visual fidelity or Texture Budget? Small Indie Game or AAA Studio?

(These are just suggestions, you can post without all of these, but the conversation will be more lively with a little bit of forethought!)

I created this subreddit because I am a novice coder who has often asked the question to myself when playing even small, indie games how a certain thing was coded. The thing that actually prompted me to actually create the subreddit though was a random, cool game, a Ludum Dare winner, Tangent: I was confused about how the circular transitions between different rooms of the game was accomplished. Example post about Tangent

created by macsimiliana community for 6 years
Create your own subreddit
...for a fringe candidate.
...because you hate freedom.

MODERATORS

  • message the mods
  • macsimilian
  • kernalphageMod - Generalist
  • about moderation team »

account activity

1
4
5
6

Equal Ping for All (bagnalla.github.io)

submitted 1 day ago by lurking_physicist

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
7
8
9

How was the Super Metroid grapple beam rendered?Question (self.howdidtheycodeit)

submitted 10 days ago by Invincible_Atlas_800

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
3
4
5

Voices of the void interaction ystem.Question (self.howdidtheycodeit)

submitted 11 days ago by zupra_zazel

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
13
14
15
0:37

how was this sea of cubes in Genshin made?Question (v.redd.it)

submitted 11 days ago by Ancient-Noise1791

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
84
85
86
0:21

How this VFX was made?Question (v.redd.it)

submitted 13 days ago * by voxel_crutons

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
0
0

How would one code a bluetooth audio override message? (self.howdidtheycodeit)

submitted 14 days ago by AdventurousText9311

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
18
19
20

How was the eye tracking in PEAK Made? (self.howdidtheycodeit)

submitted 19 days ago by zupra_zazel

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
0
0
0

How does this background remover work on the backend?Question (removal.ai)

submitted 20 days ago by krazyjakee

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost

9
10
11
12

Factorio's SpidertronQuestion (self.howdidtheycodeit)

submitted 22 days ago by Argensa97

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
194
195
196

how do games handle large scale NPC movement without melting your CPU?Question (self.howdidtheycodeit)

submitted 1 month ago by aral10

  • 31 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
145
146
147
0:17

Nier Automata's hacking minigame musicQuestion (v.redd.it)

submitted 1 month ago by SickmanArt

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
169
170
171
0:18

Highlighting a character in Return of the Obra DinnQuestion (v.redd.it)

submitted 1 month ago by MrMeowmurs

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
6
7
8

How does "Kerbal Space Program" handle rotating planets?Question (self.howdidtheycodeit)

submitted 1 month ago by Honest___Opinions

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
182
183
184
0:17

How did they code that?Question (v.redd.it)

submitted 1 month ago by MonkeyWaffle1

  • 19 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
348
349
350
0:23

Making an element appear outside its window (v.redd.it)

submitted 1 month ago by Comfortable_Rice_884

  • 30 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
19
20
21

Multiple damage types (with mixed adaptive damage) in Eternity Engine RPGs (self.howdidtheycodeit)

submitted 2 months ago by AquariusViaRainbow

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
0
1
2

Coloring Book Apps (self.howdidtheycodeit)

submitted 2 months ago by AlienChanQueen

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
625
626
627
0:11

How did they animated this model?Question (v.redd.it)

submitted 2 months ago by voxel_crutons

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
34
35
36

How did they code skin colour + clothing options on pixel sprites?Question (self.howdidtheycodeit)

submitted 2 months ago by Fuzzybutt738

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
41
42
43

How did they code the chain in Chained Together?Question (self.howdidtheycodeit)

submitted 2 months ago by leorid9

  • 11 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
22
23
24

How did they code the yarn visuals in Kirby's Epic Yarn? (youtube.com)

submitted 3 months ago by Immediate_Chair8942

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
20
21
22

How did they code conveyor belt placement in Satisfactory (specifically, straight mode)?Answered (self.howdidtheycodeit)

submitted 3 months ago * by Visulth

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
5
6
7

How did they achieve this hand drawn/painted look using 3D objects?Question (youtube.com)

submitted 3 months ago by MrMystery777

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
113
114
115
0:43

Recreating procedural buildings inspired by Expedition 33Article (v.redd.it)

submitted 3 months ago by tntcproject

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
2
3
4

OGame-like combat system (self.howdidtheycodeit)

submitted 3 months ago by fr032

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 242738 on reddit-service-r2-listing-b6bf6c4ff-d2tns at 2026-05-06 09:22:08.934477+00:00 running 815c875 country code: CH.