Visual Studio Code extension for Text2Frame (RPG Maker MV/MZ) visual novel script language support.
- Tags:
<Face: >,<WindowPosition: >,<Background: >, etc. - Comments:
%(line comment) and<comment>...</comment>(block comment) - Script blocks with JavaScript highlighting
- Message text highlighting
Type < to trigger autocomplete for:
<Face: Actor1(0)>- 顔グラフィック設定<WindowPosition: Top|Middle|Bottom>- ウィンドウ位置設定<Background: Window|Dim|Transparent>- 背景設定<Name: >- 名前設定<ShowChoices: >- 選択肢の表示<PlayBGM: >- BGMの演奏<PlaySE: >- SEの演奏<wait: >- ウェイト- And many more event commands...
Hover over tags to see usage examples and descriptions.
- Detects unclosed angle brackets
- Warns about empty tags
- Real-time error checking
Create a file with .t2f or .text2frame extension:
<comment>
* オープニングシーン
</comment>
今日も一日がんばるぞい!
<Face: Actor1(0)>
今日も一日がんばるぞい!(顔付き)
<WindowPosition: Bottom>
<Background: Dim>
<Name: 涼風青葉>
今日も一日がんばるぞい!
% コメント行
<PlayBGM: Theme1>
<ShowChoices: Window, Right, 1, 2>
<When: はい>
そうですか!
<When: いいえ>
残念です。
<End>
<wait: 60>
<Face: >- Face graphic<WindowPosition: >- Window position (Top/Middle/Bottom)<Background: >- Background (Window/Dim/Transparent)<Name: >- Character name
<ShowChoices: >- Show choices<When: >/<End>- Choice branching<Switch: >,<Set: >,<If: >- Variables and switches<PlayBGM: >,<PlaySE: >- Audio<wait: >- Wait<script>...</script>- JavaScript code- And 100+ more RPG Maker event commands...
- Clone the repository
- Run
npm install - Press
F5to open Extension Development Host
npm run compilenpm run watch.t2f.text2frame
- VS Code 1.85.0 or higher
MIT