melonjs / melonJS

a fresh, modern & lightweight HTML5 game engine
https://melonjs.org
MIT License
5.93k stars 643 forks source link

[Feature request] Support Tiled infinite maps #1122

Closed obiot closed 1 year ago

obiot commented 2 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Infinite maps give you independence from bounds of the map. The canvas is “auto-growing”, which basically means, that you have an infinite grid which can be painted upon without worrying about the width and height of the map. The bounds of a particular layer get expanded whenever tiles are painted outside the current bounds.

Describe alternatives you've considered n/a

Additional context https://doc.mapeditor.org/en/stable/manual/using-infinite-maps/