Top down view 2D enemies

Hey guys, I’m trying to optimize my game by using 2d enemies for my top-down game.
What I’m talking about is, how to make the enemies move on the plane without the camera ever seeing the sides of the enemy, only the top.

A good example is the game called Defense Zone 2 HD for Android.
I have no idea how the enemies are made in that game…
It’s like somehow the enemies are only planes with textures, but the sides cannot be seen ever…
Anyone has any idea or can send me on the right track?

You could use perspektive and normal 3d models and use a very low FOV for it.

The better option which also saves performance will be to use sprites (animated textures on a plane mesh for example) and set the camera to 90 degree and to orthographic. Pretty simple :wink:

If you only need a fixed view of the enemy then why don’t you use just 2D sprites?
About the game mentioned I’m not sure they’re 3D, they look exactly as an alpha textured plane

If I use textures on a plane, when the enemy is on the far left of the screen, it would look distorted I think

That’s why you set the camera to orthographic. there’s no perspektive/distortion then.

If your camera is orthographic, they will always face forward.

However, if you want to keep a perspective camera for whatever reason, you can use what’s called Sprite Billboarding. Essentially, you just point the sprite at the camera, at the time. That way, you’ll always only see the top.

damn, Orthographic really works :eyes:
I feel very dumb now… making a game all the way until is almost finished for release, and not knowing this :(((
Thanks a lot guys :slight_smile: