Inf-Devs / procyon_skies

A game server, just like one of the .io games. Enjoy blasting each other.
1 stars 1 forks source link

Clearer boundry for edge of map #5

Open laifrank2002 opened 5 years ago

laifrank2002 commented 5 years ago

Hard to tell where the edge is, easy to slam into it

Clocks-in-a-Cooler commented 5 years ago

This would be in the camera. Somehow, it'd be able to know where the edge of the map is.

I hope that torus wrapping would get rid of this issue entirely. If not, we'll find another way.

laifrank2002 commented 5 years ago

Wait, but how the hell does the minimap work then with edges? Otherwise that should work.

Clocks-in-a-Cooler commented 5 years ago

The size of the map is hard-coded into the minimap, so it knows how to scale down the entire thing to fit in a 125-by-125 pixel box.