Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New forum theme up and running!
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Dashing System
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dashing System (Read 1386 times)
Linkforce
The Original Master of the Mosey
Leader
Posts: 2,330
i love rpgs
Dashing System
«
on:
September 17, 2006, 05:13:33 PM »
Okay, so here's my question.
I have a dashing system where if you press and hold the shift key, you can sprint and when you let go, you return to walking speed. Also, the sprite changes to a running sprite. So, is there a way for the sprite to change to its running sprite acording to who is the party leader?
Logged
Ruler of the Dark
DISTRACTION!!
Acolyte
Posts: 448
(No subject)
«
Reply #1 on:
September 17, 2006, 06:18:58 PM »
If by party leader you mean the hero at the top of the menu, etc..., then no. Not unless you disable the Order command and put some code for every time the roster changes. You could however make a party leader system that changes who is walking around by pressing a button, say... 1.
So you'd have a common event or something like this.
-Parallel process
<>Input precessing [Leaderchange]
<>if var[Leaderchange] is equal to 11
<>var[Currentleader] plus 1
--put some stuff to make sure the numbers are right, as in you don't go beyond the characters you have, etc...--
Then when you change the hero graphics, you'd do something like this.
<>if var[Currentleader] is eqaul to 1
<>change hero gfx to [BobRun]
<>if var[Currentleader] is eqaul to 2
<>change hero gfx to [SusyRun]
<>if var[Currentleader] is eqaul to 3
<>change hero gfx to [MarkRun]
...
...
...
Get the idea?
Logged
Meiscool-2
Sage
Posts: 7,030
If you support n00bs, you support communism.
(No subject)
«
Reply #2 on:
September 17, 2006, 07:11:40 PM »
Use the change sprite occ command instead of the move event command. Change sprite occ allows you to change the sprite of a specfic character.
Logged
Most Recent:
________________________
Old Stuff:
Ruler of the Dark
DISTRACTION!!
Acolyte
Posts: 448
(No subject)
«
Reply #3 on:
September 17, 2006, 08:50:56 PM »
Damnit, I always think too much about things.
Do what Meiscool says. Change the gfx of every hero, so regardless of the current one, it will change.
Logged
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
RPG Maker Programming
»
Dashing System