How do I…
Hi everyone,
I’m working on a loot drop system where treasure chests can spawn a bomb trap (as a hazard) instead of a heart or coin. The idea is that when a bomb is chosen as loot, it should appear like the chest is throwing the bomb toward the player (King). The King should be able to dodge it, or take damage if hit.
Right now, the bomb just appears and sits still or moves oddly. I’m looking for advice on making this feel more dynamic and dangerous.
What is the expected result
- The bomb trap should spawn from the center of the chest.
- It should fly or arc toward the King as if being thrown.
- The bomb should bounce or roll a little on the ground when it lands.
- If the bomb touches the King after landing, it should explode and reduce health.
- It should work correctly for multiple chest instances.
What is the actual result
- The bomb spawns from an incorrect position (not centered).
- It doesn’t move toward the player in a believable way.
- There is no arcing, bouncing, or rolling—it either stays still or slides flatly.
- The bomb sometimes doesn’t trigger damage when it should.
Related screenshots
Let me know if you need any logic details. Since I am a new user, I can only attach 1 screenshot. I’m trying to stick to GDevelop’s built-in tools (no Physics unless absolutely necessary). Any tips or sample events would be appreciated!
Thanks in advance!
Byeol