Difficulty of Javascript?

Aurawhisperer

Veteran
Veteran
Joined
Jun 10, 2015
Messages
403
Reaction score
17
First Language
English
Primarily Uses
Alright, so I think I am ready to move on from the building block steps that RPG introduces to the developer. I wish to format a questing system for the game to proceed, rather than go through the building blocks. Thanks to C# and understanding how to build through code, I feel I can move forward to JavaScript. My only question is how diffircult is JavaScript and what makes it different from C#?

Also, I plan to use Notepad++, but do you experts know any other better programs? Any tutorials about JavaScript? Or maybe some hinted ideas from off RPG Maker itself? Or where should I start on creating a basic quest script?

I know it's alot of questions, but I wish to hear from the experts on what's to be expected if I take this route, so that I better prepare myself and study the features rather than cookie cutting my way through.

Thanks in advance!
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
970
Reaction score
810
First Language
English
Primarily Uses
N/A
Atom is a pretty good syntax highlighter, and best of all, it's free.
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,696
Reaction score
935
First Language
English
Primarily Uses
N/A
C# is compiled, JavaScript isn't. For that reason, C# is faster at executing, because when the computer goes to read it, it doesn't have to figure out what things mean, it can already understand them, and is executed quickly. JavaScript is interpreted, meaning that it stays text and a program reads it and figures out what happens in real-time. This is really convenient for the developer, because it's significantly less strict when writing it, but it comes as a trade-off that it's slower, because the interpreter program has to take time to figure out what should happen. This doesn't necessarily make it slow, just slower. But, it makes life nice and easy when programming it. So if you can understand and write C# easily, then once you learn the syntax differences in JS, you'll do fine.

For an editor, I used N++ for Ruby, but have moved on to Sublime Text 3 for JavaScript. I'd recommend either that or Atom for JS development.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
566
First Language
English
Primarily Uses
RMMV
The syntax between C# and JS is fairly similar to some degree, because they're both "C Babies". There are some key differences, such as in C# the return type of methods must be the type in the method header, where as in JS there isn't really a type in the method header as everything is just a function, and therefore anything can be returned. A quick google search can get you more details really.

As for IDE i am an odd one and the IDE i use depends on my mood lol. Usually I use VSCode or Webstorm, but Atom is also nice. Since you seem to be coming from Visual Studio (im assuming, since C# - unless you love Mono like i do :D ), I'd recommend VSCode as its visually similar, they're also adding plugin support next release iirc.
 

Aurawhisperer

Veteran
Veteran
Joined
Jun 10, 2015
Messages
403
Reaction score
17
First Language
English
Primarily Uses
Alright. I'll try one of the two that have been suggested. Kinda wish pseudocode was also a coding language, but that would be way too easy heehehe
 

Aurawhisperer

Veteran
Veteran
Joined
Jun 10, 2015
Messages
403
Reaction score
17
First Language
English
Primarily Uses
Between the two main programs suggested, is there anyway to tell if there's errors or not? That's what visual studio had.
 

Kaliya

// Caffeine Overload
Developer
Joined
Nov 1, 2015
Messages
506
Reaction score
566
First Language
English
Primarily Uses
RMMV
Nope, not really, because JS isn't compiled its interpreted. You will get errors when you run your script though in the developer console.
 

Milena

The woman of many questions
Veteran
Joined
Jan 26, 2014
Messages
1,281
Reaction score
106
First Language
Irish
Primarily Uses
N/A
Alright, so I think I am ready to move on from the building block steps that RPG introduces to the developer. I wish to format a questing system for the game to proceed, rather than go through the building blocks. Thanks to C# and understanding how to build through code, I feel I can move forward to JavaScript. My only question is how diffircult is JavaScript and what makes it different from C#?

Also, I plan to use Notepad++, but do you experts know any other better programs? Any tutorials about JavaScript? Or maybe some hinted ideas from off RPG Maker itself? Or where should I start on creating a basic quest script?

I know it's alot of questions, but I wish to hear from the experts on what's to be expected if I take this route, so that I better prepare myself and study the features rather than cookie cutting my way through.

Thanks in advance!
For tutorials, there are lots already in youtube. SomeRandomDude and Soulpour777 are the two that I can think that can help you to start JavaScript for MV. Try using Sublime Text Editor or Atom to code for MV's plugins.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top