RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[XP] Cutscene before Title

0 Members and 5 Guests are viewing this topic.

***
Rep:
Level 90
Okay, so to make the cutscene before title:

1) Build the map with the cutscene.



2) At the end of the cutscene put the event to "Return to Title Screen".



3) Build the actual game as you would normally do.



2) Make a new scene with the following code:

class Scene_Cutscene
def main
    $data_actors        = load_data("Data/Actors.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
    $data_mapInfos     = load_data("Data/MapInfos.rxdata")
    $game_temp          = Game_Temp.new
    $game_system        = Game_System.new
    $game_switches      = Game_Switches.new
    $game_variables     = Game_Variables.new
    $game_self_switches = Game_SelfSwitches.new
    $game_screen        = Game_Screen.new
    $game_actors        = Game_Actors.new
    $game_party         = Game_Party.new
    $game_map           = Game_Map.new
    $game_player        = Game_Player.new
    @save_max = 3
    for i in 0..@save_max     
      if FileTest.exist?("Save#{i+1}.rxdata") : $scene = Scene_Title.new end
    end
    $game_map.setup(!!!!!!!!!!)
    $game_player.moveto(XXX, YYY)
    $game_player.refresh
    $game_map.update
    $scene = Scene_Map.new
  end
end


5) Change the "!!!!!!!!!!" in the script with the ID of the map, and "XXX" and "YYY" with the coordinates you want the hero to start at.



6) Change the Main script so that it begins at Scene_Cutscene and not at Scene_Title (change it after "Graphics.freeze").



And that's it! It will begin at your map, do the cutscene and then open the title screen.

« Last Edit: May 26, 2015, 01:32:18 AM by yuyu! »
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Nice job. :) Looks good. *moves to Database*
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

*
I love Firerain
Rep:
Level 97
=D
Hey man this is sweet and neat.
im using it ^_^
Arlen is hot.

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
All right, check it.

This script is the SHIT dawg, but it needs somethin' with more..."Pimp"...

Like, what if it sent you to the title, but if like, you didn't hit the buttonz urr sum shit, it would play da scene, nowadam sayin' my ni**a?

**
Rep:
Level 88
The Smexy Babe Magnet
I followed what you said and yet when I try and play it an error pops up saying "?(x5) 'Scene_Cutscene' ? 23 ?(x3) SyntaxError ?(x8)". Know what the problem is?

(The ?(x_) was since ?(x3)= ???)

[Edit]
Btw, this is about XP and I got a screen. I'm really new at this, so I might have done something wrong, but I could use some help with this problem.
« Last Edit: December 08, 2006, 08:34:29 PM by Cheal »


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

***
Rep:
Level 90
That error means you have an error at line '23' in 'Scene_Cutscene'.
Okay, line 23 is "$game_player.moveto(XXX,YYY). Make sure you have replaced the XXX and YYY
for example "$game_player.moveto(0,0)" if you want the player to start at 0,0.
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

**
Rep:
Level 88
The Smexy Babe Magnet
Sorry, but yet again, I have another error screen. This time it says this:


Here's what I have for it:


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

***
Rep:
Level 90
okay, gotcha. The thing is, when I told you to replace the '!!!!!' for the ID of the map, you replaced it with the name!
The ID is the number of the map, in this case 11!
go to line 22, and change it for '$game_map.setup(11)'
This does it.
~ Love me... I want you to love me... ~

Scripting Academy || My Deviantart || Project: Tsol - Aishite Aishite

Tired of:
Main character being found in a cliff and not being human;
Angel characters against demon ones;
Vampire characters falling in love with humans;
Human rebelling against Dragons;
More than one world in ACTUALLY one world;
DNA transfusions and mutations;
Powerful races and humans who amazingly rule almost every part of the world having absolutely no super power;
Demons being released after some time in "slumber";
Titles with Legacy or the name of the world on it;

**
Rep:
Level 88
The Smexy Babe Magnet
*Hits head* Thanks, Edeon. Me not so smert some times. :P

[EDIT]
Whoot! It works now, and only a few problems, like the ID not being 011, but 013. It turned out awesome and it adds some flare to it. Thanks again for the awesome tut.  ;D
« Last Edit: December 13, 2006, 01:01:06 AM by Cheal »


Got no good story ideas? Try using Seventh Sanctum. It's got millions of generators for things you might need.

*****
Rep:
Level 89
I'm back again. Again.
Cool, nice tut. This helps me alot!


********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
what I want to know is if it's possible to make it so that the player can press a button to go back to the menu halfway through the scene.

also, is it possible to make the scene re-play after time?

