Popochiu 1.9.0 (Goddiu)


Popochiu v1.9.0 - Goddiu

This update adds a major feature that will allow easier access to rooms, characters, inventory items, and dialogs from code. It also includes an updated navigation system, improvements to save/load the game, a scroll bar for the dialog options menu, and an option to specify the player-controlled character (or PC) in the contextual menu of each character row in the main tab.

👉👉👉 Check the wiki for more details! 👈👈👈

You can watch this video if you don’t want to read this:

Fixes

  • The inventory was not cleared when loading a saved game. This would cause inventory items to be duplicated with the items loaded from a saved game session, or to remain in the inventory without regard to the items that had actually been saved.
  • The deprecation warning seen since Godot 3.5 about the Navigation 2D node and Navigation2D.get_simple_path() has disappeared. Now the plugin uses the Navigation2DServer to make characters move through rooms. (This update is thanks to the work we are doing for Popochiu 2).
  • WalkToHelper and BaselineHelper nodes in PopochiuClickable objects are no longer orphaned. When the game runs, these nodes are properly DESTROYED.
  • An internal error caused the plugin to try to disable non-existing options in the row context menus in Popochiu’s dock.
  • Using D.show_inline_dialog() inside a dialog no longer causes the options of the dialog to be displayed after selecting an option of the inline dialog.
  • Using D.show_inline_dialog() no longer makes the inventory unavailable.

New features

  • Saving/loading the game now takes into account Props, Hotspots, Walkable areas and Regions. This also allows the state of each room to be preserved during gameplay (i.e. changes made to these objects will be saved when players move between rooms). In addition, the status of characters and inventory items is now also saved.

  • PopochiuSettings now has a property (max_dialog_options) to set the number of options to show in branching dialog menus before adding a scroll bar to show more options if they exceed this limit.

  • You can easily make characters walk to a prop, hotspot or point in the current room using the methods: walk_to_prop(), walk_to_hotspot() and walk_to_point(), which are now available for each character.

    C.Goddiu.walk_to_prop('ToyCar')
    
  • ⭐ What was that? What does C.Goddiu mean? In this update we have achieved something great: You can now access characters, inventory items, dialogs and rooms from code with autocompletion based on the existing objects in the project. This can be better explained with code:

    func on_interact() -> void:
      A.mx_kids_game.play_now(3) # Plays the mx_kids_game music with a fade of 3 seconds
    
      yield(E.run([
        C.Goddiu.walk_to_prop('ToyCar'), # Make Goddiu walk to the toy car prop
        "Player: Can I take this toy car with me?",
        C.Popsy.face_right(), # Make Popsy face right, and then left (as if shaking his head)
        '...',
        C.Popsy.face_left(),
        '...',
        "Popsy: No! It's mine",
        "Player: Pleeeease",
        C.Popsy.say('mmm... oook'), # Another way to make characters talk
        A.sfx_toy_car.play(), # Plays the sfx_toy_car sound
        I.ToyCar.add() # Add the toy car inventory item to the inventory
      ]), 'completed')
    
      # Change a property in the Outside room
      R.Outside.state.is_rainning = true
      
      # Start the dialog tree that will make Goddiu and Popsy have a branching conversation
      D.ChatWithPopsy.start()
    

    Autocompletion options for rooms (R), characters (C), inventory items (I), dialogs (D), and audio files (A) will be updated each time you create one of these objects, so you’ll be able to access them from the code right away.

  • Did you see that? Now we have a new shortcut to access rooms from code: R. This allows you to easily get props, hotspots, regions, points and walkable areas in the current room, i.e. R.get_prop('ToyCar'), R.get_hotspot('Window'), R.get_walkable_areas(), and so on.

  • You can define the player-controlled character using the context menu on each character row in the main tab. This will tell the plugin which character will be controlled by the player, and an icon will appear in front of the current PC’s row.

  • We have improved the way the state variable is defined in rooms, characters, and inventory items. This makes autocompletion work much better because it now shows the variables and methods on these files (i.e CharacterGoddiuState.gd) as you write code.

  • In the Setup popup you will now see two buttons to move all scenes and scripts of the Graphic Interface, or the Transitions scene, out of the plugin folder to the game folder. This will allow you to modify those scenes without losing your changes when updating Popochiu.

Files

popochiu-v1.9.0.zip 687 kB
Feb 18, 2023
popochiu-v1.8.7.zip 687 kB
Feb 18, 2023

Get Popochiu - Godot point n' click engine

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.