Search found 2 matches

by COMRADECHOnKy
Thu Jul 04, 2024 5:51 pm
Forum: Support and Development
Topic: How to detect collisions for something that has multiple instances?
Replies: 3
Views: 1386

Re: How to detect collisions for something that has multiple instances?

You need to compare each bullet instance with another object (enemy/player). Make a table of bullets fired and their positions, compare with a player. You might hit a block here with bullets being faster than your detection, but search the forum it has been discussed. wow man, thank you so much. Th...
by COMRADECHOnKy
Thu Jul 04, 2024 6:12 am
Forum: Support and Development
Topic: How to detect collisions for something that has multiple instances?
Replies: 3
Views: 1386

How to detect collisions for something that has multiple instances?

Hello. I have been making a simple shooter game where the player has a gun and there are enemies. But I have run into a problem, I have made the collision system for the player and enemy just fine and the enemy damages the player and it dies when it collides with the player and I want to do the same...