srfoster / CodeSpells-Old

Learn to Program by Crafting Your Own Magic Spells
codespells.blogspot.com
37 stars 26 forks source link

Draw outline around things you can cast current spell on. #30

Closed srfoster closed 12 years ago

srfoster commented 12 years ago

Is this even possible?

srfoster commented 12 years ago

Yes, it's possible -- through the magic of "toon shading". It works. Enchantable objects are outlined in green. Others are outlined in red (although this is mostly for debugging and probably shouldn't be in the final game).