woratana
May 11 2008, 02:26 AM
Map CreditVersion 1.0
by Woratana
Release Date: 10/05/2008 *Prom Night~*
IntroductionSame as old XP credit script that I have no idea who is originally scripted that
Anyway, this script has same way to setup the credit, but the different is CREDIT WILL SHOW IN MAP!!
Why the credit in map is better?
Because you can move event, show picture, do other thing else while credit text is scrolling.

And you can also decorate text in credit the way you like with tag, like <b> for bold text, or <i> for italic text.
You can set the background image you want to show when credit is scrolling too~
FeaturesVersion 1.0- You can use background image
- You can decorate text with special tags
- You can setup default decoration for header text (text that include <h>) and normal text
- Credit will run in map, so you can use your eventing skill to make credit scene more interesting.
Screenshots
ScriptPlace it above main
Click to view attachmentInstruction- Setup credit in the script
- Start credit by call script:
CODE
$scene.credit.start
- Stop and Clear credit by call script:
CODE
$scene.credit.terminate
Author's NotesFree for use in your work if credit is included.
Please do not redistribute this script without permission. If you want to post it on any forum, please link to this topic.
Bug Report?Please give me these informations:
QUOTE
- What is it says in error window?
- When is it get error? (Right after run game, when you choose something, etc.)
- What have you changed in setting part?
- Do you have any other scripts running in your game that may crash with this script?
ดองกิมจิ
May 11 2008, 02:43 AM
Great work!
Now everyone have to remember the name of scripters
prinsu kun
May 11 2008, 03:06 AM
Sweeeeeeeeeeet Thanks for the Great Script
I will try it and hope it's work with my other scripts without troubles
randalbr
May 11 2008, 06:46 AM
Cool! We have ways to make a cool demo with profissional credits. Thanks Woratana! \o/
Azuaya
May 11 2008, 02:30 PM
Yay, thank you woratana. *thumbs up* now I have my credit section completely!! well not at the title screen but all's good. haha well done mate.
woratana
May 11 2008, 02:48 PM
I'm not sure if this will work

but you can try this to show credit in other scene~
Copy this part:
CODE
#----------------------------------------
# Plug Credit to Map >_> <_<~
#----------------------------------------
class Scene_Map < Scene_Base
attr_reader :credit
alias wor_mapcre_scemap_str start
alias wor_mapcre_scemap_upd update
alias wor_mapcre_scemap_ter terminate
def start
@credit = Wora_Map_Credit.new # Create Credit
wor_mapcre_scemap_str
end
def update
@credit.update # Update Credit
wor_mapcre_scemap_upd
end
def terminate
@credit.terminate # Dispose Credit
wor_mapcre_scemap_ter
end
end
And at line:
CODE
class Scene_Map < Scene_Base
change
Scene_Map to other scene, e.g.
Scene_Title
perroinu
May 11 2008, 05:16 PM
I get this error...
unable to find file Section004:80:in ‘initialize’Graphics/Pictures/credit_bg.
Uh...what?
woratana
May 11 2008, 06:16 PM
Setup the script first

CODE
BG_Image = 'credit_bg' # Background Image file name, image must be in folder 'Picture'
# leave '' for no background
randalbr
May 11 2008, 06:44 PM
Does have a way of changing the images in the background, but keeping the credits rolling normally?
woratana
May 11 2008, 07:53 PM
Just use event command 'Show Picture' instead.
Suraksin Varja
May 11 2008, 11:04 PM
Is there a way to force it to return to the title screen after its done? or after you press a button?
Azuaya
May 11 2008, 11:41 PM
no worries, I will just probably add the credits at the end of the game so ye .... but I just hope people are bothered to read it >.<
Edit: I have created a separate window of displaying two commands, Start Credit and Back To Title ^^ yay finally a separate page for showing credits =]
woratana
May 11 2008, 11:43 PM
@Azuaya
Alright
@Suraksin Varja
Just use event command
Azuaya
May 12 2008, 01:17 AM
I have created a separate window of displaying two commands, Start Credit and Back To Title ^^ yay finally a separate page for showing credits =]
well credits to you for this script man, finally I can show people of who I've credit to ^^
Oh you may have notice but whenever someone press the start credit twice during half way been shown, the first one will freeze there instead of clearing it out you know? which is a problem for title ... oh well still good since I maybe have to add another command to clear it.
Suraksin Varja
May 12 2008, 01:19 AM
Yeah but I'm runin the script off a Tittle Command, so when you hit credits at the tittle it loads this script. not too sure how to make it return to the tittle screen once its finished.. it just plays over and over lol
there's got to be a script line I could add that would end the credits and return me to the tittle, I'm just not too familiar with scripting to figure it out lol.
EDIT: hehe didnt see the above post- what did you do to create the new window? and yeah im havin the same prob with the creds locking up and replayn over itself.
Azuaya
May 12 2008, 01:41 AM
QUOTE (Suraksin Varja @ May 12 2008, 06:33 PM)

