phoboslab / Impact

HTML5 Game Engine
MIT License
1.99k stars 204 forks source link

EditMap.linkWithCollision currently assumes same tilesize #81

Open Joncom opened 4 years ago

Joncom commented 4 years ago

I suppose it would be nice if the "link with collision layer" feature supported non-matching tilesizes. For example, the main layer could be tilesize=16, and the collision map could be tilesize=8, and there would need to be some logic then that would fill 4 collision tiles for each main layer tile. Currently in this case it would just draw 1 relatively small tile.