that and can I show pictures, like text during the scene?

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

*****
Ancient Mummy
Rep:
Level 90
You can do all what u want
Make a parralel proces event and put conditional branch *
 If button (...) is pressed.
 Return to menu

And u can use messages

I think  ::)

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
what about going from menu to cutscene after say, a minute
how do I do that?

also, I didn't mean messages so much as a black screen with fading text or something like that. (unless I can do timed messages)

edit:like a combination of Blizzard's picture cutscene and this one.
« Last Edit: February 20, 2007, 03:09:18 PM by NAMKCOR »

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

***
Rep:
Level 89
Koopa Troopa!
Script 'Cut_Scene' line 23: SyntaxError occurred.

Wtf?

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
Quote
That error means you have an error at line '23' in 'Scene_Cutscene'.
Okay, line 23 is "$game_player.moveto(XXX,YYY). Make sure you have replaced the XXX and YYY
for example "$game_player.moveto(0,0)" if you want the player to start at 0,0.

look up.

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

**
Rep:
Level 88
Patriots all the way!!
At the beginning of my game I have it so the its like go to title menu or start cutscene...but then when I try to start the cut scene nothing happens? I used a common event and when you press cutscene thing it starts.....
Im to cool to have my own signature!!!

***
Rep:
Level 88
Is there a way to make it so that it starts the room with a picture covering it, displays a few boxes of text then fades to the map? And how do you make the screen go to a specific position/move? (also for some reason no text appears anywhere in my games, even the title menu O.o any ideas?)
« Last Edit: February 27, 2007, 12:31:41 AM by atracious »
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
1st question, I want to know that myself
2nd: universal font fix, try searching for it

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
2nd: Either the stidkied "Blizzard's tricks" topic in Tutorials or "Tons of Add-ons" in Scripts Database. :)
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

********
Hungry
Rep:
Level 96
Mawbeast
2013 Best ArtistParticipant - GIAW 11Secret Santa 2013 ParticipantFor the great victory in the Breakfast War.2012 Best Game Creator (Non-RM Programs)~Bronze - GIAW 9Project of the Month winner for December 2009Project of the Month winner for August 20082011 Best Game Creator (Non RM)Gold - GIAW Halloween
ok, thanks for handing out the location, now how about number 1?

FCF3a A+ C- D H- M P+ R T W- Z- Sf RLCT a cmn+++ d++ e++ f h+++ iw+++ j+ p sf+
Follow my project: MBlok | Find me on: Bandcamp | Twitter | Patreon

***
Rep:
Level 88
Is there a way to make it so that it starts the room with a picture covering it, displays a few boxes of text then fades to the map?
I figured this out, thanks to Blizzard. :)
You make an event that is a parallel process and then just put 'show picture' at the top, i actually got rid of the pic before displaying the text, but you don't have to :)
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep: +0/-0Level 87
I'm from Finland!(and Finland rulez!)
Whats wrong? Screen shots from my error and my cut scene script
http://img252.imageshack.us/my.php?image=omgvb2.gif
http://img252.imageshack.us/my.php?image=omges0.gif
Please tell me what to do!
« Last Edit: March 28, 2007, 02:06:38 PM by dracow »

***
Rep:
Level 88
Whats wrong? Screen shots from my error and my cut scene script


Please tell me what to do!
first off: actually put the screens in...not off the hard drive but host them on imageshack then put the url in using the image icon.
"Facts are useless. You could use facts to prove anything that's even remotely true." Homer Jay Simpson

"I do not know what weapons WWIII will be fought with but i know WWIV will be fought with sticks and stones" Albert Einstein

"It's better to have loved and lost than never to have loved at all." from In Memoriam, by Alfred, Lord Tennyson.

"all your base are belonging to us!" awful fantasy 3

"the grapes damb it, it's alway's the grapes!"

Funny anagrams:
Desperation=A rope ends it
Mother in law=Woman hitler
Lottery machine=Money lost in 'em
Election results=Lies lets recount
Dormitory=Dirty room
Snooze alarms=Alas! No more Z's
Eleven plus two=Twelve plus one
Cosmetic surgery="Yes, I correct mugs."
The IRS=Theirs!
Public relations=Crap, built on lies
Astronomer=Moon starer
Dementia="Detain me."
Internet chat rooms=The moron interacts
The eyes!=They see!

Currently making:
http://rmrk.net/index.php/topic,13132.0.html

**
Rep: +0/-0Level 87
EDIT: Oop, nevermind lol. I just realised what i had done wrong.

Great tutorial. Very helpful :).
« Last Edit: March 29, 2007, 05:20:37 AM by Luminost »