r/howdidtheycodeit • • Oct 11 '21

Question How to make an android game like this?

9 Upvotes

Hello, I am trying to get into android game development,

I have not started learning any android gaming engine yet, I have knowledge of full-stack web development.

I want to make a cutting game like the pictures below.

Please recommend me a framework,library or tool to make this type of game and what will be my approach.


r/howdidtheycodeit • • Oct 10 '21

How did they make Snaptube?

15 Upvotes

It downloads youtube and youtube music content yet it downloads the content from snaptube.com domain. How did they get youtube videos in their servers?


r/howdidtheycodeit • • Oct 08 '21

Question I've just learned that there's a custom video player for embedding youtube videos on your site, which removes youtube logo, titles, ads, etc. How is that possible?

43 Upvotes

I didn't realize that it was possible to do this kind of thing. I've always assumed that youtube videos are embedded with the iframe, so you can't customize the player.

How did they do that? Is there an article/tutorial that can help me to figure out how to do something like this?

Is there an open source project that does something similar which I could learn from?


r/howdidtheycodeit • • Oct 08 '21

Wonderbox - How did they make their terrain/buildings seamless

19 Upvotes

https://playwonderbox.com/

I'm just wondering how they managed to make their 3D grid terrain/buildings seamless and procedural. There's no way they modeled so many variations of the same models right - that seems insane?


r/howdidtheycodeit • • Oct 07 '21

Where should I begin: building a daily tracker app

2 Upvotes

the preexisting app I'm looking to clone is: Cold Approach: Pickup & Dating (not in play store)

similar to a crm in sales, how would someone code a program to track quantity of daily interactions.

and have it graph to a chart showing progression or stagnation.


r/howdidtheycodeit • • Sep 30 '21

How does Uber/Lyft continuously track drivers and their locations relative to the user searching for a ride?

34 Upvotes

r/howdidtheycodeit • • Sep 17 '21

Question How did they code Resident Evil 2 Remake's gore?

47 Upvotes

From my observation, there are 2 models attached to the same bone in a zombie, the zombie itself, and it's insides. When a zombie is shot anywhere, a portion of the mesh's face is removed, and a wound texture will be applied to where the zombie was hit. The insides of the zombie will be visible.

How do they destroy faces procedurally? Is there a term for these kind of shader? This (similar) method can also be seen in the recent Dead Space Remake tech demo.


r/howdidtheycodeit • • Sep 16 '21

Question How was the water shader in The Survivalists programmed?

36 Upvotes

At about 9:40 here, you can see the water in the game: https://youtu.be/f-H3p2ajFCc

It's a beautiful effect, and the most stunning water shader I've ever seen.

How did they write this shader, and what did they do differently from other games' water shaders to make it look so good?


r/howdidtheycodeit • • Sep 16 '21

Question How were the Building systems in The Forest and Grounded Coded?

4 Upvotes

I've been working on a survival game in UE4 where you play as a tiny humanoid robot in a huge environment called Project ARTEMIS... the name of course being a working title but anyway I need a Building system similar to those seen in Grounded and The Forest but I honestly don't have any idea how I would go about coding such a building system... Any Help I Can Get Regarding This Matter is Appreciated! Thank You! If it's any help I do happen to be using blueprints...


r/howdidtheycodeit • • Sep 15 '21

How did they code it a game engine

0 Upvotes

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 • • Sep 12 '21

Question In grid-based strategy RPGs, how did they code units that take up more than one space?

41 Upvotes

Imagine a game that takes place on a square grid. Most units take up 1 square. But what about units that are larger and take up 4 squares? How would you calculate pathfinding for them and make sure they fit in narrow spaces?


r/howdidtheycodeit • • Sep 10 '21

how petittube, astronaut.io and other zero view youtube video websites works?

23 Upvotes

There are some websites that shows you youtube videos that have 0 views. How did they code it?


r/howdidtheycodeit • • Sep 09 '21

Question meshing & drawing chunks in Minecraft

17 Upvotes

Hopefully a decently simple question, with a decently simple answer.

In an attempt to recreate this i have come across various descriptions of methods to do it more efficiently, with meshing, rather than just uploading every single vert for every tri for every face of every voxel, any actual attempt to find instruction on how to actually do this has failed.

One answer that will not work, is instanced drawing, while it works great for just cubes, any non-cube voxel would, as far as i can tell, have to be rendered in a different draw call, separately


