How to get the player to throw an object and pick up objects throughtout its journey?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By dang_

Basically, I would like my player to be able to throw a water balloon at the enemy character but for the water balloon only to show when wanted. Also, I need help with picking up objects throughout the player journey. The game is a 2d maze RPG game. Any help and advice is welcome. If anyone has any simple code for character and enemy death that would be very helpful as I am currently unable to get my character to die. Please if there is any code that u know of that could help please send.

if the water balloon is a separate node, you can hide it with the hide() function and then show it with the show() function.

Millard | 2020-10-05 00:51

You’re asking a ton of questions at once here, it would be hard to fit everything into a single answer.

exuin | 2020-10-05 03:56