I decided that this should go here instead, since well, it is code... that I can share, yet its partially wrong. I compiled and ran this with Java6, and it runs much better using Java6. I'm a rookie. Yet the scrolling visiblity controls has serious issue right now, it only works beyond a certain point. The visiblity controls used to work perfectly before, but it was using a loop that took longer, and now I am using a faster loop but it doesnt really work, so more of the map ends up getting rendered. I (mainly) posted this code in this section to get some help
This program generates (stupid) random maps without corner overlay blending tiles. Yet the point of this program is to render a scrollable tile map, with visibility controls and have it be able to scale to any window resolution (works)(usually).
+ Renders a tile map based on 2D array algorithms
+ Grid on/off
+ Coord labels on/off
+ Transparent interface
+ 10 Sample Maps
+ Tile visibility controls (only tiles visible on screen are rendered) (works with any window size as well)
+ Edge of map scroll stops
+ Completely scalable interface
+ Works with any window size (within means)
+ Works with any tile texture size
+ Sync’ed scrolling based on fps
+ Only scans tiles on-screen and not entire map
+ I think it uses OpenGL pipelines...(high fps)
+ Slow, slow transparency performance. - FIXED (OpenGL pipelines)
+ If openGL pipeline enabled, transparent image distortion.
+ Slow drawRect and drawString performance (Grid/coord)
+ arrayOutofBounds error if screen window goes off tiles(critical!)
+ occasional slow, 1 pixel move near corner scroll
+ Other things here and there
Download link, look to right and click Download, and then you click the link at the bottom, (sorry if this is a bad way to upload).
New version here, not perfect, yet it runs really fast, and i fixed previous bugs, but im going to work on a hex-type maps now:http://storeandserve.com/download/707657/WorldGenerator2.0.rar.html