r/howdidtheycodeit • u/meatenjoyer618 • Nov 01 '24
r/howdidtheycodeit • u/joaoricrd2 • Sep 03 '22
How is planned a game like Civilization?
Wish to understand how a big studio plans and designs a game like Civilization. Do they draw all screens and all buttons interactions possible? What about each menu/screen? Do they have a big algorithm behind to control whole game (resource collection * time, units moving, aí) and the screens just reflect outputs from that algorithm? What are the steps or decisions that they document, so 1000s developers can make sense of it. Thanks.
r/howdidtheycodeit • u/UnidayStudio • Dec 17 '20
Showcase I Made an Entire GAME ENGINE in 30 Hours (from Scratch) and here is HOW!
r/howdidtheycodeit • u/Sufficient-Candy5949 • Jan 10 '23
Question how did they code FIFA/Football Manager?
not the gameplay, but the values of the players. how are they stored and how are those values changed if a player improves? (if he improves ingame like careermode, not irl)
r/howdidtheycodeit • u/Envoytactics • May 03 '25
Anyone know how they made the Marvel Rivals login screen for Krakoa?
At first I thought it could be a video playback, but I don't really see any of the compression artifacts that would come from a video when I'm on the actual login screen (might be tough to tell through this video). The fireworks and lighting look really nice too. Wondering if all those effects could be UE5's Niagara Particle System and there are separate parts to the scene.
r/howdidtheycodeit • u/jakub2634 • Jul 15 '24
How would i make an osu AI?
I was inspired to make an osu ai while watching Neuro-sama as she was as an osu ai before becoming a vtuber
I read through this thesis on the topic and also tried to learn how to use pytorch but i just don't know how to implement this in actual code.
I know how to use python and kinda how ai works, but i have no experience in actually making something.
I also don't know how to generate an appropriate dataset from the osu window screenshot and/or osu replay file
And also how would i go about it actually interacting with the game? I know they made an osu mod but how? Are there some memory locations i can write the current cursor position and key inputs?
If you know something that could help me or a more appropriate subreddit for this question please tell me
r/howdidtheycodeit • u/ToYouPewDiePie • Dec 13 '20
Sandbox Evolution Electric Current
What are the rules that makes Electric current (Energy), Function
r/howdidtheycodeit • u/Muhznit • May 26 '24
Dating Apps. How can they be gamed, and what's stopping people from making something that actually works?
We live in a world where I can specify any number of tags to find a specific fetish porn image on certain sites, but when I finally want to be less of a degenerate, dating apps want to make it THAT DAMN HARD to find someone of interest.
I get that the companies are greedy for money, spare me that explanation. But the sheer level of user-hostile design in some of these apps is incredibly egregious. Like here's what Bumble, probably the most popular dating app not owned by Match.com does:
For filters, all you have control over is the ASL of who you want to meet. If you want to filter out people by anything other than their star sign, you gotta pay money. Even if it's something as simple/reasonable as filtering out parents that smoke, you gotta fork up cash.
They say "relax your filters" to check out more people who liked you but they don't specify what filters.
If someone likes you, it charges you money to immediately find out who. They COULD reduce their bandwidth costs from repeated trial-and-error swiping and try to get you off the platform ASAP, but NOPE, they would sooner transfer a video of some girl posing with some song in the background than let you know even the name of someone that's willing to say "hi".
The coupe de grace: During said repeated swiping, if you mis-swipe someone just because the phone's touch screen interpreted your CLEARLY VERTICAL scroll as horizontal, guess what, it costs money to undo it! Same goes EVEN IF THE OTHER PERSON LIKES YOU and the app calls this out specifically by saying "You missed out on a potential match!"
I get that acquiring a massive enough userbase is the fuel that keeps these cultural dumpster fires burning the rest of us that are stupid enough to touch them, but surely we can do better... right?
A good dating app feels so do-able... I mean we have a mesh network that helps users locate their lost keys (Tile), a guessing game that narrows any sequence of yes-or-no questions down to a specific individual (20 question), a few graph-related algorithms (bipartite graph matching), vector databases for searching data... I keep having bits and pieces of these algorithms floating through my head but not sure how they all fit together. Surely someone smarter than me made something better, but what's actually stopping that ideal app from getting to a point where people say "Holy shit this made online dating actually good!?"
Or do dating apps just have some fundamental fatal flaw designed to keep them eternally shitty, like the QWERTY keyboard or the Gregorian Calendar?
r/howdidtheycodeit • u/nyamuk91 • May 29 '21
Question How did SEO tools were made?
Basically, it's some kind of tool that allows users to get a list of trending search engine trends. Like where do they get the info?
How did tools like Semrush, KWfinder, or Seostack were made? Like, is there any API that can analyze or aggregate Google search trends? Or is it web-scraping/automation?
r/howdidtheycodeit • u/ucankabak • Mar 26 '20
Question Which assets does this game use for characters and Powerbar?
r/howdidtheycodeit • u/hardwordeasy • Oct 15 '24
How did they code simulator app using android kotlin?
r/howdidtheycodeit • u/Alert-Track-8277 • Jul 28 '25
How did they code this app-view animation in the hero section?
I personally think this is one of the greatest SaaS-landing pages of all time: https://linear.app/
I tried inspecting the console and found a great easter egg (ASCI-art and a careers-page for crying out loud😂) and noticed that every element of the SaaS-product we see is actually an element, but I couldnt figure out quite how they did this.
For clarity: I am talking about the animation in the hero section here.
r/howdidtheycodeit • u/Xeon06 • Jul 25 '26
Coinbase scam call warning
https://x.com/i/status/2080592057014555081
Obviously, if Coinbase has an internal system for scheduling calls with their support agents, they’re able to know whether a call is happening with a given customer at a given point. But how are they detecting that the customer is on the phone with someone potentially trying to spoof Coinbase?
I assume there are some Android or iPhone permissions for contacts, call data, or the current call. But what are they actually checking? Are they checking whether the caller ID matches Coinbase’s, or whether the phone number matches Coinbase’s? If phone numbers can be spoofed?
r/howdidtheycodeit • u/[deleted] • Mar 17 '24
Question how to did they code the lighting/shadow system in splinter cell
I wanna do a similar thing in godot 4 but in 2d top down
edit: I meant the shadow/light meter where it shows how much the enemy could see you
r/howdidtheycodeit • u/RepulsivePie2673 • Apr 26 '21
Showcase I Made Mario But It Destroys Your Computer
r/howdidtheycodeit • u/Hazi_Malik • Jan 03 '25
How did they code FIFA
I am football fan, last time I was playing FIFA, I was amazed like how player manage their run when they are in offside position. I have just start working on game engine. Now I am curious like how they manage to control all 22 player position and movement. Can you suggest me any resources, tutorial or book, that mention how football game build and implement all logic
r/howdidtheycodeit • u/Leather-Run-3282 • Jul 19 '26
How do you guys test new features when you already have users and a production level application (vercel + supabase)
reddit.comr/howdidtheycodeit • u/DoctorRewby • May 18 '23
Question Honor System in RDR2
So I’ve been replaying Red Dead Redemption 2 and am continuously awestruck by the little intricacies that made it feel like a genuine lived experience.
One such feature is the honor system and I simply cannot wrap my head around how devs would approach it. For those who don’t know, the system is a HUD element which places the character on a sliding morality scale based upon your actions in the game.
For example, if you save a woman from being abducted by inbred hill people, release caught fish, or initiate the “greet” action with many NPC’s, your honor will increment more in the “good” direction.
Conversely, if you hogtie that same woman and feed her to alligators in the Lakay swamp, rob a store, loot a body, kill too many bison and leave the carcasses to rot, or initiate the “antagonize” action with many NPC’s, your honor will trend lower. Some actions, such as assisting a struggling single mother, will raise honor more substantially whereas killing a dog will substantially reduce honor. Killing a rival gang member will not affect it one way or the other.
As if that wasn’t crazy enough, your honor status at any given time affects other elements of the game. If you go on a massive killing spree (and incur low honor as a result), the weather will turn dreary and it will rain more often. If you have high honor, NPC’s will greet you more amiably and you’ll receive discounts at stores.
Like…did a team of devs really catalogue and classify/weight all possible “good” or “bad” actions so that honor could be incremented or decremented?
Realize I won’t get source code with comments because it’s Rockstar IP, but I find it to be one of the most mind-blowing mechanics of any game I’ve ever played and figured this sub might have a general idea.
r/howdidtheycodeit • u/_gts1108 • Sep 15 '21
How did they code it a game engine
I want to learn how they code a game engine but the is not allot of things in the net Can you help me? Obs: the programing language is c++
r/howdidtheycodeit • u/RevengeOfNell • Nov 21 '22
Question How should I implement Doodle Jump’s motion control system in Unity?
Doodle Jump requires the user to tilt their phone in the direction that they want the player to go. How should I go about implementing such a feature to my game?
r/howdidtheycodeit • u/CowChickenGoat • Apr 18 '21
Question How did they get the pop-up ui like this?
r/howdidtheycodeit • u/Kookaburraslim • Sep 26 '23
Question How do AI bots in Team Fortress 2 work?
I'm doing a project on AI and I need to figure out how these bots (both enemy and teammate) work in TF2. Just need a quick, concise explanation that gives good info
r/howdidtheycodeit • u/GokuBlack1995 • Jun 19 '22
Question How did they code the likes in Instagram?
I'm assuming it's a public variable (in Java terms), that is incremented each time a person clicks the heart icon. Said variable resides in a publicly accessible setter method.
r/howdidtheycodeit • u/stable_maple • Dec 10 '21
How does blockchain additions synchronize?
After writing this, I'm coming to the realization that what I've written doesn't make a whole lot of sense and doesn't convey what I'm trying to ask very well, but I'm still posting it in the hope that someone can understand what I'm trying to say, since I'm probably not going to get another chance to ask for awhile.
I want to implement a basic sort of blockchain with no proof of work penalty. I understand that, to add a new block, a hash of the previous block is used for conformation of the new block. In my implementation, I get how a single node can just append a new block to the ledger, but if Alice and Bob both download the ledger at the same time and append new blocks, how do we synchronize their additions? How does Alice get bob's block without waiting on Bob's addition?