← Back to Community
Can you code games with C# on repl.it?
Profile icon
Ohayou

I don't mean console games, I mean can you code an actual 2D or 3D game in C#? Even if there is no game engine

Answered by InvisibleOne [earned 5 cycles]
View Answer
Voters
Profile icon
skvbh
Profile icon
6JAppleby
Profile icon
Ohayou
Comments
hotnewtop
Profile icon
InvisibleOne

No, not on Repl. The graphics in c# on repl do not work very well. However, you can create games in a game engine called unity and then upload them to replit. But that isn't really making it on repl it since you are doing that actual coding on a game engine.

Profile icon
Ohayou

@InvisibleOne yeah ok, I use Godot with C# but I wanted to try C# game development on repl.

Profile icon
InvisibleOne

If your computer can run unity you should look into it. Sadly mine can't so I can't use it but it's a really cool game engine. @Ohayou

Profile icon
RYANTADIPARTHI

Yes. C# uses Unity. That's a game engine. You can cool 3D games with it. I think on repl.it too.

Profile icon
InvisibleOne

Unity is not on replit, it's a game engine and a lot different from Replit. You can upload your unity game with an HTML code it gives you @RYANTADIPARTHI

Profile icon
Ohayou
Profile icon
Coder100

what type of question is that?

Go make a terminal game lol

but no, technically in ambient contexts it isn't super simple nor practical to make games in C#. Use a game engine like unity

Profile icon
Ohayou

@Coder100 I CAN'T BELIEVE YOU REPLIED OMG, I use godot

Profile icon
Coder100
Profile icon
jemrules

@Ohayou you ok?

Profile icon
[deleted]

maybe you can but you can't make them as good

Profile icon
6JAppleby

Yeah, definitely. They might not be powerful, or fast as the games you might know, but browser games certainly.

Profile icon
jemrules

You can use a 2d array and print it out in the console. It's a bit laggy could it would work. You won't get any mouse controls but you can use Console.ReadKey(); learn more here: https://docs.microsoft.com/en-us/dotnet/api/system.console.readkey?view=net-5.0

Profile icon
HarperframeInc

Yes! But the engine your looking for may not work on repl.it. (The graphics system is very odd to some engines and may need configuration.)

Profile icon
Ohayou

@HarperframeInc Could repl.it add a game engine for C#, that would be cool!

Profile icon
HarperframeInc

@Ohayou Yes. Maybe you might want to try upvoting this language request (Unity Game Engine)

Profile icon
CSharpIsGud

@HarperframeInc You can make unity games on repl by just compiling them to webgl