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.

[Resolved] game not starting anymore (name error)

Status
Not open for further replies.

McP

Member

Recently i put in and took out some scripts into my project..al working fine, but out of nowhere (ok, probably not) a message comes up when I press new game or load, saying:
Script 'Scene_Title' line 120:NameError occured.
uninitialized constant Scene_Title::Game_Switches

what does that mean?
Shouldn't Scene Title initialize those game switches?
 

___

Sponsor

I would suggest starting a new project and copy+pasting the fresh scripts over, then re-doing your modifications one by one until you find the one causing the problem.
 

McP

Member

Oh, ok, but I would have liked to know what caused this error so I didn't report it as resolved..
I changed absoulutely nothing and it works in another project..
 
Status
Not open for further replies.

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