x,y = Mouse.get_mouse_pos #取得鼠标的xy坐标 if x>=104 and x<=256 and y>=302 and y<=444 #选项范围 if @command_index != (y-302-1)/42 $game_system.se_play($data_system.cursor_se) end @command_index = (y-302-1)/42 #根据y坐标求出选项 end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |