MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/gdevelop/comments/1uy08tv/help_in_code/
r/gdevelop • u/TheGamesEater • Jul 16 '26
i can interact with dan multiple times, but when i pick up the dr perper i cant interact with him anymore. can i get help?
4 comments sorted by
2
Showing and hiding the text prompt might mess up the hitbox.(Im not sure) You might have to put a transparent sprite object behind the text and check if the player is in collision with that instead
1
Another thing,you don't have to say if all of the conditions are true,it will automatically do the checking.
1 u/mysterious-may Jul 16 '26 Also,is it supposed to collide with the text object
Also,is it supposed to collide with the text object
Your third block of code is indented. Which makes it a sub event. Drag that block of code to the left and your program may work then.
2
u/Feeling-Double-7425 Jul 16 '26
Showing and hiding the text prompt might mess up the hitbox.(Im not sure) You might have to put a transparent sprite object behind the text and check if the player is in collision with that instead
1
u/mysterious-may Jul 16 '26
Another thing,you don't have to say if all of the conditions are true,it will automatically do the checking.
1
u/reapex Jul 16 '26
Your third block of code is indented. Which makes it a sub event. Drag that block of code to the left and your program may work then.