World of Manger. A Problem in the Game Butterfly Kindergarten. Part 4. Drawings, and Notes

Godot Version

Godot 4.6

Question

Another problem, again in my game, which no one expected. And again I’m trying to solve it somehow, because the tutorial on creating a horror game engine seems to have changed everything again. It’s clear that my Butterfly Kindergarten game is the most challenging project in Godot, as I put in a lot of work and effort. We don’t know what will happen next time or later.

My next step in the game was to add a system of notes and memos, and at first it worked like a tutorial, but then when I wrote the Player. Head script, the game crashed. I also tried adding it to the Camera3D script, but it didn’t work. I need the notes for the Manger World, one of the significant locations in the game, where Victorian paintings of children watch you, and where we first learn about the first experiment, the Lord of the Manger, a terrifying attempt by scientists to mix an adult and a baby doll when things went wrong. The point is: I wanted to make it like in training, where the player finds different notes on the same piece of paper. These are laboratory documents about the object’s study, letters and drawings from children, and hints that create a strange and eerie atmosphere.

It seems that you can create two documents at once but with different drawings, I haven’t tried it yet, but I won’t be able to try it until I solve this problem that prevents me from interacting with them:

0:00:24:814   interact: Invalid assignment of property or key 'movable' with value of type 'bool' on a base object of type 'Node3D (head.gd)'.

An interesting fact: If you write “Camera3d” in the script, the character moves and walks forward. I thought it was impossible to remove the mode, but when I pressed “E” and turned the character slightly higher in the center of the raycast, the document disappeared. I think I need to find a way to prevent the character from moving when picking up the note and allowing it to move again when pressing “E”