# Make command window
s1 = "New Game"
s2 = "Continue"
s3 = "Shutdown"
# Make command window
s1 = "New Game"
s2 = "Continue"
s3 = "Credits"
s4 = "Exit"
# Branch by command window cursor position
case @command_window.index
when 0 # New game
command_new_game
when 1 # Continue
command_continue
when 2 # Shutdown
command_shutdown
end
# Branch by command window cursor position
case @command_window.index
when 0 # New game
command_new_game
when 1 # Continue
command_continue
when 2 # Open Credits
$scene = $scene_credits.new # change to the name of your credits scene name
when 3 # Shutdown, noticed it changed to 3, since i put shutdown to s4 in the begining
command_shutdown
end
yes this worked! il add both of you guys in the credits thanksGando":3l0xidn1 said:The line should be:
Code:$scene = scene_credits.new
not:
Code:$scene = $scene_credits.new
I think that this was the thing that was giving you the error.
Good luck! :thumb:
Over and out - Gando