For those who griping about RPGM3's limits, heres something you'll like: a programming language. Qbasic is what I program Lancer EX in, and while graphics are a pain in the ***, it is very helpful for custom battle systems and the ilk. First off: you can get it here...I think. Let me know if it doesn't work. Anyway, on to the basics. First off, in this tutorial, t stand for text, and v stands for variable.
And away we go!
END Ends the program. I put it first cause I'm like that.
CLS: Clears the screen. Use this or the screen will be very messy.
PRINT "t": Prints text. A side note: If you put a variable in the quotes, it will print the exact text, i.e "v$". If you put the variable in a print command but not in quotes, it displays the value of that variable. Note that if you have multiple print commands there is not pause between.
INPUT "t", v$: Here's where it gets fun. This displays the line of text placed in quotes, then gives the user the chance to type something in. The words typed are then assigned to that varaible.
Quick Side lesson about variables! There are two kinds, text and numeric. A numeric variable looks like this:
v
You CANNOT change a numeric variable with the input command. You change it simply by inputing code like this:
v = 3
Text Variables look like this:
v$
You can change them with input, and manually. However, to change it manually, you have to use quotes, like this:
V$ = "cow"
Also, here's something I do a lot: Use the command input "", z$ to put in a pause.
If you need to write in a note, putting an apostaphe (sp?) before the line makes it void, so you can write in 'this is my battle system and such.
With that done, here is your first sample code!
CLS
Print "This is my first sample code!"
input "", z$
input "What is your name?",n$
print "Hi, " n$"!"
end
Press F5 to run the program. If anyone's intrested, I'll post more.
And away we go!
END Ends the program. I put it first cause I'm like that.
CLS: Clears the screen. Use this or the screen will be very messy.
PRINT "t": Prints text. A side note: If you put a variable in the quotes, it will print the exact text, i.e "v$". If you put the variable in a print command but not in quotes, it displays the value of that variable. Note that if you have multiple print commands there is not pause between.
INPUT "t", v$: Here's where it gets fun. This displays the line of text placed in quotes, then gives the user the chance to type something in. The words typed are then assigned to that varaible.
Quick Side lesson about variables! There are two kinds, text and numeric. A numeric variable looks like this:
v
You CANNOT change a numeric variable with the input command. You change it simply by inputing code like this:
v = 3
Text Variables look like this:
v$
You can change them with input, and manually. However, to change it manually, you have to use quotes, like this:
V$ = "cow"
Also, here's something I do a lot: Use the command input "", z$ to put in a pause.
If you need to write in a note, putting an apostaphe (sp?) before the line makes it void, so you can write in 'this is my battle system and such.
With that done, here is your first sample code!
CLS
Print "This is my first sample code!"
input "", z$
input "What is your name?",n$
print "Hi, " n$"!"
end
Press F5 to run the program. If anyone's intrested, I'll post more.

.


5198-2124-7210 Smash
Comment