Hardness Maps

BlitzPlus Forums/BlitzPlus Programming/Hardness Maps

MadMax(Posted 2003) [#1]
Anyone uses hardness maps? It's a (hidden)graphic with different colour areas you can use to detect collisions etc.


GfK(Posted 2003) [#2]
Yes, I used them in Hole in One.

Why?


jhocking(Posted 2003) [#3]
What is a hardness map? Your description isn't very clear.


APE(Posted 2003) [#4]
Are these like you might see in Street Fighter: where in the shoryuken frame, Ryu's fist is one color, meaning that its offensive, and his exposed ribs are another color, meaning that they're succeptable to be hit? I'd always wondered if that was how it was done.


CyBeRGoth(Posted 2003) [#5]
nah its more like a gradiented image hidden from view, checking the pixel colour at an X,Y position would reveal its brightness, white = solid collision, stop and a light grey might = going up hill, slow down the players momentum, that kinda thing.


coffeedotbean(Posted 2003) [#6]
I call them "Collision Color Maps" Usualy drawn in an Image buffer then using read pixel on that buffer. Used to use them in my Alphabreed game, but I decided to create better tile based collision instead.