Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Use Escape button to end a cutscene?
vvalkingman
post Nov 28 2012, 03:07 PM
Post #1


The Traveling Bard ;)
Group Icon

Group: Revolutionary
Posts: 210
Type: Developer
RM Skill: Intermediate




So I created a common event checking for when the B(or escape button) is pressed, parallel processing when Check switch is active.
This common event will then turn on the End Cutscene switch.

The cutscene itself on the map has three tabs. Tab 1 autorun turns on the switch activating the common event and then continues with the cutscene. Tab 2 parallel processing fades the screen and transfers the player to another map. Tab 3 is for self switching off.

The new map has a parallel process tab 1 that will unfade the screen and allow the player to start playing.

So I start a new game, cutscene starts, I press escape and the screen fades. The player is transferred to the new map and the screen unfades. THE ISSUE: The cutscene from the previous map keeps going despite changing maps! I've tried to position erase event or exit event processing or break loop correctly to resolve this somehow but it appears all I stop is the event with those commands in them NOT the cutscene event from the first map. What am I doing wrong here and is there a better way?

Thanks in advance!


__________________________

Thank you X-M-O for my sexy new banner! ;)

Project I'm currently racking my brain on:
"Modern Witch" Project(tentative name): 5% done
Goshiki: The Five Paths: 40% done

Projects on the backburner:
The Great Thief of Mango City: 5% done
Knights of the Black Gate: 10% done
The Venting: 74% done
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Jens of Zanicuud
post Nov 29 2012, 09:41 AM
Post #2


Dark Jentleman
Group Icon

Group: Local Mod
Posts: 904
Type: Scripter
RM Skill: Skilled
Rev Points: 120




Autorun can give some serious problems, since the keep on processing even if they are erased. Try putting an Exit Event Processing as the last command in Tab 3. This way, you should prevent the autorun process to move on.

I hope this can help,

Jens


__________________________
"Thorns are the rose's sweetest essence..."
-Jens of Zanicuud


Games I'm working on:
>

official website: TryAdIne eFfeCt

>

Games I worked on (mainly as a scripter):
>
(Warning: it's a 3rr3's project and it's in Italian!)


Awards

Go to the top of the page
 
+Quote Post
   
vvalkingman
post Nov 29 2012, 01:00 PM
Post #3


The Traveling Bard ;)
Group Icon

Group: Revolutionary
Posts: 210
Type: Developer
RM Skill: Intermediate




I tried what Jens suggested but it had the same effect, the cutscene keeps going. I think I might abandon the escape feature for now in lieu of "Skip Cutscene?" choice box prior to it a la FFX2 or just allow for the player to button mash out of it...the issue with the first is that it breaks immersion in my opinion and the later is tough to time events with music(currently I have the music PERFECTLY timed with the event.) I'll figure it out, moving forward though I'm pretty sure I'll hit up vx ace or something...it seems easier to get stuff like this done under that engine *shrug* thanks for the help, both of you smile.gif

This post has been edited by vvalkingman: Dec 9 2012, 10:33 PM


__________________________

Thank you X-M-O for my sexy new banner! ;)

Project I'm currently racking my brain on:
"Modern Witch" Project(tentative name): 5% done
Goshiki: The Five Paths: 40% done

Projects on the backburner:
The Great Thief of Mango City: 5% done
Knights of the Black Gate: 10% done
The Venting: 74% done
Go to the top of the page
 
+Quote Post
   
Jens of Zanicuud
post Dec 1 2012, 10:53 AM
Post #4


Dark Jentleman
Group Icon

Group: Local Mod
Posts: 904
Type: Scripter
RM Skill: Skilled
Rev Points: 120




You are using a common event?! I haven't read that line!
In this case, the whole thing is more difficult to handle.

Try acting this way:

1. Set an event in autorun which runs that CE inside it's commands' list (not as an external process);
2. Create a 2nd event in Parallel which check if Esc button is pressed and thus activates a switch (let's call it Escape Switch);
3. Set first event's tab 2 as follows:
Timing: Parallel
Trigger: Escape Switch
>Exit Event Process;
>Erase Event;

I just hope this will work better...

Jens


__________________________
"Thorns are the rose's sweetest essence..."
-Jens of Zanicuud


Games I'm working on:
>

official website: TryAdIne eFfeCt

>

Games I worked on (mainly as a scripter):
>
(Warning: it's a 3rr3's project and it's in Italian!)


Awards

Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 07:04 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker