Skip to main content
Removed the obvious. Rearranged in order of importance. Cropped image to relevant region. Replaced Java tags, to match body's generality.
Source Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

How todo I handle game elementsobjects with two depth valuesdepths?

Please see the following image:

enter image description herebottom of object under player, its top over the player

I want to be able to do what you see in the image, but inwith a single wall, that. The player should be able to walk on either side of the same object. That is, the same wall is below the hero when I go down from it, and itsit's above the hero if I come from above it. The player should be able to walk on either side of the same object.

ItsIt's like two depths in the same wall, so its not just a matter of drawing it before or after,. I could cut the object in two, but that would be the easy (and maybe computationally expensive) solution, so how do. How should I do this?

How to handle game elements with two depth values?

Please see the following image:

enter image description here

I want to be able to do what you see in the image but in a single wall, that is, the same wall is below the hero when I go down from it, and its above the hero if I come from above it. The player should be able to walk on either side of the same object.

Its like two depths in the same wall, so its not just a matter of drawing it before or after, I could cut the object in two but that would be the easy (and maybe computationally expensive) solution, so how do I do this?

How do I handle game objects with two depths?

bottom of object under player, its top over the player

I want to be able to do what you see in the image, but with a single wall. The player should be able to walk on either side of the same object. That is, the same wall is below the hero when I go down from it, and it's above the hero if I come from above it.

It's like two depths in the same wall, so its not just a matter of drawing it before or after. I could cut the object in two, but that would be the easy (and maybe computationally expensive) solution. How should I do this?

Tweeted twitter.com/#!/StackGameDev/status/353150168633323522
added 75 characters in body; edited title
Source Link
House
  • 73.5k
  • 17
  • 188
  • 276

Double Depth Game Element Texture How to handle game elements with two depth values?

Please see the following image:

http://imgur.com/ncD7O7denter image description here

I want to be able to do what you see in the image but in a single wall, that is, the same wall is below the hero when iI go down from it, and its above the hero if iI come from above it. (I hope i made it clear)The player should be able to walk on either side of the same object.

itsIts like two depths in the same wall, so its not just a matter of drawing it before or after, i COULDI could cut the object in two but that would be the easy (and maybe computationally expensive) solution so i would like to ask you more solutions, thank youso how do I do this?

Double Depth Game Element Texture

Please see the following image:

http://imgur.com/ncD7O7d

I want to be able to do what you see in the image but in a single wall, that is, the same wall is below the hero when i go down from it, and its above the hero if i come from above it (I hope i made it clear)

its like two depths in the same wall, so its not just a matter of drawing it before or after, i COULD cut the object in two but that would be the easy (and maybe computationally expensive) solution so i would like to ask you more solutions, thank you

How to handle game elements with two depth values?

Please see the following image:

enter image description here

I want to be able to do what you see in the image but in a single wall, that is, the same wall is below the hero when I go down from it, and its above the hero if I come from above it. The player should be able to walk on either side of the same object.

Its like two depths in the same wall, so its not just a matter of drawing it before or after, I could cut the object in two but that would be the easy (and maybe computationally expensive) solution, so how do I do this?

Source Link
Xkynar
  • 601
  • 5
  • 17

Double Depth Game Element Texture

Please see the following image:

http://imgur.com/ncD7O7d

I want to be able to do what you see in the image but in a single wall, that is, the same wall is below the hero when i go down from it, and its above the hero if i come from above it (I hope i made it clear)

its like two depths in the same wall, so its not just a matter of drawing it before or after, i COULD cut the object in two but that would be the easy (and maybe computationally expensive) solution so i would like to ask you more solutions, thank you