--
You received this message because you are subscribed to the Google Groups "Crafty" group.
To unsubscribe from this group and stop receiving emails from it, send an email to craftyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
mm /^( )^\ Tomáš Jurman \,(..),/ mob. 728 435 724 V~~V
Dear Christopher JohnsonDoes your TiledMapBuilder currently support isometric views?I am sorry. No.
When I create TiledMapBuilder I did not think about it.I am going to solve this problem this weekend. After that I can send you a message.Thanks for your message.Regards
Tomas
On Thu, Feb 14, 2013 at 9:54 PM, Christopher Johnson <keito...@gmail.com> wrote:
Hello, Tomáš! I've sent you an email as well, but then I stumbled upon this page and felt it might be better if it were discussed openly for those who may come after me. Does your TiledMapBuilder currently support isometric views?Thanks!
On Thursday, February 7, 2013 2:11:05 PM UTC-6, Tomáš Jurman wrote:Hi guysI release component for building tiled map.
- Source, tests, example: https://github.com/Kibo/TiledMapBuilder
- Demo
I will be grateful for comments.Tomáš
--
You received this message because you are subscribed to the Google Groups "Crafty" group.
To unsubscribe from this group and stop receiving emails from it, send an email to craftyjs+unsubscribe@googlegroups.com.
V~~V
--
You received this message because you are subscribed to a topic in the Google Groups "Crafty" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/craftyjs/63eQ0SRw40I/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to craftyjs+u...@googlegroups.com.
Nevermind, fixed.
What is the license of this, and the "Terrain_tileset.png" image?
--
You received this message because you are subscribed to a topic in the Google Groups "Crafty" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/craftyjs/63eQ0SRw40I/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to craftyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
out_tile = tiled_map.getTile( x, y, "sdf" );
if (out_tile.tile_type == 11){
return "grass"
}
var mock = {
head:"2D,Tile," + this._renderMethod + ",Tile" + layer.data[dataIndex] + "," + layer.name,
tile_id: layer.data[dataIndex]
};
var entity = Crafty.e( mockEntity.head ).attr({ x:mockEntity.x, y:mockEntity.y });
entity.tile_id = mockEntity.tile_id;
var source = TiledMapBuilder.getSource();var entities = TiledMapBuilder.getEntitiesInLayer( layerName );var tile = TiledMapBuilder.getTile( row, column, layerName );update_position: function(){
console.log("Moving player to "+this.tile.x+","+this.tile.y);
this.attr({
x:((this.tile.y - this.tile.x) * 20),
y:((this.tile.y + this.tile.x) * 10)
});
console.log("Result "+this.x+","+this.y);
}