kanethemediocre / BlingHustle

Open sauce 2d space adventure
GNU General Public License v3.0
0 stars 0 forks source link

Map error on center screen mode #13

Closed kanethemediocre closed 3 years ago

kanethemediocre commented 3 years ago

The map on center screen was observed to not be following on Y axis, but apparently still on X axis. Issue repeated on refresh, ubv76

kanethemediocre commented 3 years ago

Map fixed ubv93 6/25/21. The drawmap function was being passed systems[ps].y, instead of systems[ps].ships[0].y in the main loop (index.html). Systems do have an X and Y coordinate, but for the time being they are all 0, which is why I didn't get an error message when passing systems[ps].y and why the map Y position stayed locked in the middle.