# 處理角色名字顯示 actor = $game_actors[ACTORS[i]] @actors_help[i] = RPG::Sprite.new @actors_help[i].bitmap = Bitmap.new(640,480) @actors_help[i].x = i * 160 for c in 0...180 @actors_help[i].bitmap.fill_rect(i, c*1,160 ,3 ,Color.new(0,0,0,255-c*1.5)) @actors_help[i].bitmap.fill_rect(i, 300+c*1,160 ,3 ,Color.new(0,0,0,c*2)) end @actors_help[i].z = 999 @actors_help[i].bitmap.draw_text(0, 10,120, 32, actor.name, 2)
192.75 KB, 下载次数: 75
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |