r/howdidtheycodeit • • Jun 05 '23

Apple Vision Pro “Computer”

6 Upvotes

They announced that the headset will bring a new era of “Spatial Computing" so does this mean I can run visual studio and program applications from within the headset? They say I can run Logic Pro, adobe apps but can I program AR/VR apps from within the headset? Will this replace my laptop and monitor setup? Will I be able to interact with a command line? They say I can I save and access documents, edit files... I have so many questions.

The big thing I keep thinking about is will this be able to replace monitors, and if so, how would they program the eye tracking, the haptic feed with no tactile or physical connection to the “virtual screen”.

It promises:

  • virtual keyboards

  • virtual screens (as many as you want, any size)

So, I’m really curious, how did they code this?


r/howdidtheycodeit • • Dec 27 '22

How would I go about making a platform that wraps from one side of the screen to the other

Thumbnail self.gamedev
6 Upvotes

r/howdidtheycodeit • • Sep 18 '20

Question Hey guys can anyone help me?

Thumbnail self.gamedev
5 Upvotes

r/howdidtheycodeit • • Aug 01 '25

How did they code these physics on Scratch?!

1 Upvotes

I stumbled upon this platformer on Scratch: https://scratch.mit.edu/projects/1201446303/ and the planet gravity physics totally blew me away. I went inside the code and tried to figure out how, but unfortunately I'm not talented enough. Could someone please take a look and figure it out?


r/howdidtheycodeit • • May 14 '26

Before machine learning era, how could search engines show images which fitting a query?

3 Upvotes

My guess is to identify filename and article name, and ranked by user preferences. But are there better approaches?


r/howdidtheycodeit • • Dec 22 '19

accessing java script on Chromebook?

0 Upvotes

I want to try and self teach java script to see what kind of stuff i can make but all i have access to is a chrome book does anyone know an app/website that i can do this on? also im still a student so please nothing you have to pay for i hope i dont sound like a choosing beggar :) tia


r/howdidtheycodeit • • Dec 24 '22

Question how is COC made?

18 Upvotes

Clash of clans is a really popular mobile game. I wanted to know how it was created (which game engine they used) and how it works so efficiently? Are all objects in this game 3d models? If so, how does it work so well even on old phones? Not only that, they have different models for upgraded troops, buildings, etc. If they are using sprites, how are they getting the 3d effect of players jumping over walls, motars throwing fireballs, etc

In addition, what type of path finding are they using? When I put a troop down to attack, it finds the nearest building to attack. But if a wall breaks before it reaches it, it will go to the newest building that is the closest. Does this mean it is constantly running pathfinding for each troop each frame??


r/howdidtheycodeit • • May 06 '21

Showcase I Made a survival game in 4 days and this is how!

Thumbnail
youtu.be
9 Upvotes

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 • • Jun 26 '22

This might be the wrong sub for this question, but does anyone have advice on how to replicate the eating sound effect from Minecraft?

11 Upvotes

r/howdidtheycodeit • • May 08 '23

How did they code this many options in Dominos website?

27 Upvotes

How did they include so many options? I'm trying to recreate something similar in React, Django, but writing all options in a list seems weird coding.

In the pizza builder they even have option to have small/medium/extra toppings with image changing accordingly. I'm honestly puzzled


r/howdidtheycodeit • • Jun 14 '25

Question What is used for the cursor here?

4 Upvotes

https://rohitkaushal.dev/

see the cursor has all these shapes, which expand etc changes shaped.

How can I approach in making the same? What did they use here?


r/howdidtheycodeit • • Feb 13 '25

Question How to Integrate Deep Learning Models into Games

0 Upvotes

Hey guys, I've seen a lot of deep learning projects integrated into games like Super Mario or Trackmania, and I'm curious about how people achieve this.

Do we need to modify or write code within the game files, or do we simply extract game data and let the deep learning model generate controller inputs (e.g., down, right, or square) to interact with the game?


