1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ゲームエンジン Ren'py(ノベラ作成)を始める。EP04 トランジション

Posted at

実行環境

Ubuntu 24.04.2 LTS
Python 3.12.3

トランジション

「トランジション」とは、Ren'Pyにおいて、表示される画面に視覚的な効果を適用することで、場面の変更やキャラクターの出入りといった表示の変化を滑らかにする機能です。大きくは3つのパターンがある。スクリプトが違ってくる。

  1. その場で変化する。
  2. 2つ画面で変化する。
  3. 最初の画面から消えていく。

テスト環境

https://ja.renpy.org/latest.html
上記のページからダンロードして、renpy.shを実行する。
メインメニューから”Test”の名前で”新しいプロジェクト”を作る。

トランジションデータをダウンロードする。それを"Test"ディレクトリの"game"に上書きする。
https://drive.google.com/drive/folders/1nW8RX9wO0G5jZcq6YILQIVKAwpfdEScl?usp=drive_link

ダウンロードの内容
game
├── Transitions01.test
├── Transitions02.test
├── Transitions03.test
└── images

テストをする時 それぞれのTransitions**.testをscript.rprにコピーする。

screen01.jpg

その場で変化する。 Transitions01.test

screen1.png

Transitions01.testは、その場で変化する。
どのような変化をするのか、その下に書いている。

2つ画面で変化する。

screen05.jpg

Transitions02.testには2つの位置を必要とする。

最初の画面から消えていく。

screen06.jpg

Transitions03.testはhideの命令を必要する。

参考リンク

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?