Yeah but I'm runin the script off a Tittle Command, so when you hit credits at the tittle it loads this script. not too sure how to make it return to the tittle screen once its finished.. it just plays over and over lol
there's got to be a script line I could add that would end the credits and return me to the tittle, I'm just not too familiar with scripting to figure it out lol.
EDIT: hehe didnt see the above post- what did you do to create the new window? and yeah im havin the same prob with the creds locking up and replayn over itself.
First things first, I'm going to test out after when credit is finished like put a number of waiting frames, then it'll return back to title but I need to know what's the syntax for Wait frames? Does anyone know?
Edit: Don't worry I've tried the wait frames as well and it appears it'll just be the same T.T
Second, Ermmm I'll post mine up here but you'll need to use Woratana's Custom Title Screen Menu.
1. After you use that, go to your database, change the new game, continue or end to whatever you want since it won't show up on title no more.
2. Go to script editor, go to Vocab (at the top), go all the way to the bottom.
3. Add this,
CODE
# Start Credits
def self.start_credits
return $data_system.terms.new_game *Note* Look at step one and you'll know what I mean for that new_game
end
# End Credits
def self.end_credits
return $data_system.terms.to_title
end
4. Then now for the big bits.... even though I did used the scene_title script lol for the command windows.
CODE
#==============================================================================
# ** Scene_Credits
#------------------------------------------------------------------------------
# This section shows options of start credit and back to title.
#==============================================================================
class Scene_Credits < Scene_Base
#--------------------------------------------------------------------------
# * Start processing
#--------------------------------------------------------------------------
def start
create_title_graphic # Create title graphic
create_command_window # Create command window
play_title_music # Play title screen music
end
#--------------------------------------------------------------------------
# * Post-Start Processing
#--------------------------------------------------------------------------
def post_start
super
open_command_window
end
#--------------------------------------------------------------------------
# * Pre-termination Processing
#--------------------------------------------------------------------------
def pre_terminate
super
close_command_window
end
#--------------------------------------------------------------------------
# * Termination Processing
#--------------------------------------------------------------------------
def terminate
super
dispose_command_window
snapshot_for_background
dispose_title_graphic
end
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
super
@command_window.update
if Input.trigger?(Input::C)
case @command_window.index
when 0 #Start Credit
command_start_credits
when 1 #Back to Title
command_end_credits
end
end
end
#--------------------------------------------------------------------------
# * Create Title Graphic
#--------------------------------------------------------------------------
def create_title_graphic
@sprite = Sprite.new
@sprite.bitmap = Cache.system("Title")
end
#--------------------------------------------------------------------------
# * Dispose of Title Graphic
#--------------------------------------------------------------------------
def dispose_title_graphic
@sprite.bitmap.dispose
@sprite.dispose
end
#--------------------------------------------------------------------------
# * Create Command Window
#--------------------------------------------------------------------------
def create_command_window
s1 = Vocab::start_credits
s2 = Vocab::end_credits
@command_window = Window_Command.new(172, [s1, s2])
@command_window.x = (915 - @command_window.width) / 2
@command_window.y = 280
@command_window.opacity = 25
@command_window.openness = 0
@command_window.open
end
#--------------------------------------------------------------------------
# * Dispose of Command Window
#--------------------------------------------------------------------------
def dispose_command_window
@command_window.dispose
end
#--------------------------------------------------------------------------
# * Open Command Window
#--------------------------------------------------------------------------
def open_command_window
@command_window.open
begin
@command_window.update
Graphics.update
end until @command_window.openness == 255
end
#--------------------------------------------------------------------------
# * Close Command Window
#--------------------------------------------------------------------------
def close_command_window
@command_window.close
begin
@command_window.update
Graphics.update
end until @command_window.openness == 0
end
#--------------------------------------------------------------------------
# * Play Title Screen Music
#--------------------------------------------------------------------------
def play_title_music
$data_system.title_bgm.play
RPG::BGS.stop
RPG::ME.stop
end
#-----------------------------------------
# * Start Credit Showing
#-----------------------------------------
def command_start_credits
$scene.credit.start
end
#--------------------------------------------------------------------------
# * Command: To Title
#--------------------------------------------------------------------------
def command_end_credits
$scene = Scene_Title.new
close_command_window
end
end
5. Finally go to Woratana's Custom Title Screen Menu script and add COMMAND[n] = ['Credits', '$scene = Scene_Credits.new'] *n = number*
There you go, then it should work OO else ... PM me
Suraksin Varja
May 12 2008, 01:56 AM
This is what I'm getn
Script 'Scene_Credits" Line 72: NoMethodError occurred
undefined method 'start_credits' for Vocab:Module
Works decently using $scene.credit.start in the command on the title screen, but it wont stop scrolling or return to title lol
Azuaya
May 12 2008, 02:04 AM
QUOTE (Suraksin Varja @ May 12 2008, 07:10 PM)

