name tiles "roomname n" e.g. Bedroom 1 for easier searching
This commit is contained in:
parent
60f83416a7
commit
d18cec5c13
|
@ -521,13 +521,15 @@ $(document).ready(function() {
|
|||
var newTiles = _.filter(bitsyData.tiles, 'new');
|
||||
var tileText = "";
|
||||
|
||||
_.each(newTiles, function(tile) {
|
||||
_.each(newTiles, function(tile, n) {
|
||||
tileText += "TIL " + tile.name + "\n"; //again, rename tile name to id...
|
||||
|
||||
_.each(tile.bitmap, function(row) {
|
||||
tileText += row.join('') + "\n";
|
||||
});
|
||||
|
||||
tileText += "NAME " + newRoomName + " " + (n + 1) + "\n";
|
||||
|
||||
// don't need to worry about animation right now
|
||||
|
||||
tileText += "\n";
|
||||
|
|
|
@ -82,5 +82,4 @@ if (src.match(/^(file|https)?:\/\/|^\/\//)) {
|
|||
* allow user to zoom out so the image is letterboxed/windowboxed/etc.
|
||||
* break up rendering into separate preview and output modes (would be good to have a throttled preview for brightness slider adjustments and then a debounced tile render)
|
||||
* add 'invert' function
|
||||
* allow for image colour hack
|
||||
* set tile names to "room-name x y" or similar (thanks, Von Bednar)
|
||||
* allow for image colour hack
|
Loading…
Reference in New Issue