Construct2で2Dゲームを作る(47)

またもや引き続きメッセージウィンドウの表示。

  • Add action → replay → Set frame → 1 → Done
  • Add action → System → Wait → Seconds: 0.2 → Done
  • 上記の2つのアクションを直下にコピペ(Ctrl+ドラッグ)
  • “Set animation frame to 0” に修正
  • Add action → System → Restart layout

ライフが0になったらメッセージウィンドウが表示され、リセットボタンが押されたら最初の場面にリセットされるようになりました。

Leave a Reply

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