Click to See Complete Forum and Search --> : Download all images(in zip) for website then display them from comp =save Bandwidth


Sux0rZh@jc0rz
08-29-2003, 07:40 PM
I am making an online game using JS and alrdy have a few parts of it working but It doesn't look very good because I havent applied the images for it yet. Before I do I wanted to know how I can make it so that the user has the download the images to his computer then have it displayed while he's playing the game so that it runs faster and uses considerably less bandwidth.

It's a multiplayer text game made with JS to save even more bandwidth with some asp tied in.

I just need a sample piece of code to help me learn how to do it on the larger scale on my site.

PeOfEo
08-29-2003, 08:28 PM
You could not just download them though, you would have to get them in the temporary internet files and magically unextract them.

Sux0rZh@jc0rz
08-30-2003, 02:12 AM
<img border=0 src=file:///c:/rwk/ButVs.jpg>

that was pulled from racewarkingdoms which requires a download of graphics in order to play the game with graphics(saves bandwidth) link to RWK at bottom of page along with link to the code it was pulled from(a giant 170KB beast of code) link=JavaScript Masterpiece

PeOfEo
08-30-2003, 11:07 AM
ok, but what if someone were to move the gaphix something. People dont want to download a bunch of pics separatly to visit your site to play an online game that is made with dhtml... most people will say screw it.

Sux0rZh@jc0rz
08-30-2003, 04:30 PM
Why in the hell do you think im making it with dhtml? adambrill thought i was making it with just javascript...

Im making it using Javascript AND asp! its not gonna be some sh!tty little game where you play tictactoe.

Check out racewarkingdoms(link in my signature) It requires a download and they have over 125K active players. its Mass Multiplayer Online Role Playing Game.

PeOfEo
08-30-2003, 08:56 PM
You said you are using js to make it. DHTML & JS, they are both client side scripting. My opinion is you should make the user preload all of the images or something like that.

Sux0rZh@jc0rz
08-30-2003, 09:55 PM
Oppsy. I said using JS not made by js...i wasn't very specific. my mistake.

I'm making a game using asp and JS is being used as an interface for the game seeing as how JS is easy to control and looks nice while ASP has a lot of power behind it.

The JS part is just interface but it's nice interface full of high quality images so it sucks up bandwidth. sorry for not explaining the situation in more detail.

Nevermore
08-31-2003, 11:16 AM
First try to get the images smaller. Once you have done that it is possible to have an interactive preloader that will display a loading bar while the images load. Why not provide a smaller, very basic game for people to play while they wait, or a tutorial for them to read? Then, once they have the images cached, if they return in the near future, the images will all be stored on their computer to be used.

Justin
08-31-2003, 08:37 PM
make a description page or a trial or something so someone would know what the game is like before entering there E-Mail address