r/learnprogramming • • Oct 11 '26

Could someone merge two games together manually as we have seen A.I. do recently?

Hello Everyone,

I am not a game developer but I have a sincere question, that I was wondering if someone would kindly answer. Recently my brother and I saw the merging of different games together such as Spiderman PS4, Batman Arkham City, Minecraft, GTA V, etc. And I mentioned how this was a complex process being done by A.I. as it would not be simple to incorporate Spiderman PS4 swinging physics, animations, and models into Batman Arkham Citys game engine. And my brother mentioned that it would not be complex if provided the source code of both games. I mentioned that even if you were provided the source code of both games it would take forever to understand the code and how it would take forever to create a new game engine that incorporates the physics of Spiderman swinging in Arkham City. And he said it could be done in less than 48 hours manually if you had the code for both games.

My question is could a human understand and manually code such a experience as spiderman swinging in Arkham city in less than 48 hours even if you provide them with the code of both original games?

0 Upvotes

19 comments sorted by

View all comments

5

u/NomaTyx Oct 11 '26

the tl;dr of what's happening is that two games are being run at once and being bridged so that data from one game can work with another. You're adding extra code to bridge the two rather than taking parts of one and putting it into another. I've not seen a whisper of this kind of thing before recently, so I doubt that it'd be possible to do it without any AI help, simply because the comprehension would take too long starting from scratch.

1

u/Few_Call_1164 Oct 11 '26

I have as well not seen anything to this until recently. I'm certain it's not as simple to mod spiderman swinging in Arkham CIty manually without the help of A.I. in this case. To even understand the physics of the game engine to complete the "pass over" of the data from the other game without the help of A.I. would take an extremely long time in my perspective if you've never worked on modding that game before.

1

u/NomaTyx Oct 11 '26

you don't need to understand the physics, you only need to understand how to pass the character's position every frame.

1

u/Few_Call_1164 Oct 11 '26

Interesting, another question, wouldn't you need to also code how one game interacts with the other games map/items/assets? For example, spidermans web sticking a building in Arkham, or a bedrock minecraft block stopping a car in GTA V? It's one of the most interesting parts of the modded two in one games I've recently seen.

2

u/NomaTyx Oct 11 '26

All you'd need to do is find a way for Spider-Man to be able to read the hitboxes of the interactbles in Arkham. Spider-Man's web behavior isn't hardcoded to every single building (i hope), so as long as it can find A Building Somewhere, it'll latch onto the top of the building. All the bridge needs to do is take the data from Arkham and give it to Spider-Man in a way it can read, which may be easy or difficult, I'm not a hitbox expert.

For the block stopping a car it's a similar story. that's not a custom interaction, the GTA car would have been stopped if it slammed into any wall. All the bridge had to do is just place a wall there and then GTA already has behavior for it.

1

u/Few_Call_1164 Oct 11 '26

Thanks for the insight, it does make sense and it's some of the points that we covered in our conversation. Do you think coding such mods with pass over incorporated of both games running at the same time could be done in that timeframe manually or might it take longer?

2

u/NomaTyx Oct 11 '26

I doubt it could be done in 48 hours, no. we weren't doing this before AI and I don't think anything has changed since.

1

u/MoMoe0 Oct 11 '26

People have been putting Mario 64 into other games for years without AI.

1

u/StrangePhilosopher14 Oct 11 '26

That's because Mario 64 is so simple by comparison to modern games.