Forum Topic: RPG Battling

(268 views • 6 replies)

This topic is 1 page long.

<< < > >>
None

NGVisitor

Reply To Post Reply & Quote

Posted at: 3/12/07 12:16 AM

NGVisitor LIGHT LEVEL 06

Sign-Up: 11/22/05

Posts: 35

How do you make those RPG turn-based battles and how to you get stat bars to work? I wanna do something like the Sonic Rpg episodes. Thanks!


None

jmtb02

Reply To Post Reply & Quote

Posted at: 3/12/07 12:23 AM

jmtb02 LIGHT LEVEL 29

Sign-Up: 03/01/04

Posts: 5,841

1) Make a bar. Select it, hit F8, and turn it into a movieclip. Make sure you hit out of those nine little boxes, the left middle one.

2) On the properties panel, where it says instance name, change it to myBar.

3) On the frame where the bar is located, click the frame. Open the actions panel. Script:

onEnterFrame = function {
myBar._xscale = hitPointsVariable;
}

Now anytime you change the hitPointsVariable to a number between 1 and 100, it will change the scale of the bar to that corresponding number.

Hi there!

BBS Signature

None

NGVisitor

Reply To Post Reply & Quote

Posted at: 3/12/07 12:48 AM

NGVisitor LIGHT LEVEL 06

Sign-Up: 11/22/05

Posts: 35

At 3/12/07 12:23 AM, jmtb02 wrote: 1) Make a bar. Select it, hit F8, and turn it into a movieclip. Make sure you hit out of those nine little boxes, the left middle one.

2) On the properties panel, where it says instance name, change it to myBar.

3) On the frame where the bar is located, click the frame. Open the actions panel. Script:

onEnterFrame = function {
myBar._xscale = hitPointsVariable;
}

Now anytime you change the hitPointsVariable to a number between 1 and 100, it will change the scale of the bar to that corresponding number.

Ok, but what about the actual battle AS? You know, for menu actions and stuff and everything else in RPG battles?


None

Rathanos

Reply To Post Reply & Quote

Posted at: 3/12/07 02:59 AM

Rathanos LIGHT LEVEL 22

Sign-Up: 05/31/03

Posts: 2,103

That, my friend, you will have to learn by practice, trial and error, tutorials, creativity and mathematics.

www.kirupa.com


None

NGVisitor

Reply To Post Reply & Quote

Posted at: 3/12/07 09:11 AM

NGVisitor LIGHT LEVEL 06

Sign-Up: 11/22/05

Posts: 35

At 3/12/07 02:59 AM, Rathanos wrote: That, my friend, you will have to learn by practice, trial and error, tutorials, creativity and mathematics.

www.kirupa.com

Thanks for the site! I'll check it out!


None

The-Commissar

Reply To Post Reply & Quote

Posted at: 3/12/07 10:37 AM

The-Commissar FAB LEVEL 13

Sign-Up: 12/14/06

Posts: 367

www.kirupa.com

or you could try this.

My imaginary friend just beat up your imaginary friend
:3 =P

BBS Signature

None

NGVisitor

Reply To Post Reply & Quote

Posted at: 3/12/07 05:48 PM

NGVisitor LIGHT LEVEL 06

Sign-Up: 11/22/05

Posts: 35

At 3/12/07 10:37 AM, The-Commissar wrote:
www.kirupa.com
or you could try this.

Never mind, I know how to make 'em now. I saw the RPG Tutorial: The Basics flash and that helped me a lot. I just wanna know how to make the enemy do a random attack instead of doing one all the time.


All times are Eastern Standard Time (GMT -5) | Current Time: 01:35 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!