Cazka / diepAPI

An API for https://diep.io
MIT License
15 stars 8 forks source link

they removed ren_minimap_viewport from the game #64

Open Cazka opened 1 year ago

Cazka commented 1 year ago

we used the minimap viewport to find out the players fov.

Other ways to find players fov:

Cazka commented 1 year ago

I have to correct myself. fov still works. what doesn't work is getting arena size anymore.

Cazka commented 1 year ago

also getting camera position doesn't work anymore

supahero1 commented 1 year ago

The background lines' opacity decreases with increased FoV. Just check for that to get FoV in a portable manner.

Cazka commented 1 year ago

yeah, the current method uses the opacity of the lines.

Getting the camera position is currently the problem

supahero1 commented 1 year ago

Why? Can't you just get your triangle from the minimap?