Jump to content
  • Advertisement
Sign in to follow this  
H_o_p_s

Different Heights cause problems for visibility...

This topic is 4841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Old screenshot, but you get the idea. How do you make the grass tiles not blend in on each other, but actually make it apparant that they are at different heights?

Share this post


Link to post
Share on other sites
Advertisement
The best way would be to create custom tiles to delineate the edges, perhaps as cliffs. Perhaps give the cliff rim a trimming of dirt and rock, something to make it stand out against the similar background. It would accent the cliff edge and make it easier to navigate as well.

Share this post


Link to post
Share on other sites
also, perhaps using different brightnesses of tiles,

lower ones darker, higher ones lighter,

just a thought =)

Share this post


Link to post
Share on other sites
Shadows would help a lot. If you're using opengl/directx/equiv, then you could just fake shadows by tinting the corners of a tile darker when they are adjecant to a higher tile, and slightly lighter when they are close to a lower tile. That would create contrast without looking too starnge, I think.

If you're using some kind of 2D API, it might be more difficult to create such tinting.

Share this post


Link to post
Share on other sites
I like the idea of having the different heights having different shades of the same tile. But then in my SpriteCache class I would have to have a new sprite for every map layer on the map. Now this should not be all that big of a problem... but it might.

Since I am using a 2D api I am unable to do the cool shadows etc. But I can make it so when you add a tile to the internal Sprite Cache that it really adds, say 4 of them (or the map.maxheight()) with different tints, this way I don't have to worry about rendering the tints everyframe, and I don't have to have them prerendered in my graphics directory.

Thanks!!

Share this post


Link to post
Share on other sites
I'm just wondering about having a height to a tile like you do, you meantion that there would be maybe 4 different heights to the tiles, what my question is how does your character walk along these tiles? are they limited to walk as long as its flat? do they have to jump to higher levels? or can they only move to tiles that are the same level or one different?

Anyways on Topic I would agree that having different shades based on how high the tile is would work well, then you could compare tiles on either side of the room to see what is at the same height

Share this post


Link to post
Share on other sites
Right now characters can move from any height to any height. But in the works is the stats system that will have agility as the variable to help determine the max height that a character can move over.
And also as of right now characters can only 'walk' down or right (southwest/southeast) because of some layering problems I'm working out... arg...

Share this post


Link to post
Share on other sites
I actually have done it with the box outline, but I wanted there to be more unity between the tiles. Maybe I could get there to be an outline around each layer. Excellent screenshot even though I couldn't get the applet to work...

Share this post


Link to post
Share on other sites
Quote:
Original post by H_o_p_s
I actually have done it with the box outline, but I wanted there to be more unity between the tiles. Maybe I could get there to be an outline around each layer. Excellent screenshot even though I couldn't get the applet to work...
oh, those waves, they aren't real, they're an optical illusion.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!