Re: [DM-dev] dungeonmaker as a web application :)
Brought to you by:
acdalton,
henningsen
From: Henningsen <al...@gl...> - 2001-08-20 23:44:25
|
>> Using Qt is OK. But I seem to remember that that big graphic took forever > to load on my browser. You'll have to keep an eye on load time;-( > >and even longer on mine ;) >the problem was that it was made of hundreds (dungeon width x dungeon height) >smaller images, so the browser had to render all of them. With the Qt code >I've got I can compile one single (however, quite large) image out of it. It >would be no big deal to offer the image in various sizes, too (Qt's image >classes have functions for resizing images). Actually, if you want a dungeon to load really fast, I think you should try a table. You'd have very few, very small graphics (say for just 2 for wall and open for starters), and the html-text for tables should load much faster than a lot of Graphics. Though I never used a 100 x 100 table in practise;-) For it to load fast you'd have to explicitly state all sizes in pixels. Peter |