Is it even possible to port other game engine code to roblox?

recently i have been thinking about porting pizza tower (a gamemaker studio game) to roblox, i want to know if its possible to port gamemaker studio code to roblox.

(i originally was gonna try and port off to roblox but its made with rpg maker 2003)

I don’t think its possible to port code from other game engines please correct me if I am wrong.

Only lua and luau works in Roblox Studio ?

the thing is somebody ported sonic to roblox, so i think it depends on the game engine

1 Like

If its a model then it is possible, but code … If its not lua or luau then it won’t work.

Logic is logic, but not all code is the same. I learned to code in Roblox by taking courses in Unity and reading a lot of API documentation.

If you had all the uncompiled code, you certainly could port the game. It would be difficult.

By the way Roblox only uses luau (lua is just included/the of luau)

like all the code? yeah i have all the code

Still lua or luau, they’re not exactly the same.

1 Like

I don’t think you can just copy the code from another game engine directly to Roblox due to the programming languages being different however you could code the game on Roblox with the same modals. (unless there is an converter to convert the code)

1 Like

Then the logic is there. You would just need to be fluent in both languages.

1 Like

I am not going to argue about it but it is classified as luau only due to it not being exactly lua due to the additions that Roblox has added on so Roblox games run on luau not lua even though luau is built on lua just changed up.

(the main reason why you can’t really call the language that Roblox uses for games lua is due to it not being exact lua just lua built in/based on).

Lua and luau are not the same but like I said Luau is built on luau. Roblox only uses luau it’s just due to luau being built on Lua you can use the same code then in Lua. Even if you write Lua code it’s still Luau which is running!

1 Like

That was probably a model, which can be imported into roblox.

1 Like

In general you will need to recode it from scratch. You should be able to import OBJ files in although it may be be remake some elements depending on what it is.

1 Like

Probably wouldn’t work, unless you had an HTML5 canvas game, maybe you could do canvas.toDataURL() in JavaScript, send that through that one proof-of-concept image viewer with frames thingy, and use some more javascript (probably express.js) to send the frames, then put them in Roblox GUI, idk something like that might work.

But no, you can’t just import a game directly, a little coding is required.

Those people ported console games to Roblox that one time, I saw it’s a Flamingo video. You can ask them, idrk.

1 Like

A game can’t have no scripts.

1 Like

Solution:

(Step by step)

  • make a transpiler
  • create a proxy for Roblox’s api that will use the other game engines api.
  • connect the new proxy
  • do bug fixing
1 Like

Definitely possible. If the engine isn’t written in lua, you would have to convert/rewrite the code to lua, which then can be ported to roblox.

I would also like to point out it is even possible port entire graphic engines to roblox. For example, the 1992 Wolfenstein 3D engine, which is a raycaster engine, is something I have managed to port to roblox using my own pixel game engine module I made.

5 Likes