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.
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.
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.
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