tile drawing logic, local paths