How do I make throwable objects

how do i make throwable objects like shurikens on gdevelop on platformer

Create an object, pick the movement you want it to have then destroy it when it’s in collision with a wall or enemy

1 Like

ummmm yeah but how do i do that

anyone help?
(20 words)

There are event commands to create an object at a position, apply a force in a direction to that object, and destroy an object

1 Like

1 Like

U can do the fire bullet behaviour, i made a vid tutorial, but i made a few mistakes. hope this helps. :slightly_smiling_face:
Proton Drive

1 Like

So did the video help/did u watch it?

edit- coz i want to delete the vid coz its taking space in my drive.

no i didnt i used his solution but sure just send me a email im my bio of the video

1 Like

Did @ZeroX4 's soultion work?

If it did no need to watch the vid but that link was the vid, k il mail it to u.

1 Like

how do i make it so i cant use it until the weapon or boomerang until it comes back to me like a boomerang

1 Like

You toggle a boolean variable with a name like projectileThrown that is set to true when you throw it and false when it is destroyed. Check whether that variable is false when you throw a projectile.

Add condition in that event that checks if weapon/boomerang is back at you
IDK how you are doing it
But you can check living instances on scene IF you create/delete object

1 Like