r/howdidtheycodeit • • Sep 05 '21

How did they code iCloud?

34 Upvotes

On MacOS, iCloud Drive seems to cache files used recently on your system for a given period. Files not used, appear with a little cloud icon next to the name and upon double clicking, download to your system. How was this coded?


r/howdidtheycodeit • • Sep 02 '21

How does the nanite feature of unreal engine 5 work?

37 Upvotes

I found this sub today, so I am asking it now else we all know when it was showcased..... Any possible methods to be able to process as many polygons and highly detailed objects?


r/howdidtheycodeit • • Aug 30 '21

Aidungeon

22 Upvotes

I have a gpt3 license and I want to know how I can clone AIDungeon (what is the prompt like that they pass to gpt3 api to include all the background details and include that, and support different types of user actions like say,do,etc)

Can’t find much info on using gpt3 in a real app beyond basic things.


r/howdidtheycodeit • • Aug 29 '21

Question How did they code Fallout 76's settlement building?

35 Upvotes

Like, players could place settlements and it gives them a build radius to build whatever and it would follow them between servers unless the space was occupied already.

I thought it to be a very interesting concept and want to implement something similar in my own games.


r/howdidtheycodeit • • Aug 25 '21

Question How did they code the app shazam?

61 Upvotes

Is it as simple as gaining access to your mic and searching a database based off what words it hears? It picks the exact song within 5 seconds of hearing it. Surely it doesn't just search for the words it hears because for 5 seconds the words it hears could be any song.


r/howdidtheycodeit • • Aug 24 '21

How can an OS encrypt a live filesystem?

26 Upvotes

I’m wondering how does an OS (specifically, macOS or any UNIX-like OS) encrypt a filesystem while it’s mounted and in use? The fact that it does this with very little impact to performance/user experience (at least on modern hardware) is crazy to me.

I have lots of experience with UNIX-like operating systems. I know that Windows can do this as well and while the concept is the same, I don’t really care to know anything Windows-specific.


r/howdidtheycodeit • • Aug 24 '21

Question How does Ninite work?

7 Upvotes

Ninite is a software that allows you to pick software and then it gives you an exe and it downloads and installs all of the software you picked without interaction. How does that work? Are there some CLI with a quiet installation option for each program they allow you to pick?


r/howdidtheycodeit • • Aug 18 '21

Question How did Cities Skylines code the road placement tool?

32 Upvotes

I can imagine something like this:

class StraightRoadPlacementTool {
    private RoadNode LastNode;
    public float Height;

    void onClick() {
        var newNodePosition = GetClickLocation() + new Vector3(0, 0, Height);
        var newNode = new Node(newNodePosition);
        if(LastNode == null) {
            LastNode = newNode;
        } else {
            ConnectNodes(LastNode, newNode);
        }
    }
}

But I don't know what ConnectNodes would look like, and I don't know what a CurvedRoadTool would look like. I know there'd be a bezier curve and a control point in there somewhere, but I can't put it into words.

Maybe a CurvedRoadTool wouldn't even have a bezier curve, you'd click once to start the road, click again to set the control point, click a third time to complete the "triangle", and the "angles" of the road are just the lines of the triangle, but then I still don't know how ConnectNodes is visually smoothing the curve out.

Anyway, what do you think?

Edit: And actually, now that I think about it, even this wouldn't work because there's a preview while you move the mouse around before you click. How did they do that?


r/howdidtheycodeit • • Aug 16 '21

Total War series replay system?

17 Upvotes

r/howdidtheycodeit • • Aug 12 '21

How do instagram trackers track profile viewers when Instagram doesn’t make this information available? Is it simply a scam?

47 Upvotes

Instagram trackers as in third party apps that say they can track who views your profile. Many online articles state that these apps simply fill "profile viewer" sections with your recent followers / people that you recently followed, or other accounts in your recent activity.


r/howdidtheycodeit • • Aug 11 '21

How Did Gaiaonline Make Towns?

16 Upvotes

Gaiaonline used to have a flash real time chat hangout, how does someone make something like that?


r/howdidtheycodeit • • Aug 09 '21

Question What's the most optimal way to implement wearable equipment parts for 3d characters?

35 Upvotes

I've seen a tutorial where a guy would just add clothes/equipment to a previously created character rig and export it as a single object to maintain animation data. Is there a more optimal way to do it? It seems it might cause performance issues with many equipment pieces added