Jump to content
Sign in to follow this  
BlazaBoy

Please help! Error

Recommended Posts

Hello! I am trying to test my game after trying (and failing) to change the font. This is the error I get:

 

Script 'Scene_Title' line 41: NoMethodError occured

undefined method title2_name' for nil:NilClass

 

Any assistance will be greatly apreciated

Share this post


Link to post
Share on other sites

What scripts are using?

Share this post


Link to post
Share on other sites

I just used one to change the font:

 

#==============================================================================
# ** Main
#------------------------------------------------------------------------------
# After defining each class, actual processing begins here.
#==============================================================================

begin
Graphics.freeze
$scene
= Scene_Title.new
$scene.main while $scene != nil
Graphics.transition(30)
rescue Errno::ENOENT
filename
= $!.message.sub("No such file or directory - ", "")
print("Unable to find file #{filename}.")
end

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted