In browser coding.. possible?

Hi all,

I’ve been doing Unity/C# for about 6 months now and was wanting to take my practice to work in my down time. The problem is I can’t install anything on the work computer…

Is there any site that anyone knows where you can practice Unity coding in browser without using the actual engine. I realize I can’t use the engine but a practice site where you can code in browser and get some feedback if it’s right or wrong.

Probably nothing but thought I would ask.

I’d recommend to buy a laptop.

The point of coding is to use the engine, and if you can’t use the engine, you can’t get feedback regarding “if it is right or wrong”.

Yeah haha, I was going to just bring my desktop in and use a switch to change back and forth… I thought maybe there was something in browserish that would work but was pretty sure there wasn’t (obviously due to having to use the engine). Thanks for replying :slight_smile:

some options:

  • many places to learn C# online (and write code even) *of course no unity API, but learning c# helps
  • get some server/vps/remove instance, install unity there, use with some remote desktop tool in browser (chrome remote desktop or others if there are)

oh i misread a bit, so maybe just install on your own pc and use that remotely. (if firewall allows those connections)

2 Likes

THere’s a website called W3schools that lets you program in-browser. Obviously this sort of thing will always be very limited.

I used this site to learn Javascript for a job that had back in the early 2000s.

1 Like

this is fun place for coding tasks (can use c# also), https://www.codingame.com/
for c# this one is nice (seems to support packages also, havent tested that) https://dotnetfiddle.net/

2 Likes

None of the links posted will help at all unless the only thing you’re having trouble with is syntax. Ultimately, Unity is always going to be more than that because you’ll never be able to properly observe cause and effect outside of what you can see in a very generic terminal.

2 Likes

You need unity engine. Browser tools allow you code a little in C#, but they do not allow you to run unity. Without unity those exercises are useless, unless you’re studying syntax or C# WITHOUT unity.

So either you use a laptop to run unity, or a laptop with a remote desktop tool to connect to a computer at home that runs unity, or see if you can run unity on a dedicated windows server you pay for. I’m unsure IF you can run unity on a windows server, by the way.

The least painful option is a laptop.

1 Like

Depending on your wokplace’s security policies, you could maybe remote desktop from the work PC to your personal computer. Basically what @neginfinity said but without extra hardware

1 Like

One can have a fairly full fledged IDE in the browser - VSC has a browser mode (I’ve used it at work sometimes from a remote PC): Visual Studio Code for the Web

That of course does not really help you with Unity development if you need the editor, as others have said. But you could roughly write algorithms and architectural stuff etc.

1 Like

You can install TeamViewer on the mobile.
Another option is, If you are TeanViewer subscriber, you can use TeamViewer web based interface.

Then you can connect to home PC and do things as normal.
Obviously quality of work will be lowered, doe to work station environment.
But can be done.

1 Like

Just based on what I’ve seen on the scripting forums there are plenty who fall into this category. Obviously you’ll need knowledge of the Unity API to accomplish anything in Unity, but I also see a lot of people who don’t understand how a for-loop or an array works.

2 Likes

The OP specifically says “Unity coding.”