Zitat
begin
$key_simulieren = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
$key_simulieren.call(18,0,0,0)
$key_simulieren.call(13,0,0,0)
$key_simulieren.call(13,0,2,0)
$key_simulieren.call(18,0,2,0)
# Change the $fontface variable to change the font style
$fontface = "Arial"
# Change the $fontsize variable to change the font size
$fontsize = 24
# トランジション準備
Graphics.freeze
# シーンオブジェクト (タイトル画面) を作成
$scene = Scene_Title.new
# $scene が有効な限り main メソッドを呼び出す
while $scene != nil
$scene.main
end
# フェードアウト
Graphics.transition(20)
rescue Errno::ENOENT
# 例外 Errno::ENOENT を補足
# ファイルがオープンできなかった場合、メッセージを表示して終了する
filename = $!.message.sub("No such file or directory - ", "")
print("File #{filename} not found.")
end
...