I'm having trouble with something: I made one bullet object that is shared between player and enemies, and proper collision is based on instance variables.
Everything is working fine, but I'm planning another enemy bullet that is destroyable by player bullets, but since it's the same object I can't figure what to do.
The best I could get was destroyable bullets that destroyed themselves while colliding with the same type.
Any ways to solve this?
Thanks in advance!