Total newb working on a map building engine

Blitz3D Forums/Blitz3D Beginners Area/Total newb working on a map building engine

Puki and Wurst,

I set the program to loop so it draws row one of the images to the screen, then moves to row 2 when that row is full, then row 3... until the whole screen is mostly full. That is why it keeps counting up numbers with the x,y coordinates and resets them. I thought that when it reached the furthest position on the screen this would let the program know to switch to the next row. Since my pictures are 64x64 I'm adding 64 to the coordinates each pass until it reaches the highest number that will fit at the resolution I'm using. (Or so I thought) Does this make sense? I'm certainly willing to try a better method if anyone has one.


Should I have done something differently? Or did I do something wrong there and that's what's confusing you? Like I said, this is for a turn based RPG which has to draw a map of the game world. Later, I want to make it bigger than the view screen so I can scroll around like you would do in a regular strategy game.


EDIT
It seems like you're not sure what it is I'm trying to do. I am trying to fill the screen with a complete map composed of smaller images, then make the program pause so I can see the map and insure it did what I wanted. If I hit enter, I want it to start over again so I can see what sort of maps come up the second time without having to restart the program from scratch. From there, I want to fine tune the program to make intelligent decisions about where to place the terrain blocks instead of making them completely random. This is how older turn-based RPG/Strategy games used to do. Hope this clarifies things.

As to the comments being useless, they are useful to me at this point. They were simply copied alongside the actual code and reinforce what I am learning in my own head. Guess I assumed everyone would know what I meant to do from when I spoke of "Map Creation", but I shouldn't have done that. Like I said, this is literally day #1 for me. :-)


IsaacJ