class Window_kg_status < Window_Base def initialize(actor_id, window_index) super(560 - window_index * 76 , 540, 117, 150) @actor_id = actor_id self.contents = Bitmap.new(width - 1, height- 1 ) refresh end def dispose super end def refresh self.contents.clear #draw_actor_name($game_actors[@actor_id], 0, 0) draw_actor_picture($game_actors[@actor_id].battler_name, $game_actors[@actor_id].battler_hue, -1 ,-1) draw_actor_hp($game_actors[@actor_id], 50, 25) draw_actor_sp($game_actors[@actor_id], 50, 50) draw_actor_cp($game_actors[@actor_id], 50, 80) end end
蓝底窗口.png (220.28 KB, 下载次数: 14)
完成.png (220.89 KB, 下载次数: 12)
契约师Vi 发表于 2023-3-9 09:29
self.back_opacity
class Window_kg_status < Window_Base def initialize(actor_id, window_index) super(560 - window_index * 76 , 540, 117, 150) @actor_id = actor_id self.contents = Bitmap.new(width - 1, height- 1 ) self.opacity = 0 refresh end def dispose super end
边框没去掉.png (194.31 KB, 下载次数: 13)
GAODING.png (201.34 KB, 下载次数: 9)
soulsaga 发表于 2023-3-9 10:43
self.contents = Bitmap.new(width - 1, height- 1 )
不要-1?
那大概就是边框..
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |