リファレンス URL:view_current

「実数 (Real) 」として値取得。

read only variable

only valid in the Draw Event 

and returns the current view being rendered.

スクリプト・サンプル
if view_current = 0 { draw_text(view_xview[0] + 32, view_yview[0] + 32, "Player 1"); } else { draw_text(view_xview[1] + 32, view_yview[1] + 32, "Player 2"); };
Variables (Global) /view_current

Leave a Reply

Your email address will not be published. Required fields are marked *