github carenalgas/popochiu v1.7.0
v1.7.0 - Popsy

latest releases: v2.1.1, v2.1.0, v2.0.3...
3 years ago

What's new

Core

  • ⭐ Popochiu can save/load games using up to 4 slots. Two buttons were added to the game's toolbar for players to use this.
  • The data is saved in JSON format to make it work in Web builds.
  • Now PopochiuRoom, PopochiuCharacter, PopochiuInventoryItem and PopochiuDialog have a dedicated script for handling their state. This script is automatically created by the plugin, and it is the script of the .tres that was already part of the creation process for each type.
  • By default Popochiu will store all the properties in each state script that are basic types: bool, int, float, String, and any Array of those types.
  • Each state script has an on_save() and on_load() so devs can define custom data to store.
  • PopochiuGlobals.gd is now created when the plugin is installed (and autoloaded as Globals). Its properties are also saved/loaded, and devs can also add on_save() and on_load() methods to it.
  • Inventory items can be discarded, and when an item is discarded, the inventory hides automatically (unless it is marked as "Always visible" in PopochiuSettings.tres).
  • Added I.clean_inventory().
  • ⭐ Dialogue lines can now have an automatic-jump-to-next-instruction:
    Player[]: I'll dissapear once finished
    Player[3]: I'll dissapear 3 secs after finished
    
  • PopochiuDialogOption can now be disabled: won't appear as an option even if turn_on() is called.
  • PopochiuDialogOption can now be marked as always_on: Will make the option look as if it had never been used.

Plugin

  • Created first version of Popochiu's theme.
  • Added buttons to Room tab to ease devs to open the room' script, the room's state resource and state script.
  • Added a context option for Props to allow developers to create a Script for Props that were originally created with no interaction.
  • Clickable shows helpers when selecting any of their child nodes.

Improvements

  • PopochiuCharacter looking direction is now an Enum.
  • DialogText now connects to C.character_spoke.
  • Added functions to turn_on and turn_off options in PopochiuDialog.
  • Added on_start virtual function to PopochiuDialog so devs can put their pre-start code without overwriting the start() function.

Fixes

  • Prop updates her childs' position and her walk_to_point based on her baseline.
  • PopochiuSettings.tres items_on_start was not working.
  • PopochiuCharacter Sprite child won't cause bugs anymore.

Don't miss a new popochiu release

NewReleases is sending notifications on new releases.