Puzzles - DetectivePikaC2/Grabpack-In-Godot GitHub Wiki
Here is a detailed guide on how to implement each of the puzzles the project comes with into your game!
Power Poles
Power pillars are one of the most common puzzles in Poppy Playtime. To add them to your level, instance the "power_pole" scene.
https://github.com/user-attachments/assets/77af0d38-cb92-4d4e-8723-feacb9e18fb4
These poles will emit signals when they are powered/lose power. These signals are: pole_powered(), and pole_disabled()
https://github.com/user-attachments/assets/a9d66f78-5cfb-48cd-b8c4-080e9d4573d4
These pillars are designed to be used along-side a_Power Source_ and Power Receiver. To add a Power Source, instance the "power_source" scene.
https://github.com/user-attachments/assets/2c16adbc-c20a-4af7-a171-021dc5f70d46
Power Source's have a setting called Can Power. When enabled, the Power Source supplies power to the Grabpack when grabbed. Finally we have the Power Receiver. To add one, instance the "power_reciever" scene.
https://github.com/user-attachments/assets/a264f2dc-729e-45a4-a584-989ed7493262
The Power Receiver has a setting called Required Power Poles. Set this to the amount of Power Pole's in your puzzle. Another setting you can enable is Play Complete Sound. If enabled, the puzzle complete sound will play when the Power Receiver is powered.
https://github.com/user-attachments/assets/89c14a72-1489-4a00-8fba-8aa5564086f3
When the Power Receiver is powered while the required amount of Puzzle Pole's are also powered, the Power Receiver emits a signal. This signal is: power_recieved()
https://github.com/user-attachments/assets/960fb7a0-b0ae-4c7e-83ee-55c1ca1538e8