Jeff, I have notes and progress on this. Give me a couple hours and I will
send something detailed.
On Mar 30, 2011 8:32 PM, "Jeff Johnson" <[email protected]> wrote:
> Hello All,
>
> I was looking into working on an online Tiles version somewhat according
to
> the ideas of henryci from his email on 2010-10-28. I've created a very
> simple Javascript page here to test out some ideas:
> http://dcssjsc.99k.org/Page1.htm
>
> All it does is parse some hard-coded JSON to display tiles in mostly the
> correct locations. The current state of that page looks vaguely like a
> starting Crawl screen. You may have to press a key or press the 'Get More
> Data' screen to have it show the graphics.
>
> To get the JSON data, I hacked up some printf's into the TileBuffer.add()
> function to get the data. My question is this: where's the right place to
> put the printf()'s to get the GUI data?
>
> I'm thinking that I'd like this online version to match the GUI of the
Tiles
> version. Henryci suggested adding the data to viewmapcc::show_map(), but
> that seems too high level and would mean recreating some of the Tiles GUI
in
> the JavaScript client. Also TileBuffer.add() seems too low level, as it
> doesn't really have enough information about where the tile should be
placed
> (e.g. which layer, region location, etc). In my sample above, I made some
> assumptions to get it to look right. I'd like to hear your suggestions as
> my head is swimming in this code and getting nowhere. :)
>
> Best Regards,
>
> Jeff
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Crawl-ref-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss

Reply via email to