그냥 새로운 프로젝트를 하나 작성하고 거기서 main 파트를 복사해 오기 바랍니다. 아니면:
#==============================================================================
# ** Main
#------------------------------------------------------------------------------
# After defining each class, actual processing begins here.
#==============================================================================
begin
# Prepare for transition
Graphics.freeze
# Make scene object (title screen)
$scene = Scene_Title.new
# Call main method as long as $scene is effective
while $scene != nil
$scene.main
end
# Fade out
Graphics.transition(20)
rescue Errno::ENOENT
# Supplement Errno::ENOENT exception
# If unable to open file, display message and end
filename = $!.message.sub("No such file or directory - ", "")
print("Unable to find file #{filename}.")
rescue Reset
end
Ruby로 짠 프로그램을 실행하는 것은 이 main 부분이므로 이 부분이 삭제되지 않도록 주의하기 바랍니다.
그냥 새로운 프로젝트를 하나 작성하고 거기서 main 파트를 복사해 오기 바랍니다. 아니면:
Ruby로 짠 프로그램을 실행하는 것은 이 main 부분이므로 이 부분이 삭제되지 않도록 주의하기 바랍니다.