Help - Search - Members - Calendar
Full Version: Where to go for script learning
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
WagTail
Is there any websites that actually teach you how to write a script.
when ever I try to search up in Google, all the websites i get are only
giving you a script. non I have seen tell you how to make one?

I don't usually start threads so sry for any mistakes
The Law G14
Hey WagTail smile.gif To be completely honest, learning how to script in RPG Maker XP is long process and unless your completely committed to learning how to do it, you won't get anywhere sad.gif However, on the bright side, there are several aids on the internet that can help you accomplish learning the language. I know when I started learning, I had no idea where to begin and this cost me big time. Now that I've learned, there's a basic flow of how you should learn:


Part One: Foundational Learning

1. The Basics
2. Variables - VERY IMPORTANT!
3. Control Flow
4. Containers and Methods
5. Classes
6. More on Classes (It's in RPG Maker VX but most everything applies the same for XP)

Now that you've learned the syntax, it's time to enter the Big Three. In all programming, there are three major aspects to successfully creating a program (or script):

http://upload.wikimedia.org/wikipedia/comm...lerDiagram2.svg

The Model, the View, and the Controller. In RPG Maker XP, the Model, is the data or the Game Classes (check your script editor). The View are all your Window Classes, and the Controller are all the Scene Classes. The next three parts will be dedicated to study of these three parts by applying your knowledge of syntax to understand them.


Part Two: Game Data

I skipped this step in my learning and it had drastic consequences. DO NOT SKIP THIS STEP, it is possible the most important Part of this whole guideline. So, to complete this step, use your knowledge of Syntax that you learned form Part One and "read" every script in the Script Editor that starts with "Game_". A helpful tool in doing this is utilizing the RGSS Script Reference


Part Three: Windows

Next to learn are Windows, which is the fun part. This is where you get to display things (hence why it's the View).

1. Basic Windows
2. Selectable Windows
3. Advanced Windows
4. Command Windows
5. Read all the scripts in the Script Editor that start with "Window_"


Part Four: Scenes

Finally time to put everything you learned together! Scenes are the core of a script, they control the Windows and Game Data (hence why they are the "Controller").

1. Introduction to Scenes
2. Read all the scripts in the Script Editor that start with "Scene_"


Part Five: Making Your Own Creations!

Time to assimilate everything you've learned into making your own scripts. You will run into obstacles and there will be many problems that you'll face while making a script but the most important attribute a Scripter can have is perseverance. Also, make sure you regularly look at the works of other scripters, it'll help you get into the flow of how you should write your scripts and what good coding style is.


Good luck and I hope this was helpful! biggrin.gif
X-M-O
That's one of the best examples of "how to learn to script" I've seen in a while.
Very good, useful information there The Law. happy.gif
(You could probably stick that post as a pinned topic in the RGSS Script Support area.)
The Law G14
Thanks XMO smile.gif I'll do so right now, I'm sure it'll be a helpful tool for anyone interested in scripting.
WagTail
This is big help, Thank you law G14

I'll put it to good use biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.