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.

Help with the New Mode 7 and Skip Title screen script.

Hello I know this sounds a little noobish but I can't get the new Mode 7 script to work.
I always get this message when I start my Project:

Script 'Mode 7' line 1: NameErrpr occurred.
underfined local variable or method code for nil:NilClass.

If anyone could help me that would be great!

Also with the Skip Title Screen Scipt how do you get the New Game, Load and Exit menu to show?
 
Well, for the skip title screen snippet, you'd have to event a 'show choice' dialog in the map you use.

I'm not sure about the Mode7 error, since I don't really use it, but maybe it's something to do with a required script?
 
thanks but I know about the "Show Choice" the only problem with that is you cant call for a loading screen or exit the game like the normal title screen because in events there is no "call loading screen option" or "Shutdown the game option".
 
Sorry for the late reply I was playing Super Mario Galaxies I just got it today "Great Game!" by the way.

No Scene.load.new does not work but thanks anyway.
The Skip Title does not bother me if I can't get it to work but it would be nice, I'm more angry about the new Mode 7 not working the old version does!
 
If you're skipping your title screen, you probably want to make an evented title screen or similar; I'll leave that up to you. To call the loading screen you use $scene = Scene_Load.new, and to exit game you use $scene = nil.

I'll look into Mode7 in a bit, but chances are it's not working because the script is posted in plain text, without code tags. So any
Code:
[i]
in there will just make text italic when it's really a part of the script, and so on.
 
Thank you Hevendor you got the Skip Title to work.

One more question how do I move the text box to the middle of the page? So it looks like the first title screen but with a Map as the background.
 
This is what I did with the New Mode 7 maybe it will help you help me.

First thing I did was copy the whole script, then I started my Game and I got this message:

Script 'Mode 7' line 1: NameErrpr occurred.
underfined local variable or method code for nil:NilClass.

So I went to the script and notest there was this text on the top of the script code I don't know what that is because I don't know how to make scripts but even so I've never seen that before so I deleted it thinking I must have copied and pasted the script wrong.
So I started my game with code deleted and I did not get the message:

Script 'Mode 7' line 1: NameErrpr occurred.
underfined local variable or method code for nil:NilClass.

So then I chose New Game and went to my first Map it was not In mode 7!
This is my maps name: MAP001[M7][#50] 
 
Oh I just found out what code ment!
God I'm a noob, Hevendor told me before but I did not understand!

Ok I'm going to go do tests to see if I can get the New Mode 7 to work :smile: if I do get it to work I'll tell you people that are reading this even though you are probably not interested. :down:
 

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