If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Although no one really seemed intrested through thinking about it I finally realized the error in my ways. The i was reseting after 10 so only the first ten in the array were being put down. I commented on every part of the code and here it is:

js I already fixed it. By the way it's for creating maps from arrays for a game I'm working on :P. The working script is on :http://www.cyberpunkgame.0nyx.com/mapmaker.html
and if you're intrested in the game I'm making it's on :http://www.cyberpunkgame.0nyx.com/cyberpunk.html
not really too operational arrow keys to move space to shoot. doesn't work on mozilla sorry(I use it too).
and here's the main site for my game not very good but I just whipped it up:http://www.cyberpunkgame.0nyx.com/
js thanks again for the help on my other script it was much appreciated. I shouldn't need too much more help from you guys plus most of you don't know anything about making graphical games with javascript :P(no offense).

Also, if I may make a suggestion, you never need to use bitmaps for the web. Bitmaps are totally uncompressed, so they take a long time to load. For a low-intricacy image that won't be too messed up if a few pixels get moved around (which a block of colour certainly is!), JPEG format is probably best. If you had a very delicate image, you should use GIF or PNG. PNG is generally better, but IE/PC doesn't support transparency in PNG images. These are examples of "lossless" compression: they don't compress as small as a JPEG, but the final image isn't altered in any way.

Will not work on Mozilla sorry.

Writing a graphical game entirely in Javascript is quite a venture. Personally, I'd use Java. I did think about this a while back, but it never took off. To get decent graphics, you'd have to manipulate each pixel individually! That's a lot of code.