Original Post
Ok well im trying to create a tile map and im following this step by step process which i find VERY useful, ne way, i drew the picture, then i drew it for the top line...but i cant figure out how to get it to draw for the whole applet. Like the way i have it now it goes and then stops when it reaches the end. But thats it, i dont know how make it go to the next line and so on. heres what i have import java.awt.*; import javax.swing.*; import java.applet.*; public class Mymap extends Applet { int x = 15; int y = 5; Image pic = Toolkit.getDefaultToolkit().getImage("Game.GIF"); Image pic1 = Toolkit.getDefaultToolkit().getImage("Game1.GIF"); public void init() { } public void paint(Graphics g) { for(int x = 15;x < 300; x=x+15) { if(pic != null) { g.drawImage(pic,x,y,this); } } } }