HOME | DD

Staticblaze — RPG Tutorial: The Basics by-nc-nd

Published: 2006-07-04 18:38:15 +0000 UTC; Views: 12638; Favourites: 235; Downloads: 431
Redirect to original
Description This is an RPG tutorial - on all the basic stuff. I will definately come up with a more advanced one, but it takes time to come up with the action script.

Keywords: RPG Tutorial, Flash Tutorial

EDIT: Old. Still pretty good, 100% accurate, but old. A newer one should be expected.
Related content
Comments: 60

GoodIvyKittyKitty [2014-06-25 05:35:55 +0000 UTC]

WARNING! Carry on reading! Or you will die, even if you only looked at the word warning!
Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental
hospital, because she killed her mom and her dad. She got so bad she went to kill all the
staff in the hospital so the More-government decided that best idea was to get rid of her so
they set up a special room to kill her, as humane as possible but it went wrong the
machine they were using went wrong. And she sat there in agony for hours until she died.
Now every week on the day of her death she returns to the person that reads this letter, on
a Monday night at 12:00 a.m. She creeps into your room and kills you slowly, by cutting you
and watching you bleed to death. Now send this to ten other pictures on this one site, and
she will haunt someone else who doesn't. This isn't fake. apparently, if you copy and paste
this to ten comments in the next ten minutes you will have the best day of your life tomorrow.You
will either get kissed or asked out, if you break this chain u will see a little dead girl in you

👍: 0 ⏩: 1

Nikkiisawesome In reply to GoodIvyKittyKitty [2015-05-02 18:27:05 +0000 UTC]

Fuck you

👍: 0 ⏩: 0

SushiCake3644 [2013-05-03 23:21:52 +0000 UTC]

Can you make a code so that the player can be animated while walking diagonally, please?

👍: 0 ⏩: 0

Xaayer [2013-03-06 23:02:39 +0000 UTC]

When i playt he game and attack, the numbers just change from 100 to the letter "A"

👍: 0 ⏩: 0

NightWitch14 [2012-09-01 21:32:39 +0000 UTC]

This is...abit difficult...
You shold put more pics or examples.^7^"

👍: 0 ⏩: 0

izumi-akuma [2011-06-01 13:00:37 +0000 UTC]

i did everything, and it should be right.
but when i test movie my sprite just spins around in circles rapidly. i've added stop(); in all the frames, do i add them in the movie clips frames as well?

👍: 0 ⏩: 0

FantasyJam [2011-03-19 18:18:42 +0000 UTC]

Very, very basic. As basic as I've ever seen. Too basic. Does not offer OOP concepts or anything I would find useful, either.

👍: 0 ⏩: 0

dumpaling [2011-02-18 21:10:21 +0000 UTC]

This is really useful but when I try and apply the actionscript, flash tells me theres something wrong It says something like:

**Error** Symbollayer, layer=Layer 1, frame=1:Line 2: Clip events are permitted only for movie clip instances
onClipEvent(enterFrame){if(!Key.isDown(Key.UP)){_root.player.gotoAndStop(1);}}

👍: 0 ⏩: 2

Xaayer In reply to dumpaling [2013-03-06 19:52:39 +0000 UTC]

Eyup that's definitely the fix.

The error is saying that the AS you put on that frame can only be applied to a MC. You have a MC-directed ActionScript applied to a frame and the program doesn't know what to do with it.

👍: 0 ⏩: 0

Xaayer In reply to dumpaling [2013-03-06 19:50:52 +0000 UTC]

Try putting the code for the "(!Key.isDown(Key.DOWN)" codes on each mc themselves and not the frames. Worked for me and I had this same problem.

👍: 0 ⏩: 0

seinii [2010-07-18 18:50:46 +0000 UTC]

what is the healing actionscript?it said put in the action from the last slide and i didnt get it...

👍: 0 ⏩: 0

Coyoteclaw11 [2010-07-18 03:16:50 +0000 UTC]

Is Variable name the instance name?

👍: 0 ⏩: 1

seinii In reply to Coyoteclaw11 [2010-07-18 16:03:53 +0000 UTC]

a variable name is different from an instance name-

when you put in a variable name, it should be a text box you're selecting.
it will say Var:________ and you type in the variable name there.

dont mix var and instance names together ^^U thats a pretty bad mistake if you do that

👍: 0 ⏩: 1

