Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

VX error

Okay, so I just made a map on a new project, and, when I clicked 'new game', this error came up:
error.PNG


So I checked 'main', and this came up
Code:
 

#==============================================================================

# ** 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

What should I do?
 
On a blank project, this is what main should look like. So obviously you just accidentally hit enter.

Code:
#==============================================================================

# ** 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

 
 

Kipe

Member

Try starting a new project and see if you're getting the same error.

If it works fine, then there's something wrong with one of the scripts in your game.
I recommend copy/pasting a few of the scripts from 'Main' up, and testing every so often to see if your game is working again.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top