Very good job, Alspal, is exactly the result I expected.
As I could not solve this problem, I have everything taken from zero while trying to serve me a sprite instead of "TiledBackgroud" based on the mechanisms that you made me understand in your solution.
And joy, I got it to work perfectly.
So this morning I just post my solution (French time) and I also see that you solved the problem.
Looking your .cap, I realize that our solutions are very close even though in the end, yours is simpler, more elegant and above half as long .<img src="smileys/smiley4.gif" border="0" align="middle">
I think my solution and that of Aspal put into practice what you said, QuaziGNRLnose, and finally the difference is only the use of a sprite for my part, and "TiledBackground" for Alspal.
I looked a bit the template RTS, Newt, but it was not really what I was looking for.
Anyway, a big thank you, especially Alspal. <img src="smileys/smiley32.gif" border="0" align="middle">