Bullets & Flare have stopped colliding and dealing damage

Hi all,

First post on here. I’m working on a few different games to get used to GDevelop, and so far been going pretty well. However… I had an enemy that would shoot bullets at the character, when they hit is would cause minor damage and cause screenshake, everything worked as planned.

I have added similair system for player shooting flares back at same enemies, however now they pass straight through enemies, and the bullets that would hit before now pass through the player and I can’t seem to figure out why? anyone able to help please.

maybe it’s because they’re too far away?

The bullets and flare are still firing, just not registering when in contact, so pass over eachother dealing no damage and no screenshake. I increased the range just to double check and still nothing sadly.

Try adding, “trigger once” under them.

The collision between player_flare and the enemy only gets checked if player1 is within distance of the enemy. Once the distance becomes greater, it won’t get checked. You should move the collision detection between player_flare and the enemy so it’s not a subevent, but in line with the distance check event.


And what will that do? Please don’t suggest adding trigger once if you don’t know what the issue is. It’s not the silver bullet answer.

I guess I didn’t get it then.

1 Like

Thank you,

This has fixed things completely. I must have moved it for some reason (Probably so it’s easier to read for me) as had enemy bullets working before. All working again now. Thanks both for your help

2 Likes