This is what I'm getn
Script 'Scene_Credits" Line 72: NoMethodError occurred
undefined method 'start_credits' for Vocab:Module
We're seem to have gone off-topic OO well sorry I apologize... we'll take it to the PM if more problems keep occurring.
Go to script editor, go to Vocab (at the top) select that script, now you see all those scripts? go all the way down from Vocab scripts.
Then add these
# Start Credits
def self.start_credits
return $data_system.terms.new_game
end
# End Credits
def self.end_credits
return $data_system.terms.to_title
end
and it'll work after that.
oblivionator
May 12 2008, 10:22 AM
yet another great script from woratana! great job and I got to say, i'm a fan of your scripts!
Ziosin
May 12 2008, 11:26 PM
Woohoo! Now I don't have to go through alot of trouble making the credits! Woratana, you're the greatest!
zombie_loser_kang
May 16 2008, 02:44 PM

That comes up when I try to use the script, and, sorry for being noob I'm really new at this, but what does place above main mean?
Please help.
Azuaya
May 16 2008, 02:51 PM
@zombie: You got to copy and place the script at script editor however paste it in the material section just above MAIN.
Now for that error, simply look for this line:
CODE
BG_Image = 'credit_bg' # Background Image file name, image must be in folder 'Picture'
Then take out the
credit_bg if you don't have any background image.
zombie_loser_kang
May 16 2008, 03:10 PM
Ah, thanks. I got it working.
woratana
May 16 2008, 10:58 PM
@Azuaya
Thanks for your help!
Azuaya
May 16 2008, 11:47 PM
@woratana
No problem, since you helped me out so i help out too lol ^^ *thumbs up*
~Azuaya
Ilikepie123
May 18 2008, 11:28 AM
I didnt comment? O.O
I would have said.. No I am saying now (lol)
This is a really easy-to-use and handy script. I wouldn't be surprised if it was used in over 100 Projects.
In fact Im going to eventually use it, and you're going in my first section when I make the credits.
"Special thanks,
Woratana
(name)
(name)
RPGrevolution
(name)
(name)
(name)
Woratana"
Lol twice because they should know I mentioned you
Anyway, pwnsome script. Im still looking forward to more amazing scripts from you

-JD
Ryukodomo
Aug 7 2008, 02:33 PM
Syeira
Aug 13 2008, 12:09 AM
umm, sorry if this is a stupid question. also new to rpgmaker, here. ^^'
I used an event with the call script, but the credits don't show up.
When I make the event action-button triggered, credits show up - but when it is autorun they don't.
>_<
I even tried every other trigger but it only seems to work with the action button one.
cheahjc
Aug 13 2008, 09:23 AM
QUOTE (Azuaya @ May 16 2008, 05:13 PM)

@zombie: You got to copy and place the script at script editor however paste it in the material section just above MAIN.
Now for that error, simply look for this line:
CODE
BG_Image = 'credit_bg' # Background Image file name, image must be in folder 'Picture'
Then take out the
credit_bg if you don't have any background image.
I had the same problem but I fixed it, but now I have another error when I was testing it.
Script: Cache' line 75:TypeError occured
cannot convert Fixnuminto String
I knoe its not Wora's script but the minute I fixed it this started to happen. Sooo did I do anything wrong?
brawler12
Aug 17 2008, 02:28 PM
I have this error:

