Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sallan

Does the DOOM Sprites have X axis?

Recommended Posts

I was thinking some minutes ago about this, in our real world all type of things have ZXY axis, it's illogical to not have one, but when it comes to a game? i belive "Universal Laws" like these stay present.

But i already see before a sprite in a perfect left and right position, and they are invisible because of being 2D, like a paper, i get very confused.

Share this post


Link to post
MetroidJunkie said:

Technically, isn't it a Z axis they lack since they're 2D images? Up/down would be Y and left/right would be X.


The monsters are in a 3D space, XY are in horizontal position, so if something needs to have height obviously need to have Z.

Share this post


Link to post
MetroidJunkie said:

I was referring to the dimensions of the sprites themselves, though, not the world space they reside in.


Yes, in an image editor, just XY will be used, but if so rendered in DOOM? The extra axis can not be ignored, if the monsters use XY instead of ZY, what about the walls? Are 2D as well?

Share this post


Link to post

The sprites in Doom are just 2D flat images placed in the center of invisible 3D hitboxes, essentially.

Example:



While we don't see the green box in the game, it represents what we can shoot/collide with. The sprites are 2D images are placed in the center of the hitbox.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×