r/howdidtheycodeit • • Sep 27 '24

Question How did they code Alt f4 bypassing in gta v?

0 Upvotes

Like the title says, gta 5 is the only game- or process for that matter, that ive ever used which isnt killed by alt f4. How did they do that? Do they write a rule or something within windows itself, like in the registry? Id like to create a system that quickly saves the game when the player hits alt f4, before ending the process, for qol.


r/howdidtheycodeit • • May 15 '22

Question What language did the creator use to make Grim Quest/Tides?

4 Upvotes

I have been wanting to know for ages, any help would be great ;)


r/howdidtheycodeit • • Aug 30 '22

Question Telegram

4 Upvotes

How does Telegram scale chat groups with 200k members in them?


r/howdidtheycodeit • • Jun 03 '22

How did they make guild wars? The game kind of died down now but it was a great game and I miss it. Is there a tutorial to make a similar game with that 3rd person view?

0 Upvotes

r/howdidtheycodeit • • Mar 01 '24

LOL overlay apps

3 Upvotes

So, they're common like op.gg , porofessor, blitz.gg and so on and so on.
How did they code it?


r/howdidtheycodeit • • Jun 19 '23

Question This particle ripple effect. How did that do it?

3 Upvotes

r/howdidtheycodeit • • Aug 10 '22

How did the Otherside Metaverse allow so many players to play together without lag?

31 Upvotes

checkout how so many players are moving around at the same time https://youtu.be/sh-QH5E3fMo?t=3185

Battle Royale games start to lag if many players are close by so how did Otherside manage this? I understand that real games actually have loads of interaction between the players and the Otherside video shows nothing of the sort, players are able to move through each other and are not interacting at all. But even transferring just the positional data of so many players should be high in bandwidth use.

Possible optimizations:

  • -pass data only 5-10 times per second

  • -encoding positional data into smaller datatypes

  • -interpolation on clients

But all this and many more tricks are already being used in existing games.

I understand that they have their own proprietary engine which they developed specifically for this (I read that it is actually made in Unreal 5) but if we wanted to do this in Unity or Unreal how many players do you think we could have in the same server?

EDIT-Taken from comments

Should this be actually achieved using video instead of game data? I mean each player has a camera data calculated on server and a video is streamed to them. This way it doesnt matter how many players are there, the user gets the same amount of video data. But this means so much work for the server, to calculated the view for every player and transmit the data. Clearly a dumb idea as u/Yahay505 explains here

EDIT2- I request the downvoters to tell me why they did that, should I improve my post formatting or did I do something wrong here?


r/howdidtheycodeit • • Jan 12 '26

Some good github repos to learn. About production level code

0 Upvotes

Hey guys, i want to learn to write how people write production level code in big companies having technstqck of either react or nextjs with typescript. Can anyone please share the github repos or something that can help me learn and understand?


r/howdidtheycodeit • • May 27 '24

Controller Code From Scratch

0 Upvotes

Hello everybody! I wanted to start working on this project for a long time now and it seems way too overwhelming to know where to even start. So I understand the basics, because I worked for it a bit before. Are there any Microsoft papers that somebody could recommend or kind of outline what I have to do. To be clear I am working from the consumer side that is I want to make the code FOR a controller not for the game. So how do I do it. I know that I need a descriptor and I don't know where to start with that. Any advice? By the way I work in c++ if that is relevant.


r/howdidtheycodeit • • May 21 '23

How to code a marble chessboard theme?

0 Upvotes

I wanted to build a chessboard gui. I thought you could simply repeat the same two tiles 32 times and call it a day.

Then I saw this image of Winboard with the marble theme. I tried looking at the source code and I only found 2 files in this directory called `marble_d.png` and `marble_l.png`

Each square looks different, how are they doing this?


r/howdidtheycodeit • • Dec 02 '25

Article How to use animated sprites and animations with Excalibur and the LDtk level editor

Thumbnail
heltweg.org
0 Upvotes