View Single Post
  #33  
Old 07-26-2009, 10:07 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stephen View Post
I think Chris or Tig could elaborate on it better, but we had to break our images into sections of 512x512 (or, for some reason, the image wouldn't display if it was outside of a certain area of your screen).
I don't remember exactly, but I recall the maximum file size download being a potential problem, which was why it was split up (protip: ImageMagick works wonders at chopping images).

Also, if you had like a 14x14 GMAP or something, that's a a 14336x14336 image. I can't imagine it being efficient to show an image this large.

If this was being done for a huge GMAP, you'd probably need some kind of special scripting that only shows images for visible levels, not every single level. Tig did the scripting on GK, and I don't know if he just showed all the images at once, or only showed certain ones. It was working very nicely, though.

Quote:
Originally Posted by Draenin View Post
My concern would be with blocking and non-blocking objects.
Quote:
Originally Posted by MysticX2X View Post
Probably by adding blocking tiles underneath the image while the image draws under the player.
This is what was done on GK. The image wasn't an actual NPC, it was being shown with (I think) a weapon using showimg.
__________________
Reply With Quote