Coyoteclaw11 In reply to seinii [2010-07-18 18:45:25 +0000 UTC]

Oh nvm! My mom's like a comp whiz, and she set the the thing to default and the two lines below instnce nm (which wheren't there before) ty!

👍: 0 ⏩: 0

Coyoteclaw11 [2010-07-16 05:15:01 +0000 UTC]

This reminds me of Adventure quest

👍: 0 ⏩: 0

AyumiPanda [2010-07-06 02:21:50 +0000 UTC]

thank you soooo much! i learned alot from this

👍: 0 ⏩: 0

Kyuuketsuki-Kokoro [2010-06-30 03:16:55 +0000 UTC]

hmm...whats a variable name?

👍: 0 ⏩: 1

AyumiPanda In reply to Kyuuketsuki-Kokoro [2010-07-06 04:59:32 +0000 UTC]

when youre editing the dynamic text, look for the box that says Var. that's where you put the variable name.

a variable name is a name of a variable... and a variable is anything you set that changes throughout the game.

👍: 0 ⏩: 1

Coyoteclaw11 In reply to AyumiPanda [2010-07-18 03:19:22 +0000 UTC]

Where do you click to edit it???? <<👍: 0 ⏩: 1

AyumiPanda In reply to Coyoteclaw11 [2010-07-18 03:25:24 +0000 UTC]

you click on the dynamic text box and at the bnottom of the screen there will be options, make sure it's set to "dynamic" and not static or input. just look around in there and you'll find var. make sure the layer that it's on isnt locked

👍: 0 ⏩: 1

Coyoteclaw11 In reply to AyumiPanda [2010-07-18 18:45:55 +0000 UTC]

yep i figured it out thanks!

👍: 0 ⏩: 1

AyumiPanda In reply to Coyoteclaw11 [2010-07-18 21:54:47 +0000 UTC]

you're welcome :3

👍: 0 ⏩: 0

PrincesTomboy [2010-05-28 17:08:20 +0000 UTC]

One question, how do I get to the battle scene? I'm an idiot...

👍: 0 ⏩: 1

PrincesTomboy In reply to PrincesTomboy [2010-05-28 17:32:00 +0000 UTC]

actually, I figured it out, but can I make it so it's the 'player' hitting the monster in-game instead of having to click on it?

👍: 0 ⏩: 0

evolvd-studios [2010-03-17 00:02:17 +0000 UTC]

saw some of your flash work, liked it a lot. I was wondering if youd like to join our group. Were a flash animator and programer group, here you can either share your latest flash work, or demos, ask your questions, or use our resource section wich keeps growing everyday, and has animated gif spritepacks for all you sprite animators out there. We also growing out our tutorial section on either animating and programing, and now got our new sound pack SFX archive for all your games, all free for the public upload. Please think about it. We have not long in deviantart, but hope to grow into a huge comunity soon enough. If interested, please reply with a yes and we will send you the invitation. If not interested, just reply a "no" or dont reply at all XD, your choice. For now, see you till next time!

By the way, we use personal invitations scince our invites have run out XD. Thats why we have to invite like this from now on XD

👍: 0 ⏩: 0

MikuruNyan [2010-02-14 07:09:04 +0000 UTC]

HOLY CRAP. I did the "hp" variable thing, and when I tested it, the background blinked black like CRAZY. My eyes are still sore. X_X

👍: 0 ⏩: 0

Tetsushi [2009-09-30 00:08:44 +0000 UTC]

Great work on the tutorial! But just one question...
How do I show the random damage as a number on screen? o3o
I've been trying to figure it out for a while, but the answer doesn't seem to come to me...

👍: 0 ⏩: 0

yumiie03 [2009-05-09 12:54:51 +0000 UTC]

wow! it helped me... uh.. i don't get it

👍: 0 ⏩: 1

ssoun562 In reply to yumiie03 [2010-03-28 15:16:38 +0000 UTC]

me niether and i want dateing sim toutorial

👍: 0 ⏩: 0

Jdude145 [2009-04-02 04:01:42 +0000 UTC]

you don't even tell us what the code does. you just tell us to copy and paste it into the actions window. how are we supposed to learn that way?

👍: 0 ⏩: 0

FerroLotchi [2009-02-26 16:10:30 +0000 UTC]

i dont get it! the first four frames i have to make him stand still, and then the next four frames i have to make him walk...but when i draw in the moveclip in the 4 - 8 frames, it changes the first to fourst frames

