TileMap Builder suggestions
by Vern Jensen · in Torque Game Builder · 06/15/2006 (1:25 pm) · 1 replies
It would be quite handy if the TileMap builder had these features:
1) Multiple tools, standard in any paint program. The pencil tool would do what the current tool does. But you'd also have an eraser, rectangle, line, oval, etc. tools. Most importantly: the selection tool! The selection tool would let you select tiles and drag them around.
2) Copy and paste! This would be used in combination with the selection tool above. (Select some area of tiles, copy, and paste it.)
3) Brushes are kinda interesting, but more useful would be patterns. You could define repeating patterns of tiles so that when you click to draw a tile, only a *single* tile is drawn, BUT the tile used is the "corrrect" one for that location according to that pattern. Let's say you define this 2x2 pattern:
AB
CD
Then when you click and draw, this happens:
ABABABAB
CDCDCDCD
ABABABAB
CDCDCDCD
Or if you click only cell (1,1) above, then a "D" is drawn in that location. Hope I'm making this clear. The idea is to use the modulus operator (tile row being drawn MOD # rows in pattern, and similar for column) to determine which tile from the pattern to use for that tileMap's row, col location.
But in the end, patterns are just a nice idea. MUCH more important is select and copy & paste.
-Vern
1) Multiple tools, standard in any paint program. The pencil tool would do what the current tool does. But you'd also have an eraser, rectangle, line, oval, etc. tools. Most importantly: the selection tool! The selection tool would let you select tiles and drag them around.
2) Copy and paste! This would be used in combination with the selection tool above. (Select some area of tiles, copy, and paste it.)
3) Brushes are kinda interesting, but more useful would be patterns. You could define repeating patterns of tiles so that when you click to draw a tile, only a *single* tile is drawn, BUT the tile used is the "corrrect" one for that location according to that pattern. Let's say you define this 2x2 pattern:
AB
CD
Then when you click and draw, this happens:
ABABABAB
CDCDCDCD
ABABABAB
CDCDCDCD
Or if you click only cell (1,1) above, then a "D" is drawn in that location. Hope I'm making this clear. The idea is to use the modulus operator (tile row being drawn MOD # rows in pattern, and similar for column) to determine which tile from the pattern to use for that tileMap's row, col location.
But in the end, patterns are just a nice idea. MUCH more important is select and copy & paste.
-Vern
Torque Owner Vern Jensen
-Vern