PopochiuSettings

Extends: Resource

Description

Property Descriptions

skip_cutscene_time

var skip_cutscene_time: float = 0

The time, in seconds, that will take the game to skip a cutscene.

show_tl_in_first_room

var show_tl_in_first_room: bool = false

A flag telling if the transition layer should be shown when the game starts.

text_speeds

var text_speeds: Array

@deprecated The text speed options that will be available in the game. In the ContextSensitive GUI you can loop between them using the text speed button in the SettingsBar.

default_text_speed

var default_text_speed: int = 0

@deprecated The index of the default text speed value in [member text_speeds].

text_speed

var text_speed: float = 0

The speed at which characters are displayed when a character speaks and the text is being animated

auto_continue_text

var auto_continue_text: bool = false

If [code]true[/code], then dialog lines should auto continue once the animation that shows them finishes. Otherwise, players will have to click the screen in order to continue.

use_translations

var use_translations: bool = false

When [code]true[/code] the game will call [method Object.tr] when getting the texts to show in the game.

items_on_start

var items_on_start: Array

An array with the [code]script_name[/code] of the inventory items that will be added to the inventory when the game starts. You can use the context menu in front of each inventory item in Popochiu's Main tab to add or remove items from start with the [img]res://addons/popochiu/icons/inventory_item_start.png[/img] [b]Start with it[/b] option.

inventory_limit

var inventory_limit: int = 0

The max number of items players will be able to put in the inventory.

inventory_always_visible

var inventory_always_visible: bool = false

@deprecated [b]NOTE[/b] This option is now a property in the InventoryBar component. Whether the inventory will be always visible, or players will have to do something to make it appear. [b]This is specific to the ContextSensitive GUI[/b].

toolbar_always_visible

var toolbar_always_visible: bool = false

@deprecated [b]NOTE[/b] This option is now a property in the SettingsBar component. Whether the toolbar (SettingsBar) will be always visible, or players will have to do something to make it appear. [b]This is specific to the ContextSensitive GUI[/b].

fade_color

var fade_color: Color

The color the screen changes to it plays a transition (e.g. move between rooms, skip a cutscene).

scale_gui

var scale_gui: bool = false

Whether the GUI should scale to match the native game resolution. The default GUI has a 356x200 resolution.

max_dialog_options

var max_dialog_options: int = 0

@deprecated The number of dialog options to show before showing a scroll bar to render those that exceed this limit.

is_pixel_art_game

var is_pixel_art_game: bool = false

If [code]true[/code], the [member CanvasItem.texture_filter] of [PopochiuClickable] and [PopochiuInventoryItem] will be set to [enum CanvasItem.TextureFilter].TEXTURE_FILTER_NEAREST when those objects are created.

is_pixel_perfect

var is_pixel_perfect: bool = false

Whether the cursor should move in whole pixels or not.

dialog_style

var dialog_style: int = 0

The style to use in dialog lines:[br][br] - [b]Above Character[/b]. Makes the text appear in top of each character. You can define the position of if using the [b]DialogPos[/b] node in the character's scene.[br] - [b]Portrait[/b]. Texts will appear in a panel located in the center of the game window accompanied by the avatar of the character who is speaking. You can define an avatar for each emotion with the [member PopochiuCharacter.avatars] property.[br] - [b]Caption[/b]. The texts will appear at the bottom of the game window (as if they were subtitles).

dev_use_addon_template

var dev_use_addon_template: bool = false

Setting intended for development of the plugin. It makes the game to use the original files of the selected template to make testing changes on it easier. This is a workaround while we find how to make the scenes moved to [code]res://game/gui[/code] inherit from the source ones.