👍: 0 ⏩: 1

PrincesTomboy In reply to FerroLotchi [2010-05-28 17:35:37 +0000 UTC]

you forgot the " stop(); " I did that too.

👍: 0 ⏩: 0

Leathertoast [2009-01-26 02:48:04 +0000 UTC]

It says "Now insert 4 more frames, making a total of 8. Each of them should have a movie clip in it showing the character walking..." How do you make movie clips IN a movie clip? I is confuzzled...

Here's what I've done:

Insert > New Symbol... named "Player" as a movie clip. I pressed "F7" 3 times and drew the first frame as someone facing North from a bird's eye view, and continued to do South, East, and West. Then I hit "F7" 4 more times to create 4 new frames. Now what? How do I make an animation inside of ONE frame?

👍: 0 ⏩: 2

zippythewildone In reply to Leathertoast [2010-06-10 20:06:20 +0000 UTC]

The symbol is a movie clip, you can edit inside a movie clip symbol by double clicking the symbol.

Just above the stage it will say Scene 1, once you enter the movie clip next to scene one it will show the name of the movie clip. To exit the movie clip, click scene 1... Hope that made sense.

👍: 0 ⏩: 0

PrincesTomboy In reply to Leathertoast [2010-05-28 17:37:04 +0000 UTC]

same as you did to get the movie clip in the first place. convert it to a movie clip and work in that.

👍: 0 ⏩: 0

Yokoshuichi [2008-11-25 09:05:00 +0000 UTC]

nevermind i think i figured it out sry XD

👍: 0 ⏩: 0

Yokoshuichi [2008-11-25 08:58:45 +0000 UTC]

i only need one thing cleared up for me when you add four new frames are they after the first for or after each frame?

👍: 0 ⏩: 0

carmiecarmela [2008-08-09 05:19:33 +0000 UTC]

How do you make walls?
nice tutorial btw

👍: 0 ⏩: 1

Staticblaze In reply to carmiecarmela [2008-08-11 02:37:59 +0000 UTC]

Next tutorial

👍: 0 ⏩: 0

Beyond-The-Stars [2008-07-15 22:06:20 +0000 UTC]

I'm having some problems, for instance when I go in to edit the character's movements, here's what happens.
1. I put in the action script and it says no errors.
2. Then I go to a different frame.
3. Then I go back to the same frame before and then it says that there are errors, and it says that it's not a movie clip when I already converted it to a movie clip.
Can you please help?

👍: 0 ⏩: 1

Staticblaze In reply to Beyond-The-Stars [2008-07-16 17:50:46 +0000 UTC]

That's really weird. If it says it's not a movie clip then maybe it isn't. Click on it and check in the properties tab to see what it is. Then go to the library and check. Sometimes you have to convert it through the library.

👍: 0 ⏩: 1

Beyond-The-Stars In reply to Staticblaze [2008-07-17 02:44:05 +0000 UTC]

Well I'll click on that frame and make it a movie clip, then I'll click on the next frame and in the properties place it says "frame". And converting it through the librabry just does the same thing.

👍: 0 ⏩: 0

Tomochiro [2008-01-29 21:48:23 +0000 UTC]

I didn't understand a thing, but you man, are a genious!!

👍: 0 ⏩: 1

Staticblaze In reply to Tomochiro [2008-01-30 01:49:05 +0000 UTC]

Not really, it's basics. Thanks though.

👍: 0 ⏩: 0

Tomochiro [2008-01-29 21:30:29 +0000 UTC]

MC? motor cycle? :S

👍: 0 ⏩: 1

Staticblaze In reply to Tomochiro [2008-01-30 01:48:49 +0000 UTC]

Movie Clip

👍: 0 ⏩: 1

Tomochiro In reply to Staticblaze [2008-01-30 14:18:00 +0000 UTC]

K thnx

👍: 0 ⏩: 0

Vinca [2007-12-12 07:55:25 +0000 UTC]

Can be understand easily. Nice effort!

👍: 0 ⏩: 0

karaseechakra [2007-09-16 11:42:41 +0000 UTC]

i dont get the part about insert 4 more frames whats a movie clip?

👍: 0 ⏩: 1

Staticblaze In reply to karaseechakra [2007-09-16 15:12:52 +0000 UTC]

Learn to use flash before starting a big project.

👍: 0 ⏩: 1


| Next =>