- 注册时间
- 2007-9-11
- 最后登录
- 2019-5-19
③业余
- 积分
- 189
|

楼主 |
发表于 2007-9-13 21:49:44
|
显示全部楼层
class Scene_CG
def initialize
@sprite = Sprite.new
@sprite.bitmap = Bitmap.new("Graphics/CG/1.jpg")
@sprite.x =0
@sprite.y = 0
@sprite.bitmap.dispose
Graphics.update
$game_temp.map_bgm = $game_system.playing_bgm
opening_bgm=RPG::AudioFile.new("开场CG.mp3", 100, 100)
$game_system.bgm_play(opening_bgm)
for i in 2..369
@sprite.bitmap = Bitmap.new("Graphics/CG/1 ("+i.to_s+").jpg")
@sprite.x =0
@sprite.y = 0
Graphics.update
for e in 0...4
Graphics.update
end
@sprite.bitmap.dispose
end
end
end
def update
$game_map.update
@spriteset.update
$game_system.map_interpreter.update
$game_screen.update
$game_player.update
@message_window.update
if Input.trigger?(Input::C)
$scene = Scene_Title.new
end
end |
|