Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Becoming a Scripter, Beginner and want to learn how to script? Come on in!
The Law G14
post Jan 17 2012, 05:29 PM
Post #1


Scripter FTW
Group Icon

Group: Local Mod
Posts: 1,346
Type: Scripter
RM Skill: Skilled
Rev Points: 5




Recently, I saw a topic asking about how to script in RPG Maker. To be honest, scripting is something I believe anyone can pick up as a skill set, as long as you get the proper instructions on how to learn the language and you're of course determined to learn. I came from being a complete noobie to being able to script my own systems, and I had no background knowledge in any other programming language. However, it was difficult, I have to admit, mostly because I had no guideline on where to go and what to do. I skipped steps, jumped the gun, etc. etc. and that proved to bad lol biggrin.gif So this topic is for the sole purpose of allowing anyone interested in learning how to script to know the general guideline, that I think, will help you start writing scripts in no time!


Part One: Foundational Learning

1. Fundamentals of Programming
2. All About Variables!
3. Controlling the Flow
4. Arrays and Hashes!!
5. Methods!
6. WIP

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


__________________________

To put in sig, copy this link:
CODE
[url="http://www.rpgrevolution.com/forums/index.php?showtopic=51540"][img]http://img40.imageshack.us/img40/6504/conceptthelawbanner.png[/img][/url]


Sig Stuff


"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!

If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One

My Project Thread: Gai's Hunters


Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 12:49 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker