RPG Maker 2k3 - play Animation while common event is processing AND THAT COMMON EVENT CONTAINS A WAI

vergilkilla

Warper
Member
Joined
May 16, 2015
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hello All. 

I have a common event that starts a timer, waits 0.5s, then starts another timer. 

Before I call this common event from a battle event, I play an animation (from the Battle Event - because this is the only way to reliably show an animation in battle - common events seem to play battle animation sound file, but do not display in battle)

So the battle event is:

Battle event {
>Show Anim
>Call Common Event
}

The intent is that the animation will play SIMULTANEOUS to the common event processing -. I have set the common event to a "Parallel Process" with this intent in mind.

The problem is it only KIND OF works. It has a very specific issue - the common event executes normally until it hits the "Wait 0.5s" - when it hits that Wait command, it does not resume execution until the animation triggered by the battle event ends (a time period much longer than 0.5s).
 

So to reiterate, what currently happens is:

  • The animation plays as triggered from the battle event
  • The first timer starts (I've displayed it on-screen to confirm). This part is working fine - the timer starts despite the animation playing simultaneously.
  • When the common event hits the "Wait 0.5s", it waits for the animation to complete! Even if the animation has another full 1 second of execution and I've set the wait to 0.1s, or 0.2s, whatever.... it still does not continue execution onto the next line of the common event until that animation is completely done playing. If I remove the wait, both timers show up fine. The problem is that I need the wait in there - it is being used as an offset between the timers that I then evaluate later (long story).
Does anybody know why this is? Is there any way to work around this? This is sort of the last difficult thing I want to do with the battle system - I'll be ecstatic if I can get this to work because the rest is all easy stuff in comparison.

Thanks,
Vergi
 
Last edited by a moderator:

Felix Trapper

old fogey
Veteran
Joined
Mar 14, 2012
Messages
164
Reaction score
119
First Language
English
Primarily Uses
Not sure how to fix that exact issue, it seems like a limitation of the way RM2K3 processes those commands. 

I suspect you are working on a timed-hits battle system. Have you experimented with the Key Input Processing and storing the amount of time it takes to push the button to a variable?
 

orochii

Abomination of life, or life itself.
Veteran
Joined
Apr 29, 2012
Messages
678
Reaction score
420
First Language
Spanish
At the "Show Battle Animation" window, there is a check that says something about stopping processing. Is that checked? If not, then the Wait command is somehow causing the animation to stop processing until it ends, just how it should do when that check is marked.

I remember having problems with these things, and I don't remember what did I do to fix them, or if I just gave up "orz.
 

MirageV

Veteran
Veteran
Joined
Apr 5, 2012
Messages
47
Reaction score
43
First Language
English
Primarily Uses
Uncheck 'wait for animation' in the show battle animation window, and instead, put a seperate wait under the command. This should stop any wait spikes after the battle animation finishes.
 

Latest Threads

Latest Posts

Latest Profile Posts

Making his first game
This scene was suppose to be a test... but now, it's going in the game as official side/optional content. :kaosalute:


functionality(This is function demo not game demo)
1 The door of ABS map can open upon clearing all the monsters
2 Secret room/road arrow/lighting/whatever others can be shown upon clearing too
3 Boss HP bar and loot effect, loot jump and item name color as well as the pick-up animation effect
4 Back to town and "victory aftermath" screen for ABS maps/rooms
Playing one of the two RM2k3 games I was best known for back in the day, one I made in the Spring semester of my Freshmen year in college like 15 years ago, feeling all kinds of ways about it. I have not played this game in WELL over 10 years. I feel a million years old RN.
One of these days, I need to find/figure out how to replicate the Brave/Default system. Heheh...

Forum statistics

Threads
115,327
Messages
1,088,999
Members
149,984
Latest member
bagil
Top