MIT License

项目介绍

rakugoteam/VisualNovelKit 是一个托管在 GitHub 上的开源项目,主要使用 CSS 编写,采用 MIT License 许可证,目前获得 198 个 Star、17 次 Fork。

仓库全名
rakugoteam/VisualNovelKit
开源许可证
MIT License
Star 数
198
Fork 数
17
未关闭 Issue
4

README 摘要

⚠️ Project is Stable, but still WIP, as it missing few features! ⚠️ Inspired by the Ren'Py and powered by Rakugo Project. This Godot's project aiming to provide a way to make visual novels games easily. Screenshot from "The Question" example Features UI game template for Visual Novel a'la Ren'Py Main Menu Pause Menu Options History Save & Load (WIP) Those are modified from RGT Main Menu Pause Menu Options History…

完整内容见 GitHub 原始 README 或本页 。

常见问题

VisualNovelKit 用什么语言开发?

主要使用 CSS 编写,采用 MIT License 许可证,目前有 198 个 Star。

VisualNovelKit 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 VisualNovelKit 的源码?

可以直接克隆仓库:git clone https://github.com/rakugoteam/VisualNovelKit.git,默认分支为 2.0;安装与运行步骤见仓库 README。

VisualNovelKit 最近还在维护吗?

仓库最近一次更新为 8月16日,当前有 4 个未关闭 Issue;Star 数为 198,可作为社区活跃度的参考。

关于

Combo of addons + template to create visual novels in Godot inspired by Ren'Py

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

CSS
GDScript
GDShader
Python

Release

README

Logo Visual Novel Kit

MIT License Join the Discord channel

⚠️ Project is Stable, but still WIP, as it missing few features! ⚠️

Inspired by the Ren’Py and powered by Rakugo Project. This Godot’s project aiming to provide a way to make visual novels games easily.

Screenshot from “The Question” example

Screenshot

Features

UI game template for Visual Novel a’la Ren’Py

  • Main Menu
  • Pause Menu
  • Options
  • History
  • Save & Load (WIP)
Those are modified from RGT
  • Main Menu
  • Pause Menu
  • Options
History

History logs Say, Ask, Menu and Notify statements.

You can easy add your own stuff to history like this: VisualNovelKit.add_history_log(["tag", any_data]).

Then in scenes/PauseMenu/history_log_container.gd you add func to handel this tag and data.

Scripting dialogue langue inspired by Ren’Py

  • Rakugo Dialogue Script core
  • Notification support
  • Node translations support
  • Animations support
  • Audio support
  • Thanks to AdvancedText you can use Markdown, Ren’Py Markup or BBCode in dialogues and menus

Installation - What do you need to now - Info

Installation

If you want to create a new project with it

For now just download source code. Unpack it, than import and start to editing it in Godot Engine.

If you have already a project

For now just download source code. Unpack it to your project. If have your own UI that you want to use then you only need addons dir.

What do you need to know

“The Question” Demo

“The Question” is Demo/Example project using VisualNovelKit.

It is port of Ren’Py Demo/Example project “The Question” to VisualNovelKit.

Editing UI

All UI scenes and there code it in scenes dir.

Scripting dialogue langue

Rakugo Dialogue Script core

Notification support

You can display notification in UI:

notify "notification text" # display by 0.5s
notify 1 "long notification text" # display by 1s
Node translations

Add any Node2D, Control and Node3D to show group, then you can in rks script:

hide NodeName
show NodeName

# you don't need to add child nodes to `show` group if parent is
show NodeName ChildA # will show both NodeName and its child
show NodeName ChildB # will hide ChildA and show ChildB
hide NodeName ChildB # will only ChildB

# `at`, `scale`, `rotate` must be used with `show`

# `at` move node to new position 
at x, y, z # Z only if node is 3DNode
# `at` only for 2DNode/Control node
at x%, y% # procent of screen size
at top center # of screen, also: `left`, `right` and `bottom`

scale x, y, z # Z only if node is 3DNode
scale 2 # will scale Node to 2 in all axis

rotate angle # only for 2DNode/Control node
# rotate angle axis - only for 3DNode
rotate 45 forward
Animations support

Add any AnimationPlayer nodes to group anim, then you can in rks script:

play AnimationPlayer animation_name speed
pause AnimationPlayer
stop AnimationPlayer
Audio support

Add any AudioStreamPlayer nodes to audio group, then you can in rks script:

play AudioStreamPlayer speed
seek AudioStreamPlayer from
stop AudioStreamPlayer

Included Addons

Project Settings

  • Rakugo Game Template Project Settings
  • addons/rakugo/game_version - version of your game - displayed at right bottom corner of MainMenu
  • addons/rakugo/narrator_name - name displayed if you type say statement with out character tag
  • addons/rakugo/save_folder - obsolete as it now use SaveHelper from RGT
  • addons/rakugo/debug - obsolete
  • VisualNovelKit class has const and static funcs that easy to access setting below
  • addons/visual_novel_kit/default_markup_setting - path to default marku setting used by DialogueUI
  • addons/visual_novel_kit/at_predefind/center - default pos of screen center used by at in Vector2%
  • addons/visual_novel_kit/at_predefind/left - default pos of screen left used by at in Vector2%
  • addons/visual_novel_kit/at_predefind/right - default pos of screen right used by at in Vector2%
  • addons/visual_novel_kit/at_predefind/top - default pos of screen yop used by at in Vector2%
  • addons/visual_novel_kit/at_predefind/bottom - default pos of screen bottom used by at in Vector2%

Autoloads

Infos

If you want to help please write to us on our Discord

Rakugo Team website: https://rakugoteam.github.io/

评论

暂无评论