What is the best Source Code Editor for making games?

What is the best Source Code Editor for making games? Not so sure is it Atom or Sublime Text. Or there all are the same and have no true answer.

1 Like

There’s no true answer. Whichever does the job for you is the one that is the best. Personally I love Visual Studio.

7 Likes

Sublime Text is pretty awesome, I use it for all my C++ programming. I prefer an IDE for C#/Unity, though. Would use Visual Studio for it if I had Windows, but I’m on a Mac and so stuck with MonoDevelop. (Or Xamarin Studio for non-Unity C# programming, which I think is quite nice actually.)

3 Likes

I use Visual Studio and C# with Unity. I’ve pretty much always used it for almost anything, including C++ coding things with the Irrlicht engine years ago. The only time I wasn’t using it was for GameMaker(GML) because it isn’t directly compatible(and GM has in internal editor), and a bit when I messed with QBasic(showing my age here, I’m over 30 which isn’t all that old really).

The other guys have it right though. Many people agree with me on using Visual Studio. It works great, integrates well with Unity(especially with the VS tools installed), and it is free for most people. But, there are some people that have other preferences. There is of course nothing wrong with that. I don’t expect everybody to use the same thing that I do, rather I expect you to use whatever feels best for you and your situation, budget, etc…

There’s no such thing. Use whatever works for you.

Monodevelop that is bundled with unity is sufficient, even with all the bugs.

3 Likes

Notepad++

If I’m not at my computer then a napkin will also do.

7 Likes

Textmate2 for me.

2 Likes

I am also a mac user too that I got stuck with only using my mac computer. I also want to try playing with Javascript to build a rough webpage with some codes that is not really a game related thing with the unity MonoDevelop source code editor. Can Xamarin Studio program and make a simple WEBPAGE? Xarmarin Studio seems to adverts that Xamarin Studio will only make iOS and OS X games or only making the video game and app stuff like how the Xcode works. I am planning to download Xcode first then download Xamarin Studio after. But, it seems like I am downloading a wrong program, because Xcode and Xamarin Studio seems like it does not make a webpage.

I have tried to get a Javascript file from this video link by copying and pasting the website code to the Xcode. But, I do not think Xcode is a regular Source Code Editor. So, I think I will need Sublime Text source code editor instead of using the Xcode. I think I already know that Javascript is not a downloadable language. But, you will need copy and paste codes inside your source code editor to create a Javascript language. Somehow, it is not working when I am trying to make a Javascript language inside Xcode.

https://www.youtube.com/watch?v=XtW_t5kNih4

I’m not entirely sure about web programming, but I would say that it does any kind of C# programming. It has native API bindings (through the Xamarin platform) to iOS, OS X and Android. You don’t have to use them. Works with latest .NET/Mono. Works with things like MonoGame. I have no idea about JavaScript though. Seems to be fairly C# oriented. Maybe ASP.Net? I’m not the one to ask for anything related to the web!

Why not just grab vim/emacs in this case?

Either way, if it is “not unity related”, look for any programmer’s editor with syntax highlighting. That’s all you need for javascript. Heck you can even work without syntax highlighting.

3 Likes

“Real programmers use a magnetized needle and a steady hand.”

Or butterflies…

Edit: Gah, got so focused on the joke, forgot to leave my real answer.

As stated above, there is no best. Try out several and pick the one that works well for you and lets you get the most done without driving you crazy at the same time.

3 Likes

How do I run this Javascript after typing in my codes? I am trying to make a simple webpage pop up text message only. Did I did something wrong or I am missing a step? I kind of copied the steps from this website link. https://www.quora.com/How-do-I-run-JavaScript-code

<html>
//message
<script>
alert ('message\nmessage');
</script>
</body>
</html>

-_-

You can’t “run” html. You open it in a browser, and reload it.

Google for some tutorials.

3 Likes

Nevermind, I have fixed it. I just need to save as .html file instead of .js javascript file inside Sublime Text source code editor. I think I already know that html file does not really make the games. I was only trying to play around the javascript to make a webpage for fun.

I have just finish my first successful coding project that is not me always doing a MEL scripting again.

1 Like

There’s no true answer because they’re all different. It’s the Spaghetti Sauce principle.

2 Likes

I vote for sublime

Emacs.

1 Like

NotePad ++

1 Like

He may want to preserve his sanity. Last I looked into it I came to the conclusion it was the Blender of text editors. :stuck_out_tongue:

3 Likes

I like Visual Studio Code quite a bit. It’d be nice if Unity got proper first-party integration for it on platforms like OSX where the pack-in option is Monodevelop.

1 Like