philazzi44 / DnDCS

DnD Client-Server
3 stars 1 forks source link

Sparkles Client Box #1

Closed andrewburgess closed 10 years ago

andrewburgess commented 10 years ago

Added a more efficient handler for the images, which allows live zooming and panning. Tested on my machine with a 12595x8570 image and the zooming was pretty acceptable.

Changed up how fogging works on the client side as well. Essentially I edit the image directly in memory and mess with the opacity of the pixels. I used this to get a blur effect on the edges of the fog update polygon (so that we can sort of "see into the darkness")

example

philazzi44 commented 10 years ago

Merged all of this in manually as it fit in the new model. Let me know if I missed anything.