1 decade ago by KenD
I'm currently using check() in my enemy entities to handle damaging/killing my player entity. I now have a need to check the axis, so I'm planning on putting that logic in collideWith() but was wondering what most people used, or if it's simply dependent on the game type?
My player moves forward at a constant rate, but can move up and down and I've been asked to make obstacle collisions that occur on the y axis to not kill the player (it's a kids' game - it's supposed to be easy :) )
My player moves forward at a constant rate, but can move up and down and I've been asked to make obstacle collisions that occur on the y axis to not kill the player (it's a kids' game - it's supposed to be easy :) )