(03-12-2010, 01:44 AM)ClashPDG Wrote: how do I differentiate between a collideable object and scenery ( a simple Boolean )?
Well, I'm working on a map editor for Fate's Mirror in C#, and I use an enumerator. Say you want to make a one-way platform, a simple bool wouldn't cut it. So you could do something like this:
Code:
public enum TileCollisions
{
NonSolid,
Solid,
OneWay,
(whatever else you might need, like water you can swim in, springboards, spikes...)
}
e: Though Kaikimi also has a map editor in the works, so he probably has something to say, too.