赞 | 2 |
VIP | 109 |
好人卡 | 208 |
积分 | 4 |
经验 | 22037 |
最后登录 | 2024-11-11 |
在线时间 | 1198 小时 |
Lv2.观梦者 虚構歪曲
- 梦石
- 0
- 星屑
- 364
- 在线时间
- 1198 小时
- 注册时间
- 2010-12-18
- 帖子
- 3928
|
- class Scene_Map
- def transfer_player
- $game_temp.player_transferring = false
- if $game_map.map_id != $game_temp.player_new_map_id
- Graphics.transition
- data_mapinfos = load_data("Data/MapInfos.rxdata")
- #p data_mapinfos[$game_temp.player_new_map_id].name
- # get sprites
- devil = Sprite.new
- devil.bitmap = Bitmap.new("Graphics/pictures/loading")
- devil.ox = devil.bitmap.width / 2
- devil.oy = devil.bitmap.height / 2
- devil.x = 320
- devil.y = 250
- devil.z = 999999
- devil.opacity = 0
- sprite = Sprite.new
- sprite.z = 1000000
- sprite.bitmap = Bitmap.new(640,480)
- name = data_mapinfos[$game_temp.player_new_map_id].name
- sprite.bitmap.font.size = 13
- sprite.bitmap.draw_text(0,0,640,610,"前往"+name,1)
- sprite.opacity = 0
- for i in 1..10
- sprite.opacity += 25
- devil.opacity += 25
- @rabbit.opacity +=25
- Graphics.update
- end
- for i in 1..20
- Graphics.update
- end
- for i in 1..10
- sprite.opacity -= 25
- devil.opacity -= 25
- @rabbit.opacity -=25
- Graphics.update
- end
- sprite.dispose
- devil.dispose
- Graphics.freeze
- $game_map.setup($game_temp.player_new_map_id)
- end
- $game_player.moveto($game_temp.player_new_x, $game_temp.player_new_y)
- case $game_temp.player_new_direction
- when 2 # 下
- $game_player.turn_down
- when 4 # 左
- $game_player.turn_left
- when 6 # 右
- $game_player.turn_right
- when 8 # 上
- $game_player.turn_up
- end
- $game_player.straighten
- $game_map.update
- @spriteset.dispose
- @spriteset = Spriteset_Map.new
- if $game_temp.transition_processing
- $game_temp.transition_processing = false
- Graphics.transition(20)
- end
- $game_map.autoplay
- Graphics.frame_reset
- Input.update
- end
- end
复制代码 以前求来的东西……可以修改下显示的内容 |
|