[Loom-devel] Staggered/smooth

Joakim Ziegler joakim at styx.net
Mon Jan 31 19:19:56 CET 2000


On Mon, Jan 31, 2000 at 06:11:32PM +0000, Iain wrote:
>> Probably. I'm not so sure this either is something we have to decide from the
>> start, the tiles are as far as I can see laid out more or less in the same
>> way, it's just that the shape of the map is different.

> I think it is.
> I've put new versions of the pictures up
> (http://www.abdn.ac.uk/~u07ih/staggered.png or smooth.png)
> that shows how the tiles are numbered and the algorithm to translate mouse
> x/y to grid x/y changes from what I can see.

Ah, so that's the issue. Yes, in that case, I think we do staggered. It's
easy to use staggered to simulate a smooth map shape anyway, by selectively
leaving some tiles empty along the edges of the map.

 
> I think I've got the structure of the canvas item done, or at least the
> basics. I called it LoomItemTerrain, so we can have the standard canvas
> name space like LoomItemUnit or whatever. 

Sounds great. A pet peeve, though: Would you mind terribly using identifiers
like loom_item_terrain instead? I usually balk a bit at capitals in
identifiers, and the underscores make it so much easier to read.

Unless there's some sort of Canvas Item standard to do it this way, of course.

-- 
Joakim Ziegler - styx research director - joakim at styx.net
FIX sysop - FIXmud admin - FIDEL & Conglomerate developer





More information about the Loom-devel mailing list