I don't know what to do know...
NekuraManji
Aug 24 2008, 12:43 PM
Hey, very nice script, but I'm having the following problem trying to get it to work:
When I get onto the map where there's an Autorun event telling the credits to run, it brings up this error message:
QUOTE
Script 'VX Credits System' line 256: NoMethodError occurred.
undefined method `font' for #<Sprite:0x1c5ec40>
The only things I'd altered in the script were the actual credits to read what I want them to read and the font names in the config section.
I'm using a variety of other scripts, but probably most importantly, Woratana's Neo Message System Version 3.0 Beta.
Thanks for any help you can give!
apower
Aug 28 2008, 02:04 PM
Thanks, i have been looking for something like this, btw how you make the credits background transparent `?
woratana
Aug 29 2008, 10:45 AM
@Ryukodomo
Try using number with decimal place for speed, like 0.5 or 0.2
@Syeira
You have to erase that event after you call script, or it will keep call script to start map credit again and again.
@cheahjc
Check if you fix it right, you have to change it to this...
CODE
BG_Image = ''
@brawler
Check if you call script correctly.
CODE
$scene.credit.start
Since I didn't do anything with Game_Interpreter.
@Nekuramanji
Try this:
Change this...
CODE
# Bold Text
if i.include?('<b>')
i.sub!('<b>', ''); @sprite.font.bold = true
elsif i.include?('</b>')
i.sub!('</b>', ''); @sprite.font.bold = false
end
# Italic Text
if i.include?('<i>')
i.sub!('<i>', ''); @sprite.font.italic = true
elsif i.include?('</i>')
i.sub!('</i>', ''); @sprite.font.italic = false
end
to...
CODE
# Bold Text
if i.include?('<b>')
i.sub!('<b>', ''); @sprite.bitmap.font.bold = true
elsif i.include?('</b>')
i.sub!('</b>', ''); @sprite.bitmap.font.bold = false
end
# Italic Text
if i.include?('<i>')
i.sub!('<i>', ''); @sprite.bitmap.font.italic = true
elsif i.include?('</i>')
i.sub!('</i>', ''); @sprite.bitmap.font.italic = false
end
Let me know it works or not.
@apower
Take a look in setup part.
Marc_Firewing
Sep 15 2008, 09:59 PM
Don't think this is breaking the rules or anything but...
Woratana, I have a question; Can I use this in combination with your other script for credits on the Title? Or would I have to get rid of that in order to use it?
woratana
Sep 16 2008, 06:44 AM
Can you show me the script to show credit in the title?
So I can take a look if it's gonna crash, and find way to fix it. ^^
Marc_Firewing
Sep 16 2008, 11:36 AM
Click to view attachmentClick to view attachmentI've been away for the past month so I dunno if I'm out of date or not but this is what I have since I put it in my game.
Silverelick
Jan 2 2009, 02:56 PM
I Edited the Credits the I wanted and the picture showed up but the credits aren't playing! Why is that?
Silverelick
Jan 2 2009, 03:15 PM

Um I Got This What am I suppost to do?
Script 'Credits' line 217: NoMethodError occurred.
undefined method 'font' fro #<Sprite:0x1842fb0
Mickadell
Jan 17 2009, 10:02 PM
Problem
When I get rid of Credit_bg I play the game and this comes up
????? 'Credits'? 155 ??? NameError ????????
undefined local variable or method 'bg' for #<Wora_Map_Credit:0x1770a70
Please help
Azuaya
Jan 18 2009, 03:46 AM
May you please post the line of the script in here (line 155 I think is the one you stated). Also you should leave the BG_Image as BG_Image = '' if you don't want to use a background image.
NekuraManji
Jan 18 2009, 08:22 AM
I've had another problem with this script; when it gets to the Credits screen and I press action button to activate the script call for the credits, it gives me this message:
QUOTE
Script 'VX Credits System' line 420: RGSSError occurred.
failed to create bitmap.
I can't fathom what's wrong with it since that line has exactly the same code as was in the original script, and I haven't changed anything since I had it working except the font of the contents text (the new font is in the VX fonts folder) and the size of it (28 as opposed to 24).
Hope that's enough info, and thanks for any help you can give!
woratana
Jan 18 2009, 07:11 PM
I think the credit bitmap is too small, so it doesn't work.
(Or maybe credit bitmap is too large? I've never face this problem before though)
NekuraManji
Jan 19 2009, 05:01 AM
That's the thing, I'm not using a bitmap image or anything- the part where it asks for one still says '', for no image. My credits are just text scrolling upwards on a black screen.
I'll try making them a bit shorter just in case there's a limit to how many lines the credits can be, and let you know if that works.
woratana
Jan 19 2009, 05:12 AM
Well
I think you did something wrong with setup part, maybe.
Post your setup part of the script here. ^^
sairamw
Feb 18 2009, 11:28 AM
Nice! that its more awasome at ohters
sorry por mi ingles xD
Mr.dingo
Feb 20 2009, 12:57 PM
I got the same problem perroinu did on the first page.
Heartofshadow
Feb 20 2009, 09:35 PM
QUOTE (Mr.dingo @ Feb 20 2009, 03:57 PM)

I got the same problem perroinu did on the first page.
That means you didn't setup the script properly. By default it looks for and displays a background image while running the credits. If you don't want a background image behind the text, replace line 52 with:
CODE
BG_Image = ''
Those are apostrophes, by the way. Not a quotation mark.
If you do want a background image displayed, you must change line 52 to what your picture file's name is, minus the extension. That file must also be in your project's "Picture" folder.
-Heart of Shadow-
Mr.dingo
Feb 21 2009, 12:24 PM
Okay thanks
Guyver's Bane
Mar 26 2009, 10:34 AM
Great script Woratana
Is there a way to get music played with the credits?
munkis
Mar 27 2009, 09:39 AM
I'm slightly confused by this:
QUOTE
- Start credit by call script:
CODE
$scene.credit.start
- Stop and Clear credit by call script:
CODE
$scene.credit.terminate
Do these go in the credits script, Game_Interpreter system script, or...?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.