crkellen / bands

A real-time online multiplayer CTF shooter game
GNU General Public License v3.0
5 stars 4 forks source link

Map only covers 1/4 of the entire map #48

Closed crkellen closed 7 years ago

crkellen commented 7 years ago

I expanded the world to be 4x it's normal size of 1600x960 (the size of the grid image). Now it is 6400x3840. I had a generation, but it was laggy and didn't work for all clients. Now the image doesn't cover all of the playable space.

Original Issue: To generate the map, I just layer the background multiple times and save it's data as an image. This is quite costly as it causes the browser to freeze while it does it. I will attempt to see if a single larger image will be a better solution.

crkellen commented 7 years ago

I'm removing this for now and changing the issue from "Map generation freezes the browser for a few seconds" to "Map only covers 1/4 of the entire map."

crkellen commented 7 years ago

Thanks to Clint Bone for the art!