Hello!
In my platformer game, I wish to have enemies of three or four types.
They have very much in common, but have some differencies, for instance
- different HP,
- different view distance
- different speed
- etc...
I have written the logic for one enemy of type A, if I clone the object, I have to copy all the logic of it for type B, as well as all logic of other interactions...
I suppose there should be a way to make "abstract" enemy, and somehow shift it a little. Is there any?
What are best practicies of making enemy variations?
Thank you