游魂野鬼……角色与npc视线(用脚本的)
使用方法:放在game_player后面调用方法:在设置移动路线的脚本那项里面写上def后面的标签名
欢迎复制、改造class Game_Characterdef py_eyesif @x > $game_player.x new_x = @x - $game_player.xelse new_x = $game_player.x - @xendif @y > $game_player.y new_y = @x - $game_player.yelse new_y = $game_player.y - @y endif (new_y + new_x) >= 10 @opacity = 35 endif (new_y + new_x)
页:
[1]