tommyettinger / jbump

Java port for bump.lua
Apache License 2.0
31 stars 6 forks source link

Add cell size constructor for world #7

Closed raeleus closed 4 years ago

raeleus commented 4 years ago

Strangely, the author chose not to allow users to set the cellSize of worlds. This is a tool used to tweak performance depending on the size and placement of tiles/walls/etc. This should be important to include for libGDX users who often define their positions using meters instead of pixel units. However, I haven't created a world large enough to see a difference. A stress-test needs to be conducted in the future.

tommyettinger commented 4 years ago

This seems important! Merge ahoy!