What can I do/what do I need to learn to start preparing for JS scripting?

Malzir

Villager
Member
Joined
Dec 7, 2012
Messages
23
Reaction score
4
First Language
English
I'm not sure if this was the best place to put this but I really would like some advise.

I am a web developer and I have been using JS in web dev for the past few years and after tje announcement that MV will use JS scripting I'm very excited to try my hand at it (since I never had a chance to learn Ruby).

My question then is how different will the javascript coding be and what additional javascript should I be practicing/learning in preperation for MV scripting from your typical web dev javascript? My personal experience is with jQuery, bootstrap etc.

Also, I know we haven't seen the MV framework yet but is there anything I can do in advance to start preparing? I was thinking of playing around with javascript canvas.

Thanks in advance!
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,349
Reaction score
11,940
First Language
English
Primarily Uses
RMMV
I've moved this thread to Learning JavaScript. Please be sure to post your threads in the correct forum next time. Thank you.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,339
Reaction score
3,020
First Language
Portuguese
Primarily Uses
RMMV
Also, I know we haven't seen the MV framework yet but is there anything I can do in advance to start preparing? I was thinking of playing around with javascript canvas.

Thanks in advance!
You may want to take a look at this: http://www.pixijs.com/

Other than that, you'll need to wait for MV to come out to learn it's standard functions and classes. There is one big difference between creating a script for rpg maker and working on a project in the language itself:

Instead of writing new code, you'll usually be changing existing functions to something else or something more. So things like this should be quite common:

Code:
var oldFunction = Game_Actor.prototype.moveStraight;Game_Actor.prototype.moveStraight = function(direction) {  var another_direction = 2;  oldFunction.call(this, another_direction);};
 

Malzir

Villager
Member
Joined
Dec 7, 2012
Messages
23
Reaction score
4
First Language
English
That looks great. I will check out pixijs.com once I get home.

Thanks for the function example. Looks like after we get access to the help file and functions and classes it should not be too bad to start modifying things.

PS: Sorry for posting in the wrong forum, I did scan through the forum to find a more relevant one but completely missed this one it seems.
 
Last edited by a moderator:

Amy Pond

Veteran
Veteran
Joined
Mar 17, 2012
Messages
667
Reaction score
1,361
First Language
English (UK)
Primarily Uses
Working through W3Schools will help greatly, it's a kind of web standard for JS learning. It's a base not a fully encompassing guide though.
 

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
209
First Language
English
W3Schools will not help. it is severly out dated and the basics are riddled with errors and inconsistencies and teach you really bad habbits. I suggest learning an actual javascript framework and applying it to real world examples instead of "look mom I made an alert box"
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,072
First Language
English
W3Schools will not help. it is severly out dated and the basics are riddled with errors and inconsistencies and teach you really bad habbits. I suggest learning an actual javascript framework and applying it to real world examples instead of "look mom I made an alert box"
Learning a javascript framework would probably require someone to learn javascript first? Unless there are frameworks that assume you are a complete beginner and will give you tutorials on how to JS?
 

Malzir

Villager
Member
Joined
Dec 7, 2012
Messages
23
Reaction score
4
First Language
English
I've personally been using JS for years in web development.

I'm used to jQuery but I expect it's not suitable for RMMV / game development so I was looking for advice more for breaking into that side of things.
 

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

Latest Threads

Latest Profile Posts

Jamaica? No, Aunty. I said, I'm on RPG Maker :*/
Lunar New Year is over :( but it's time to get back to work!
I keep giving myself deadlines because I'm so excited to finish something but I notice areas where I'm rushing the story and that's what's gonna weaken my overall project, gotta stop that
My new level features a Jellyfish character who cannot love, because he electrocutes everything he touches.
I prefer single roommates. After a hard day, all you want is sleep. I went to bed at 12. I was awakened at 2 because of my roommate laughing and whispering and stuff with her boyfriend on the phone. I didn't want to yell at her so I had to bear that cringy lovey dovey convo for half an hour, before I got so bored that I fell asleep again.

Forum statistics

Threads
93,688
Messages
914,636
Members
123,285
Latest member
jojojovil
Top